
/* Harvest Theme - Warm fall foliage colors */
.theme-harvest {
    --primary-color: #8B4513;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 20%, #FF8C00 40%, #FFA500 60%, #FFD700 80%, #FFFACD 100%) !important;
    color: #3E2723 !important;
    min-height: 100vh !important;
    position: relative;
}

/* Apply background to body when theme is active */
body.theme-harvest {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 20%, #FF8C00 40%, #FFA500 60%, #FFD700 80%, #FFFACD 100%) !important;
    color: #3E2723 !important;
    min-height: 100vh !important;
    position: relative;
}

/* Force page background to show gradient - mobile fix */
.theme-harvest,
.theme-harvest body,
.theme-harvest html,
html.theme-harvest,
body.theme-harvest main {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 20%, #FF8C00 40%, #FFA500 60%, #FFD700 80%, #FFFACD 100%) !important;
    background-attachment: fixed !important;
}

/* Additional mobile-specific fixes */
@media (max-width: 768px) {
    .theme-harvest,
    body.theme-harvest,
    html.theme-harvest {
        background: linear-gradient(135deg, #8B4513 0%, #D2691E 20%, #FF8C00 40%, #FFA500 60%, #FFD700 80%, #FFFACD 100%) !important;
        background-attachment: scroll !important; /* Fixed doesn't work well on some mobile browsers */
        background-size: cover !important;
    }
}

/* Removed color wave overlay for better readability */

/* Floating autumn leaves effect */
.theme-harvest::after {
    content: '🍂';
    position: fixed;
    top: -100px;
    left: 10%;
    font-size: 40px;
    pointer-events: none;
    z-index: -10;
    opacity: 0.4;
    animation: fallLeaf1 25s linear infinite;
}

@keyframes fallLeaf1 {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(100vh) translateX(200px) rotate(360deg);
        opacity: 0;
    }
}

/* Additional floating leaves using container pseudo-element */
.theme-harvest .container::after {
    content: '🍁';
    position: fixed;
    top: -100px;
    right: 20%;
    font-size: 35px;
    pointer-events: none;
    z-index: -10;
    opacity: 0.3;
    animation: fallLeaf2 20s linear infinite 5s;
}

@keyframes fallLeaf2 {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.4;
    }
    85% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(100vh) translateX(-150px) rotate(-360deg);
        opacity: 0;
    }
}

/* Ensure containers have transparent backgrounds */
.theme-harvest .container,
.theme-harvest .container-narrow,
.theme-harvest main,
.theme-harvest .py-2,
.theme-harvest .py-md-5,
.theme-harvest .py-4 {
    background: transparent !important;
}

.theme-harvest .card {
    background: rgba(255, 248, 220, 0.95) !important;
    border: 3px solid #D2691E !important;
    box-shadow: 0 12px 30px rgba(139, 69, 19, 0.25), 0 6px 20px rgba(210, 105, 30, 0.2) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(12px);
    position: relative;
}

/* Autumn border shimmer */
.theme-harvest .card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #8B4513, #D2691E, #FF8C00, #D2691E, #8B4513);
    border-radius: 23px;
    z-index: -1;
    opacity: 0.6;
    animation: autumnShimmer 5s ease-in-out infinite;
}

@keyframes autumnShimmer {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.theme-harvest .card-body {
    background: transparent !important;
}

/* Form inputs with autumn styling */
.theme-harvest .form-control,
.theme-harvest .form-select,
.theme-harvest textarea {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 2px solid #D2691E !important;
    color: #2D1810 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3), inset 0 1px 3px rgba(139, 69, 19, 0.05) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

/* Smaller font size for date/time inputs to prevent overflow */
.theme-harvest .date-row-input,
.theme-harvest .time-row-input,
.theme-harvest .timezone-row-select,
.theme-harvest .duration-row-select,
.theme-harvest input[type="date"],
.theme-harvest input[type="time"],
.theme-harvest #futurePeriodType,
.theme-harvest #hideOptionLeadHoursContainer {
    font-size: 14px !important;
}

/* Compact inline selects need a smaller border-radius to avoid clipping text/arrow */
.theme-harvest #futurePeriodType,
.theme-harvest #hideOptionLeadHoursContainer {
    border-radius: 6px !important;
}

.theme-harvest .form-control:focus,
.theme-harvest .form-select:focus,
.theme-harvest textarea:focus {
    border-color: #FF8C00 !important;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.5), inset 0 1px 3px rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 1) !important;
    color: #2D1810 !important;
    transform: translateY(-1px);
}

.theme-harvest .form-label,
.theme-harvest .card-title,
.theme-harvest h1,
.theme-harvest h2,
.theme-harvest h3,
.theme-harvest h4,
.theme-harvest h5,
.theme-harvest h6 {
    color: #8B4513 !important;
    font-weight: 700 !important;
    text-shadow: 1px 1px 3px rgba(210, 105, 30, 0.3);
}

/* Autumn text colors */
.theme-harvest p,
.theme-harvest .card-text,
.theme-harvest .ql-editor {
    color: #3E2723 !important;
    font-weight: 500 !important;
}

.theme-harvest .btn-primary,
.theme-harvest button[type="submit"] {
    background: linear-gradient(45deg, #D2691E, #FF8C00, #FFA500) !important;
    border: 2px solid #8B4513 !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3), 0 3px 12px rgba(210, 105, 30, 0.2) !important;
    border-radius: 15px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    min-height: 48px !important;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.theme-harvest .btn-primary::before,
.theme-harvest button[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.6s ease;
}

.theme-harvest .btn-primary:hover::before,
.theme-harvest button[type="submit"]:hover::before {
    left: 100%;
}

.theme-harvest .btn-primary:hover,
.theme-harvest button[type="submit"]:hover,
.theme-harvest #submitBtn:hover {
    background: linear-gradient(45deg, #FF8C00, #FFA500, #FFD700) !important;
    border-color: #D2691E !important;
    box-shadow: 0 8px 25px rgba(210, 105, 30, 0.4), 0 4px 15px rgba(255, 140, 0, 0.3) !important;
    transform: translateY(-2px) scale(1.02);
    color: #FFFFFF !important;
}

.theme-harvest .btn-primary:active,
.theme-harvest .btn-primary:focus,
.theme-harvest button[type="submit"]:active,
.theme-harvest button[type="submit"]:focus,
.theme-harvest #submitBtn:active,
.theme-harvest #submitBtn:focus {
    background: linear-gradient(45deg, #D2691E, #FF8C00, #FFA500) !important;
    border-color: #8B4513 !important;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4), 0 3px 12px rgba(210, 105, 30, 0.3) !important;
    transform: translateY(-1px) scale(1.01);
    color: #FFFFFF !important;
}

.theme-harvest .list-group-item {
    background: rgba(255, 248, 220, 0.9) !important;
    border: 2px solid #D2691E !important;
    color: #3E2723 !important;
    margin-bottom: 10px !important;
    border-radius: 15px !important;
    font-weight: 500 !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.15) !important;
    transition: all 0.3s ease !important;
}

.theme-harvest .list-group-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #8B4513, #D2691E, #FF8C00);
}

.theme-harvest .list-group-item:hover {
    background: rgba(255, 228, 181, 0.95) !important;
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.3), 0 0 10px rgba(255, 140, 0, 0.2) !important;
    transform: translateY(-2px);
    border-color: #FF8C00 !important;
}

.theme-harvest .form-check-input {
    background: rgba(255, 248, 220, 0.95) !important;
    border: 2px solid #D2691E !important;
    width: 18px !important;
    height: 18px !important;
    transition: all 0.3s ease !important;
}

/* Checkboxes stay square */
.theme-harvest .form-check-input[type="checkbox"] {
    border-radius: 6px !important;
}

/* Radio buttons are circular */
.theme-harvest .form-check-input[type="radio"] {
    border-radius: 50% !important;
}

.theme-harvest .form-check-input:checked {
    background: #FF8C00 !important;
    border-color: #FF8C00 !important;
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.5) !important;
}

.theme-harvest .form-check-label {
    color: #3E2723 !important;
    font-weight: 500 !important;
}

.theme-harvest .form-switch .form-check-input {
    background-color: transparent !important;
    border: 2px solid #8B4513 !important;
    background-image: none !important;
    border-radius: 2em !important;
    width: 2em !important;
    height: 1em !important;
}

.theme-harvest .form-switch .form-check-input:checked {
    background-color: #8B4513 !important;
    border-color: #8B4513 !important;
    background-image: none !important;
    box-shadow: 0 0 12px rgba(139, 69, 19, 0.5) !important;
}

.theme-harvest .text-muted {
    color: #6D4C41 !important;
    font-weight: 500 !important;
}

.theme-harvest .alert {
    background: rgba(255, 248, 220, 0.95) !important;
    border: 2px solid #D2691E !important;
    color: #3E2723 !important;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.2) !important;
    border-radius: 15px !important;
}

/* Button variants */
.theme-harvest .btn-secondary {
    background: linear-gradient(45deg, #A0826D, #8B7355) !important;
    border: 2px solid #654321 !important;
    color: #FFFEF0 !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(101, 67, 33, 0.3) !important;
    border-radius: 15px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.theme-harvest .btn-secondary:hover,
.theme-harvest .btn-secondary:active,
.theme-harvest .btn-secondary:focus {
    background: linear-gradient(45deg, #8B7355, #A0826D) !important;
    border-color: #8B4513 !important;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4) !important;
    transform: translateY(-2px) scale(1.02);
    color: #FFFEF0 !important;
}

.theme-harvest .btn-outline-primary {
    color: #8B4513 !important;
    background-color: rgba(255, 248, 220, 0.95) !important;
    border-color: #8B4513 !important;
    border-width: 2px !important;
    border-radius: 15px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.2) !important;
}

.theme-harvest .btn-outline-primary:hover {
    background: #8B4513 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4) !important;
    transform: translateY(-1px);
}

/* Active/Checked state for button toggle groups */
.theme-harvest .btn-check:checked + .btn-outline-primary,
.theme-harvest .btn-outline-primary:active,
.theme-harvest .btn-outline-primary.active {
    background: linear-gradient(135deg, #8B4513, #A0522D) !important;
    border-color: #8B4513 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.5), inset 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    font-weight: 700 !important;
    transform: translateY(0);
}

/* Icons inside active/checked buttons should be white */
.theme-harvest .btn-check:checked + .btn-outline-primary .bi,
.theme-harvest .btn-outline-primary:active .bi,
.theme-harvest .btn-outline-primary.active .bi {
    color: #ffffff !important;
}

.theme-harvest .btn-outline-secondary {
    color: #8B4513 !important;
    background-color: rgba(255, 248, 220, 0.95) !important;
    border-color: #8B4513 !important;
    border-width: 2px !important;
    border-radius: 15px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.2) !important;
}

.theme-harvest .btn-outline-secondary:hover {
    background: #8B4513 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4) !important;
    transform: translateY(-1px);
}

/* Form sections */
.theme-harvest .form-section-respondent,
.theme-harvest .form-section-main-options,
.theme-harvest .form-section-additional {
    border-color: #D2691E !important;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2) !important;
    border-radius: 20px !important;
}

.theme-harvest .form-section-header {
    background: linear-gradient(45deg, rgba(255, 248, 220, 0.95), rgba(255, 228, 181, 0.95)) !important;
    color: #3E2723 !important;
    border-bottom: 1px solid #D2691E !important;
    border-radius: 18px 18px 0 0 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    padding: 1rem !important;
}

.theme-harvest .form-section-header .header-title {
    color: #8B4513 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

.theme-harvest .form-section-header .header-subtitle {
    color: #6D4C41 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
}

/* Required asterisk */
.theme-harvest .required-asterisk {
    color: #D84315 !important;
    font-weight: bold !important;
}

/* Placeholder text */
.theme-harvest ::placeholder {
    color: #8D6E63 !important;
    opacity: 0.6 !important;
}

.theme-harvest .form-control::placeholder,
.theme-harvest textarea::placeholder {
    color: #8D6E63 !important;
    opacity: 0.6 !important;
}

/* Ensure all input types have bright white backgrounds */
.theme-harvest input[type="text"],
.theme-harvest input[type="email"],
.theme-harvest input[type="number"],
.theme-harvest .option-input {
    background: rgba(255, 255, 255, 0.98) !important;
    color: #2D1810 !important;
}

/* Fix dark gray text for better visibility */
.theme-harvest [style*="color: #495057"],
.theme-harvest [style*="color:#495057"] {
    color: #3E2723 !important;
}

.theme-harvest .bi[style*="color: #495057"],
.theme-harvest .bi[style*="color:#495057"] {
    color: #D2691E !important;
}

/* Icon styling */
.theme-harvest .bi-people-fill[style*="color: #495057"],
.theme-harvest .bi-people-fill[style*="color:#495057"],
.theme-harvest i.bi-people-fill[style*="color: #495057"],
.theme-harvest i.bi-people-fill[style*="color:#495057"] {
    color: #D2691E !important;
}

.theme-harvest .max-signups-icon {
    color: #D2691E !important;
}

/* Help question icons */
.theme-harvest .bi-question-circle,
.theme-harvest .bi-question-circle-fill {
    color: #8B4513 !important;
}

/* Calendar and event icons - override var(--primary-color) */
.theme-harvest .bi-calendar-event-fill[style*="color: var(--primary-color)"],
.theme-harvest .bi-calendar-event-fill,
.theme-harvest .bi-clock-fill[style*="color: var(--primary-color)"],
.theme-harvest .bi-clock-fill,
.theme-harvest .bi-geo-alt-fill[style*="color: var(--primary-color)"],
.theme-harvest .bi-geo-alt-fill {
    color: #3E2723 !important;
}

/* Link icons should always be blue */
.theme-harvest .bi-link-45deg[style*="color: var(--primary-color)"],
.theme-harvest .bi-link-45deg {
    color: #0d6efd !important;
}

/* Header and Footer Styling for Fall Theme */
.theme-harvest .navbar {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #8B4513 100%) !important;
    border-bottom: 3px solid #FF8C00 !important;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3) !important;
}

.theme-harvest .navbar-brand {
    color: #FFF8DC !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3) !important;
    font-weight: 700 !important;
}

.theme-harvest .navbar-brand:hover {
    color: #FFF8DC !important;
}

.theme-harvest .brand-text-primary {
    color: #FFF8DC !important;
}

.theme-harvest .brand-text-white {
    color: #FFD700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6) !important;
}

.theme-harvest .navbar-toggler {
    border-color: #FF8C00 !important;
    background: rgba(255, 140, 0, 0.1) !important;
}

.theme-harvest .navbar-toggler:focus {
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.4) !important;
}

.theme-harvest .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 215, 0, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.theme-harvest .nav-auth-icon {
    color: rgba(255, 215, 0, 0.9) !important;
}

.theme-harvest .offcanvas {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #8B4513 100%) !important;
    border-left: 3px solid #FF8C00 !important;
    box-shadow: -4px 0 15px rgba(139, 69, 19, 0.3) !important;
}

.theme-harvest .offcanvas-header {
    border-bottom: 2px solid #D2691E !important;
}

.theme-harvest .btn-close {
    filter: none !important;
    color: #FFF8DC !important;
    opacity: 0.8 !important;
}

.theme-harvest .btn-close:hover {
    opacity: 1 !important;
}

.theme-harvest .mobile-nav-section .btn {
    background: linear-gradient(45deg, #D2691E, #FF8C00, #FFA500) !important;
    border: 2px solid #8B4513 !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3) !important;
}

.theme-harvest .mobile-nav-section .btn:hover {
    background: linear-gradient(45deg, #FF8C00, #FFA500, #FFD700) !important;
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.4) !important;
    transform: translateY(-1px) !important;
}

.theme-harvest .mobile-nav-header {
    color: #FFD700 !important;
    font-weight: 700 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.theme-harvest .mobile-nav-item {
    color: #FFF8DC !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.theme-harvest .mobile-nav-item:hover {
    color: #FFD700 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6) !important;
}

.theme-harvest .mobile-nav-item i {
    color: #FFD700 !important;
}

.theme-harvest .footer {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #8B4513 100%) !important;
    border-top: 3px solid #FF8C00 !important;
    box-shadow: 0 -4px 15px rgba(139, 69, 19, 0.3) !important;
}

.theme-harvest .footer p {
    color: #FFF8DC !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
    font-weight: 600 !important;
}

.theme-harvest .footer a {
    color: #FFD700 !important;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.4) !important;
    font-weight: 600 !important;
}

.theme-harvest .footer a:hover {
    color: #FFA500 !important;
    text-shadow: 0 0 8px rgba(255, 165, 0, 0.6) !important;
}

/* Footer check-circle icon - use bright gold for visibility */
.theme-harvest .footer .bi-check-circle {
    color: #FFD700 !important;
}

/* Additional questions styling */
.theme-harvest .additional-question-section .card,
.theme-harvest .additional-question-item {
    background: rgba(255, 248, 220, 0.95) !important;
    border: 2px solid #D2691E !important;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.2) !important;
    color: #3E2723 !important;
    border-radius: 20px !important;
}

.theme-harvest .additional-question-section .card-body {
    background: transparent !important;
    color: #3E2723 !important;
}

.theme-harvest .additional-question-section .form-label {
    color: #8B4513 !important;
    font-weight: 600 !important;
}

.theme-harvest .additional-question-section .additional-question-header h6,
.theme-harvest .additional-question-section .additional-question-title {
    color: #8B4513 !important;
    font-weight: 600 !important;
}

.theme-harvest .additional-question-section .additional-question-body .form-label,
.theme-harvest .additional-question-section .additional-question-body .fw-semibold {
    color: #8B4513 !important;
    font-weight: 600 !important;
}

.theme-harvest .additional-question-section .additional-question-body .form-check-label {
    color: #3E2723 !important;
    font-weight: 500 !important;
}

/* Fix vertical alignment of larger radio/checkbox inputs everywhere (excludes toggle switches) */
.theme-harvest .form-check:not(.form-switch) {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.theme-harvest .form-check:not(.form-switch) .form-check-input {
    margin-top: 0 !important;
    flex-shrink: 0 !important;
}

.theme-harvest .form-check:not(.form-switch) .form-check-label {
    margin-bottom: 0 !important;
}
/* Preserve inline-block display when Bootstrap d-inline-block is used (e.g. Silent Save checkbox) */
.theme-harvest .form-check.d-inline-block:not(.form-switch) {
    display: inline-flex !important;
}

/* Option items styling */
.theme-harvest .option-item {
    background: rgba(255, 248, 220, 0.9) !important;
    border: 2px solid #D2691E !important;
    box-shadow: 0 3px 12px rgba(139, 69, 19, 0.15) !important;
    border-radius: 15px !important;
    transition: all 0.3s ease !important;
}

.theme-harvest .option-item:hover {
    box-shadow: 0 5px 18px rgba(210, 105, 30, 0.3) !important;
    transform: translateY(-1px);
    border-color: #FF8C00 !important;
}

/* Quill editor styling */
.theme-harvest .ql-toolbar.ql-snow {
    background: rgba(255, 248, 220, 0.95) !important;
    border-color: #D2691E !important;
    border-radius: 12px 12px 0 0 !important;
}

.theme-harvest .ql-container.ql-snow {
    background: rgba(255, 248, 220, 0.95) !important;
    border-color: #D2691E !important;
    color: #3E2723 !important;
    border-radius: 0 0 12px 12px !important;
}

.theme-harvest .ql-editor {
    color: #3E2723 !important;
    font-weight: 400 !important;
}

/* Modal styling for Fall theme */
.theme-harvest .modal-backdrop {
    display: none !important;
}

.theme-harvest .modal-content {
    background: rgba(255, 248, 220, 0.98) !important;
    border: 2px solid #D2691E !important;
    box-shadow: 0 0 25px rgba(139, 69, 19, 0.4) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(12px);
}

.theme-harvest .modal-header {
    background: rgba(210, 105, 30, 0.1) !important;
    border-bottom: 1px solid #D2691E !important;
    color: #8B4513 !important;
    border-radius: 18px 18px 0 0 !important;
}

.theme-harvest .modal-title {
    color: #8B4513 !important;
    font-weight: 600 !important;
}

.theme-harvest .modal-body {
    background: transparent !important;
    color: #3E2723 !important;
}

.theme-harvest .modal-footer {
    background: rgba(210, 105, 30, 0.05) !important;
    border-top: 1px solid #D2691E !important;
    border-radius: 0 0 18px 18px !important;
}

.theme-harvest .modal .btn-secondary {
    background: rgba(139, 69, 19, 0.9) !important;
    border: 2px solid #8B4513 !important;
    color: #FFF8DC !important;
    font-weight: 600 !important;
}

.theme-harvest .modal .btn-secondary:hover {
    background: rgba(210, 105, 30, 0.9) !important;
    border-color: #D2691E !important;
    color: #ffffff !important;
    box-shadow: 0 3px 12px rgba(139, 69, 19, 0.3) !important;
}

/* Animations for fall effects */
.theme-harvest .btn,
.theme-harvest .form-control,
.theme-harvest .list-group-item {
    transition: all 0.3s ease !important;
}

.theme-harvest .card {
    animation: autumnGlow 6s ease-in-out infinite alternate;
}

@keyframes autumnGlowCard {
    from {
        box-shadow: 0 12px 30px rgba(139, 69, 19, 0.25), 0 6px 20px rgba(210, 105, 30, 0.2);
    }
    to {
        box-shadow: 0 15px 35px rgba(139, 69, 19, 0.3), 0 8px 25px rgba(210, 105, 30, 0.25);
    }
}

/* Fall button glow effect */
.theme-harvest .btn-primary {
    animation: fallGlow 4s ease-in-out infinite;
}

@keyframes fallGlow {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3), 0 3px 12px rgba(210, 105, 30, 0.2);
    }
    50% {
        box-shadow: 0 8px 25px rgba(139, 69, 19, 0.4), 0 4px 15px rgba(210, 105, 30, 0.3);
    }
}


/* ---- Highlighted Options ---- */
.theme-harvest .list-group-item.option-highlighted {
    border: 4px solid #FFB000 !important;
    box-shadow: 0 4px 16px rgba(255, 176, 0, 0.4), 0 2px 8px rgba(139, 69, 19, 0.15) !important;
}

.theme-harvest .list-group-item.option-highlighted:hover {
    border-color: #E6A000 !important;
    box-shadow: 0 6px 20px rgba(255, 176, 0, 0.5), 0 3px 10px rgba(139, 69, 19, 0.2) !important;
}

/* Taken/Disabled option styling - "Show taken options" feature */
.theme-harvest .list-group-item input:disabled + label {
    color: #8b4513 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    text-decoration: line-through !important;
}

.theme-harvest .list-group-item input:disabled ~ small {
    color: #d2691e !important;
    font-weight: 600 !important;
}

.theme-harvest .list-group-item:has(input:disabled) {
    background: rgba(255, 140, 0, 0.2) !important;
    border-color: rgba(139, 69, 19, 0.4) !important;
    opacity: 0.75 !important;
}

.theme-harvest .list-group-item:has(input:disabled):hover {
    background: rgba(255, 140, 0, 0.2) !important;
    border-color: rgba(139, 69, 19, 0.4) !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.2) !important;
}

.theme-harvest .list-group-item:has(input:disabled)::before {
    background: linear-gradient(to bottom, rgba(255, 140, 0, 0.4), rgba(139, 69, 19, 0.4)) !important;
}
