/**
 * Plant Manager Frontend Styles
 * Styles for plant detail pages, navigation, and shortcodes
 */

/* Plant Navigation */
.plant-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.plant-navigation .button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #4CAF50;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.plant-navigation .button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.plant-navigation .button:active {
    transform: translateY(0);
}

.plant-navigation .plant-nav-prev {
    margin-right: auto;
}

.plant-navigation .plant-nav-next {
    margin-left: auto;
}

/* Single navigation button (when only one exists) */
.plant-navigation .button:only-child {
    margin: 0 auto;
}

/* Plant Detail Fields */
.plant-field {
    margin: 10px 0;
}

.plant-field.plant-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.plant-field.plant-botanical-name {
    font-style: italic;
    color: #666;
}

.plant-field.plant-zone a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}

.plant-field.plant-zone a:hover {
    text-decoration: underline;
}

/* Plant Gallery (from shortcode) */
.plant-detail-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .plant-navigation {
        flex-direction: column;
        padding: 15px;
    }

    .plant-navigation .plant-nav-prev,
    .plant-navigation .plant-nav-next {
        width: 100%;
        justify-content: center;
        margin: 0 !important;
    }

    .plant-navigation .button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Print styles */
@media print {
    .plant-navigation {
        display: none;
    }
}
