/* ==========================================================================
   SECTION 1: Typography (from concept-5-moon-phases.css)
   ========================================================================== */

h1, h2, h3,
.product-title,
.category-title,
.page-title,
.card-title {
    font-family: 'Cinzel', serif !important;
    letter-spacing: 0.5px;
}

/* Site name in header - keep clean sans-serif for brand consistency */
#headerContainer .site-name {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    letter-spacing: 0.5px;
}

/* Heading sizes - optimized for Cinzel */
h1, .h1 {
    font-size: 2.7rem !important; /* Even larger for impact */
    margin-bottom: 1.5rem;
}

h2, .h2 {
    font-size: 2.3rem !important;
    margin-bottom: 1.25rem;
}

h3, .h3 {
    font-size: 2rem !important;
    margin-bottom: 1rem;
}

h4, .h4 {
    font-family: 'Cinzel', serif !important;
    font-size: 1.625rem !important;
    letter-spacing: 0.5px;
}

h5, .h5 {
    font-size: 1.375rem !important;
}

h6, .h6 {
    font-size: 1.25rem !important;
}

/* Crimson Text: Subtle mystical touch for body text */
body,
p,
.card-text,
.product-description,
.article-content,
li:not(.nav-item):not(.list-group-item) {
    font-family: 'Crimson Text', serif !important;
    font-size: 1.3rem !important; /* 19px - Even larger for comfortable reading */
    line-height: 1.7; /* Better readability */
}

/* Base body font size */
body {
    font-size: 1.3rem !important; /* 19px base */
}

/* Paragraph spacing for better readability */
p {
    margin-bottom: 1.25rem;
}

/* Keep UI elements clean with sans-serif */
.btn,
.nav-link,
.navbar,
.list-group-item,
.form-control,
input,
select,
textarea,
.badge,
.alert {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Menu items - comfortable reading size */
.list-group-item {
    font-size: 1.125rem !important; /* 18px - Comfortable for reading */
}

/* Navigation links - readable size */
.nav-link {
    font-size: 1.0625rem !important;
}

/* Buttons - clear and readable */
.btn {
    font-size: 1.125rem !important;
    padding: 0.5rem 1.25rem !important;
}

/* Site tagline - elegant italic */
#headerContainer .site-tagline {
    font-family: 'Crimson Text', serif !important;
    font-style: italic !important;
}

/* Price text - keep clean for readability */
.price,
.product-price,
.cart-total,
.order-total {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 1.375rem !important; /* 22px - Prices should be prominent */
    font-weight: 600 !important;
}

/* Card titles - mystical but readable */
.card-title {
    font-size: 1.625rem !important;
    margin-bottom: 0.75rem !important;
}

/* Product and category titles */
.product-title,
.category-title {
    font-size: 1.875rem !important;
    margin-bottom: 1rem !important;
}


/* ==========================================================================
   SECTION 2: Semantic Classes
   ========================================================================== */

/**
 * Semantic CSS Classes
 * Replaces inline styles in Twig templates
 * Created: 2025-10-13
 * Purpose: Enable theming system by removing all inline styles
 */

/* ==========================================================================
   Layout & Spacing
   ========================================================================== */





.content-padding {
    padding: 10px;
}

.padding-14 {
    padding: 14px;
}

.padding-25 {
    padding: 2.5rem;
}

.padding-lr-50 {
    padding-left: 50px;
    padding-right: 50px;
}

.padding-15 {
    padding: 15px;
}

.padding-top-5 {
    padding-top: 5px;
}

.padding-bottom-20 {
    padding-bottom: 20px;
}

.vertical-spacer-25 {
    margin-top: 25px;
}

.vertical-spacer-30 {
    height: 30px;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-25 {
    margin-top: 25px;
}

.margin-bottom-0 {
    margin-bottom: 0;
}

.margin-bottom-40 {
    margin-bottom: 40px;
}

.margin-40-0 {
    margin: 40px 0;
}

.margin-bottom-15 {
    margin-bottom: 15px;
}

.margin-left-8 {
    margin-left: 8px;
}

.margin-left-20 {
    margin-left: 20px;
}

.padding-0 {
    padding: 0;
}

.min-width-120 {
    min-width: 120px;
}

.max-width-400 {
    max-width: 400px;
}

.max-width-95vw {
    max-width: 95vw;
    margin: 1.75rem auto;
}

/* ==========================================================================
   Images & Media
   ========================================================================== */

.img-placeholder-sm {
    width: 100px;
    height: 100px;
}

.img-placeholder-md {
    width: 200px;
    height: 200px;
}

.img-placeholder-lg {
    width: 400px;
    height: 400px;
}

.img-height-120 {
    height: 120px;
    object-fit: cover;
}

.img-height-180 {
    height: 180px;
    object-fit: cover;
}

.img-height-150 {
    height: 150px;
    object-fit: cover;
}

.img-height-200 {
    height: 200px;
    object-fit: cover;
}

.img-featured-article {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

.img-height-250 {
    height: 250px;
    overflow: hidden;
    background-color: #f8f9fa;
    cursor: pointer;
    position: relative;
}

.img-height-400 {
    height: 400px;
}

.img-container-120 {
    height: 120px;
}

.img-container-180 {
    height: 180px;
}

.img-container-200 {
    height: 200px;
}

.img-fit-cover {
    object-fit: cover;
}

.img-fit-contain {
    object-fit: contain;
}

.avatar-sm {
    width: 40px;
    height: 40px;
}

.avatar-md {
    width: 50px;
    height: 50px;
}

.avatar-md-cover {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.avatar-lg {
    width: 100px;
    height: 100px;
}

.width-100-percent {
    width: 100%;
}

.padding-30 {
    padding: 30px;
}

.padding-top-70 {
    padding-top: 70px;
}

.padding-10 {
    padding: 10px;
}

.padding-14 {
    padding: 14px;
}

/* ==========================================================================
   Messages & Replies
   ========================================================================== */

.reply-message-indent {
    margin-left: 20px;
    border-left: 3px solid #007bff;
    padding-left: 15px;
    margin-bottom: 20px;
}

/* ==========================================================================
   Store Product Cards
   ========================================================================== */

.store-quantity-input {
    width: 100px;
}

.store-badge-info {
    font-size: 1em;
}

/* ==========================================================================
   Member Pictures/Videos Styles
   ========================================================================== */

.member-card-rounded {
    border-radius: 15px;
    overflow: hidden;
}

.member-card-header-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 1.5rem 2rem;
}

.member-card-body-padded {
    padding: 2.5rem;
}

.member-upload-icon {
    font-size: 4rem;
    color: #667eea;
    opacity: 0.8;
}

.member-upload-text {
    font-size: 1.1rem;
}

.member-upload-badge {
    font-size: 0.95rem;
    font-weight: 500;
}

.member-upload-note {
    font-size: 0.9rem;
}

.member-alert-info {
    background: #f0f4ff;
    border-radius: 10px;
}

.member-label-icon {
    font-size: 1rem;
}

.member-icon-color {
    color: #667eea;
}

.member-input-rounded {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.875rem 1.25rem;
}

.member-textarea-rounded {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.875rem 1.25rem;
    resize: none;
}

.member-btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.member-card-text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ==========================================================================
   Modal Styles (Image Lightbox)
   ========================================================================== */

.modal-dark-content {
    background: #000;
}

.modal-dark-header {
    background: rgba(0,0,0,0.8);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
}

.modal-image-body {
    position: relative;
    min-height: 400px;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1051;
    opacity: 0.8;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.modal-nav-prev {
    left: 20px;
}

.modal-nav-next {
    right: 20px;
}

.modal-image-full {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.modal-image-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.modal-dark-footer {
    background: rgba(0,0,0,0.8);
    justify-content: space-between;
}

/* ==========================================================================
   Text & Typography
   ========================================================================== */

.text-overflow-hidden {
    max-height: 100px;
    overflow: hidden;
}

.text-white-space-pre {
    white-space: pre-wrap;
}

.text-color-white {
    color: #fff;
}

.text-color-gray {
    color: #888;
}

.text-font-size-1rem {
    font-size: 1rem;
}

.text-font-size-4rem {
    font-size: 4rem;
}

/* ==========================================================================
   Progress & Status Indicators
   ========================================================================== */

.progress-bar-height {
    height: 3px;
}

.progress-bar-height-25 {
    height: 25px;
}

.status-indicator {
    top: 20px;
}

.upload-progress-hidden {
    display: none;
}

/* ==========================================================================
   Video Player Styles
   ========================================================================== */

.video-modal-dialog-wide {
    max-width: 95vw;
    margin: 1rem;
}

.video-modal-body-dark {
    background: #000;
}

.video-modal-footer-light {
    background: #fff;
}

.video-container-16-9 {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-player-absolute {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-unmute-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    display: none;
    z-index: 10;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-max-width-400 {
    max-width: 400px;
}

/* ==========================================================================
   Checkout & Invoices
   ========================================================================== */

.checkout-step-circle {
    width: 40px;
    height: 40px;
}

.checkout-summary-sticky {
    top: 20px;
}

.checkout-product-thumb {
    width: 50px;
    height: 50px;
}

.invoice-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.invoice-total-row {
    font-size: 1.2rem;
    font-weight: bold;
}

/* ==========================================================================
   Verification Pages
   ========================================================================== */

.verification-icon {
    font-size: 4rem;
    color: #0d6efd;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.rounded-15 {
    border-radius: 15px;
}

.rounded-10 {
    border-radius: 10px;
}

.rounded-20 {
    border-radius: 20px;
}

.border-0 {
    border: none;
}

.overflow-hidden {
    overflow: hidden;
}

.cursor-pointer {
    cursor: pointer;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

/* ==========================================================================
   Footer Styles - Match Navbar Dark Theme in BOTH Modes
   ========================================================================== */

/* Footer always matches navbar (dark background, light text) */
footer {
    margin-top: 3rem;
    padding: 2rem 0;
    background-color: #171e2a !important;
    color: #ffffff !important;
    border-top: 1px solid #404040 !important;
}

.footer-text {
    padding: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85) !important;
}

.footer-text:last-child {
    margin-bottom: 0;
}

/* Footer strong tags - always light blue to stand out on dark background */
footer strong {
    color: #6ea8fe !important;
    font-weight: 600;
}

/* Footer em tags */
footer em {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Dark Mode Toggle Button in Footer - Light styling since footer is dark */
#color-mode-toggle-footer {
    transition: all 0.3s ease;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: rgba(255, 255, 255, 0.75) !important;
}

#color-mode-toggle-footer:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Performance Metrics (Development Only)
   ========================================================================== */

.perf-metrics-container {
    position: fixed;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #0f0;
    padding: 10px 15px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    border-top-left-radius: 5px;
    z-index: 9999;
    max-width: 400px;
}

.perf-metrics-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #0f0;
}

.perf-metrics-row {
    color: #fff;
}

.perf-metrics-gray {
    color: #888;
}

/* ==========================================================================
   Pagination & Page Navigation
   ========================================================================== */

.page-link-active-green {
    background-color: #6B8E23;
    border-color: #6B8E23;
}

.bg-light-gray {
    background-color: #f8f9fa;
}

.bg-white {
    background-color: #ffffff;
}

.hr-thick-gray {
    border-top: 2px solid #ddd;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.font-size-1-2rem {
    font-size: 1.2rem;
}

.font-weight-600 {
    font-weight: 600;
}

.panel-title-faq {
    font-size: 1.2rem;
    font-weight: 600;
}

.icon-4rem {
    font-size: 4rem;
}

.text-success-green {
    color: #28a745;
}

.text-danger-red {
    color: #dc3545;
}

.text-primary-blue {
    color: #0d6efd;
}

/* ==========================================================================
   Checkout & Progress Indicators
   ========================================================================== */

.progress-thin {
    height: 3px;
}

.progress-width-66 {
    width: 66%;
}

.sticky-offset-20 {
    top: 20px;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 767px) {
    .padding-lr-50 {
        padding-left: 20px;
        padding-right: 20px;
    }

    .member-card-body-padded {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   Full-Width Layout Overrides
   ========================================================================== */

/* Override legacy Bootstrap 3 margins/padding for full-width layout */
body {
    margin: 0 !important;
    padding: 0 !important;
}

.container-fluid {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.contentContainer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 20px !important;
}

/* Ensure rows don't add negative margins */
.row.g-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ==========================================================================
   Header Text Styling - White Text Towards Bottom
   ========================================================================== */

/* Position text towards the bottom of header */
.siteNameContainer {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 10px !important;
    padding-bottom: 30px !important;
    height: 200px;
}

/* On mobile, keep the same approach */
@media (max-width: 767px) {
    .siteNameContainer {
        height: 200px;
        padding-top: 10px !important;
        padding-bottom: 25px !important;
    }
}

/* All header text should be white */
#site,
#site a,
#slogan,
.call {
    color: #ffffff !important;
}

/* Site name styling */
#site {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Slogan styling */
#slogan {
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0.25rem !important;
}

/* Links white with underline on hover */
#site a {
    text-decoration: none;
}

#site a:hover {
    text-decoration: underline;
    color: #ffffff !important;
}

/* Phone number styled as link - large and prominent */
.call {
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 1.4rem !important;
    font-weight: 500;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 0.25rem !important;
    line-height: 1.2 !important;
}

.call:hover {
    text-decoration: underline;
    color: #ffffff !important;
}

/* Mobile - slightly smaller but still prominent */
@media (max-width: 767px) {
    .call {
        font-size: 1.2rem !important;
    }

    #site {
        font-size: 1.3rem !important;
    }

    #slogan {
        font-size: 1rem !important;
    }
}


/* ==========================================================================
   SECTION 3: Navigation Styles
   ========================================================================== */

/**
 * Universal Navigation Styling - All Themes/Concepts
 * Created: 2025-10-21
 * Purpose: Standard navigation across all header concepts
 *
 * UI/UX Expert Guidelines Applied:
 * - Compact top navigation (smaller toggle = shorter bar)
 * - Mobile: 44px minimum touch targets (Apple/Google standard)
 * - Generous spacing for comfortable navigation
 * - Left-aligned menu items (easier to scan than centered)
 * - Visual separation between items
 */

/* ==========================================================================
   TOP NAVIGATION - COMPACT & UNIVERSAL
   ========================================================================== */

/* Reduce overall navbar height */
.navbar {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.navbar-nav .nav-link {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* ==========================================================================
   DARK/LIGHT MODE TOGGLE - SMALLER & MORE COMPACT
   ========================================================================== */

/* Desktop - Compact toggle */
#color-mode-toggle {
    font-size: 1.1rem !important; /* Smaller than default */
    padding: 0.4rem 0.6rem !important;
    margin-right: 0.5rem !important;
    border-radius: 0.375rem !important;
}

#color-mode-toggle i {
    font-size: inherit !important;
}

/* Footer toggle - consistent sizing */
#color-mode-toggle-footer {
    font-size: 1.1rem !important;
    padding: 0.4rem 0.6rem !important;
}

/* ==========================================================================
   MOBILE NAVIGATION - UI/UX OPTIMIZED
   Best practices: 44px touch targets, generous spacing, easy scanning
   ========================================================================== */

@media (max-width: 991.98px) {
    /* Mobile Menu Container - Better spacing */
    .navbar-collapse {
        margin-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    /* Mobile Menu Items - Generous Touch Targets */
    .navbar-nav .nav-link {
        padding: 0.875rem 1.25rem !important; /* 44px min height for touch */
        margin-bottom: 0.25rem !important;
        font-size: 1rem !important;
        border-radius: 0.375rem;
        transition: all 0.2s ease;
    }

    /* Mobile Menu Items - Visual Separation */
    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    /* Mobile - Dark Mode Toggle at Bottom */
    .navbar-nav .nav-item:has(#color-mode-toggle) {
        margin-top: 1rem !important;
        padding-top: 1rem !important;
        border-top: 2px solid rgba(255, 255, 255, 0.2) !important;
        border-bottom: none !important;
    }

    /* Mobile Toggle - Full Width Button */
    #color-mode-toggle {
        width: 100%;
        text-align: left;
        padding: 0.875rem 1.25rem !important;
        font-size: 1rem !important;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    #color-mode-toggle i {
        font-size: 1.2rem !important;
    }

    /* Mobile - Hover States (better visual feedback) */
    .navbar-dark .navbar-nav .nav-link:hover,
    .navbar-dark .navbar-nav .nav-link:focus {
        background-color: rgba(255, 255, 255, 0.1) !important;
    }

    /* Mobile - Active States */
    .navbar-dark .navbar-nav .nav-link.active {
        background-color: rgba(255, 255, 255, 0.15) !important;
        font-weight: 600;
    }
}

/* ==========================================================================
   TABLET NAVIGATION (768px - 991px)
   ========================================================================== */

@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }

    #color-mode-toggle {
        font-size: 1rem !important;
        padding: 0.5rem 0.75rem !important;
    }
}

/* ==========================================================================
   DESKTOP NAVIGATION (992px+)
   ========================================================================== */

@media (min-width: 992px) {
    /* Horizontal menu - compact spacing */
    .navbar-nav .nav-link {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    /* Desktop toggle - minimal */
    #color-mode-toggle {
        font-size: 1.1rem !important;
        padding: 0.4rem 0.6rem !important;
    }
}

/* ==========================================================================
   HAMBURGER MENU BUTTON - Better Visibility
   ========================================================================== */

.navbar-toggler {
    padding: 0.5rem 0.75rem !important;
    font-size: 1.1rem !important;
    border-width: 2px !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25) !important;
}

/* ==========================================================================
   ACCESSIBILITY - Focus States
   ========================================================================== */

.navbar-nav .nav-link:focus-visible,
#color-mode-toggle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5) !important;
    outline-offset: 2px;
}

/* ==========================================================================
   LIGHT MODE SPECIFIC TWEAKS
   ========================================================================== */

/* Light mode navigation (if used in other concepts) */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.navbar-light .navbar-nav .nav-link.active {
    background-color: rgba(0, 0, 0, 0.1) !important;
    font-weight: 600;
}

/* ==========================================================================
   MOBILE MENU ICONS - Better Alignment
   ========================================================================== */

@media (max-width: 991.98px) {
    .navbar-nav .nav-link i {
        margin-right: 0.75rem;
        width: 1.25rem;
        text-align: center;
    }
}


/* ==========================================================================
   SECTION 4: UI Universal
   ========================================================================== */

/**
 * UI Universal Styling
 * Generic UI/UX improvements that benefit ALL header concepts
 * Loaded after navigation-universal.css, before concept-specific CSS
 * Created: 2025-10-21
 */

/* ==========================================================================
   SEARCH FORM - Professional Styling
   ========================================================================== */

/* Search input - better sizing and spacing */
input[type="search"],
.form-control.search-input {
    min-height: 44px; /* Touch-friendly */
    padding: 0.625rem 1rem !important;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

input[type="search"]:focus,
.form-control.search-input:focus {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Search button - professional styling (theme-neutral) */
.btn.search-button,
button[type="submit"]:has(+ input[type="search"]),
form:has(input[type="search"]) .btn,
input[type="search"] + .btn {
    min-height: 44px;
    padding: 0.625rem 1.5rem !important;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

/* Dark mode search button */
[data-bs-theme="dark"] .btn.search-button,
[data-bs-theme="dark"] button[type="submit"],
[data-bs-theme="dark"] form .btn {
    background-color: #495057 !important;
    border-color: #495057 !important;
    color: #ffffff !important;
}

/* Dark mode search button - continuous outline with input */
[data-bs-theme="dark"] .input-group .btn {
    border-top: 1px solid #ffffff !important;
    border-right: 1px solid #ffffff !important;
    border-bottom: 1px solid #ffffff !important;
    border-left: none !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Ensure input field has no right border and rounded corners are removed on right side */
[data-bs-theme="dark"] .input-group .form-control {
    border-right: none !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

[data-bs-theme="dark"] .btn.search-button:hover,
[data-bs-theme="dark"] button[type="submit"]:hover,
[data-bs-theme="dark"] form .btn:hover {
    background-color: #5a6268 !important;
    border-color: #5a6268 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Light mode search button */
[data-bs-theme="light"] .btn.search-button,
[data-bs-theme="light"] button[type="submit"],
[data-bs-theme="light"] form .btn {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .btn.search-button:hover,
[data-bs-theme="light"] button[type="submit"]:hover,
[data-bs-theme="light"] form .btn:hover {
    background-color: #5a6268 !important;
    border-color: #5a6268 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   SIDEBAR - Better Typography and Spacing
   ========================================================================== */

/* Main Menu heading - professional styling */
.menu-title,
h5.menu-title,
.sidebar h5,
aside h5 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem !important;
    padding-bottom: 0.5rem;
}

[data-bs-theme="dark"] .menu-title,
[data-bs-theme="dark"] h5.menu-title,
[data-bs-theme="dark"] .sidebar h5,
[data-bs-theme="dark"] aside h5 {
    color: #e9ecef !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .menu-title,
[data-bs-theme="light"] h5.menu-title,
[data-bs-theme="light"] .sidebar h5,
[data-bs-theme="light"] aside h5 {
    color: #495057 !important;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

/* Sidebar menu items - slightly more vertical padding */
.list-group-item {
    padding: 0.875rem 1.25rem !important;
    transition: all 0.2s ease;
}

/* ==========================================================================
   CARDS - Enhanced Styling
   ========================================================================== */

/* Card hover effects - all themes */
.card {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

/* No shifty hover effect - keep cards stable */

/* Card titles - better spacing */
.card-header {
    padding: 1rem 1.25rem !important;
    border-radius: 0.5rem 0.5rem 0 0 !important;
}

.card-body {
    padding: 1.25rem !important;
}

/* ==========================================================================
   BUTTONS - Consistent Sizing and Spacing
   ========================================================================== */

/* All buttons - comfortable sizing */
.btn {
    min-height: 44px;
    padding: 0.625rem 1.5rem !important;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-lg {
    min-height: 52px;
    padding: 0.875rem 2rem !important;
    font-size: 1.125rem !important;
}

.btn-sm {
    min-height: 36px;
    padding: 0.5rem 1rem !important;
    font-size: 0.9375rem !important;
}

/* ==========================================================================
   FORMS - Professional Polish
   ========================================================================== */

/* Form controls - better sizing */
.form-control,
.form-select {
    min-height: 44px;
    padding: 0.625rem 1rem !important;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    transform: translateY(-1px);
}

/* Form labels - better readability */
.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* ==========================================================================
   TABLES - Better Spacing
   ========================================================================== */

/* Table cells - more breathing room */
.table td,
.table th {
    padding: 0.875rem 1rem !important;
}

.table thead th {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   BADGES - Professional Sizing
   ========================================================================== */

.badge {
    padding: 0.5rem 0.875rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    border-radius: 0.375rem;
}

/* ==========================================================================
   ALERTS - Better Visual Hierarchy
   ========================================================================== */

.alert {
    padding: 1rem 1.25rem !important;
    border-radius: 0.5rem;
    border-width: 2px;
}

.alert-heading {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   BREADCRUMBS - Enhanced Styling
   ========================================================================== */

/* Remove space between header and breadcrumbs */
.contentContainer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Breadcrumb container - clean and minimal with spacing below */
nav[aria-label="breadcrumb"] {
    background: transparent;
    margin-top: -6px;
    margin-left: -5px;
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

/* Breadcrumb styling - modern and clean */
.breadcrumb {
    background: transparent;
    padding: 0.5rem 0 !important;
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Breadcrumb items */
.breadcrumb-item {
    font-weight: 500;
}

/* Breadcrumb links - improved hover states */
.breadcrumb-item a {
    color: var(--bs-link-color);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.breadcrumb-item a:hover {
    color: var(--bs-link-hover-color);
    background: rgba(0, 0, 0, 0.05);
}

[data-bs-theme="dark"] .breadcrumb-item a:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Home icon in breadcrumbs - slightly larger */
.breadcrumb-item i.fa-home {
    font-size: 1rem;
    margin-right: 0.25rem;
}

/* Active breadcrumb - subtle emphasis */
.breadcrumb-item.active {
    font-weight: 600;
    color: var(--bs-body-color);
}

/* Breadcrumb divider - better visual separator */
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-secondary-color);
    font-weight: 400;
}

/* ==========================================================================
   RESPONSIVE - Mobile Optimizations
   ========================================================================== */

@media (max-width: 767.98px) {
    /* Larger touch targets on mobile */
    .btn {
        min-height: 48px;
        padding: 0.75rem 1.5rem !important;
    }

    .form-control,
    .form-select {
        min-height: 48px;
        padding: 0.75rem 1rem !important;
        font-size: 1rem; /* Prevent zoom on iOS */
    }

    /* Search form on mobile */
    input[type="search"] {
        min-height: 48px;
        font-size: 1rem;
    }
}


/* ==========================================================================
   SECTION 5: Page-Specific Styles
   ========================================================================== */

/**
 * Page-Specific Styles
 * Extracted from Twig templates on 2025-10-14
 * Total files with embedded styles: 32
 * Total style blocks: 33
 */

/* ========================================================================
   From: testimonials/show.html.twig
   ======================================================================== */
.card.border-success {
    background-color: #1a2515;
    border-color: #5a7a3c !important;
}

.card.border-success .card-body {
    background-color: #3c593c;
    color: #cbd5db;
}

.card-header.bg-success {
    background-color: #3a5a25 !important;
    border-color: #5a7a3c !important;
}

.testimonial-content {
    font-size: 1.1em;
    line-height: 1.8;
    padding: 2rem;
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    border-radius: 0.375rem;
    margin: 2rem 0;
}

.testimonial-content blockquote {
    font-style: italic;
    border-left: 3px solid #dee2e6;
    padding-left: 1rem;
    margin: 1rem 0;
}

/* ========================================================================
   From: my-clients/show.html.twig
   ======================================================================== */

.client-content {
    font-size: 1.1em;
    line-height: 1.8;
    padding: 2rem;
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    border-radius: 0.375rem;
    margin: 2rem 0;
}

.testimonial-content blockquote {
    font-style: italic;
    border-left: 3px solid #dee2e6;
    padding-left: 1rem;
    margin: 1rem 0;
}

/* ========================================================================
   From: store/cart.html.twig
   ======================================================================== */

.cart-item-row {
        border-bottom: 1px solid #dee2e6;
        padding: 15px 0;
    }
    .cart-item-image {
        max-width: 100px;
        height: auto;
    }
    .quantity-input {
        width: 80px;
        text-align: center;
    }
    .cart-summary {
        background-color: #f8f9fa;
        padding: 20px;
        border-radius: 5px;
    }
    .remove-item-btn {
        cursor: pointer;
        color: #dc3545;
    }
    .remove-item-btn:hover {
        color: #a71d2a;
    }

/* ========================================================================
   From: store/product.html.twig
   ======================================================================== */

.product-image-gallery img {
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color 0.2s;
    }
    .product-image-gallery img:hover,
    .product-image-gallery img.active {
        border-color: #007bff;
    }
    .main-product-image {
        max-height: 500px;
        object-fit: contain;
    }
    .stock-badge {
        font-size: 1.1em;
        padding: 8px 16px;
    }

/* ========================================================================
   From: store/index.html.twig
   ======================================================================== */

/* Masonry Grid Layout for Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card-wrapper {
    break-inside: avoid;
    margin-bottom: 0;
}

.product-card-wrapper .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.125);
}

.product-card-wrapper .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

.product-image {
    height: 250px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.product-image:hover {
    opacity: 0.9;
}

.product-image-placeholder {
    height: 250px;
}

/* Category Grid Layout */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-card-wrapper {
    break-inside: avoid;
    margin-bottom: 0;
}

.category-card-wrapper .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.125);
}

.category-card-wrapper .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
}

.category-image {
    height: 180px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.category-image:hover {
    opacity: 0.9;
}

.category-image-placeholder {
    height: 180px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-grid,
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .product-image,
    .product-image-placeholder {
        height: 200px;
    }

    .category-image,
    .category-image-placeholder {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .product-grid,
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ========================================================================
   From: members/pictures.html.twig
   ======================================================================== */

/* Upload Form Styles */
.drop-zone {
    border: 3px dashed #cbd5e0;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drop-zone:hover {
    border-color: #667eea;
    background: linear-gradient(to bottom, #eef2ff 0%, #f5f3ff 100%);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12);
    transform: translateY(-2px);
}

.drop-zone.drag-over {
    border-color: #667eea;
    border-width: 4px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ede9fe 100%);
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.25);
}

/* Preview Grid */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.preview-item {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.preview-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.preview-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    background: #dc3545;
    border: 2px solid white;
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.9;
}

.preview-item .remove-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.preview-item .filename {
    padding: 8px;
    font-size: 0.75rem;
    color: #6c757d;
    background: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Submit Button */
#uploadForm button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4) !important;
}

#uploadForm button[type="submit"]:active {
    transform: translateY(-1px);
}

/* Image Gallery Styles */
.image-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.card-img-top-wrapper:hover .image-overlay {
    opacity: 1;
}

.modal-nav-btn:hover {
    opacity: 1 !important;
    transform: translateY(-50%) scale(1.1);
}

/* Hide navigation arrows on mobile */
@media (max-width: 768px) {
    .modal-nav-btn {
        display: none !important;
    }
}

#modalImage {
    cursor: grab;
    user-select: none;
}

#modalImage:active {
    cursor: grabbing;
}

/* ========================================================================
   From: members/reset-password.html.twig
   ======================================================================== */

.reset-password-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .reset-password-card {
        background: white;
        border: none;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        padding: 40px;
    }

    .reset-password-icon {
        text-align: center;
        margin-bottom: 25px;
    }

    .reset-password-icon i {
        font-size: 4rem;
    }

    .reset-password-icon i.success {
        color: #5cb85c;
    }

    .reset-password-icon i.error {
        color: #d9534f;
    }

    .reset-password-icon i.key {
        color: #5cb85c;
    }

    .reset-password-card h1 {
        text-align: center;
        font-size: 1.8rem;
        font-weight: 600;
        margin-bottom: 20px;
        color: #333;
    }

    .reset-password-card .lead-text {
        text-align: center;
        color: #666;
        margin-bottom: 25px;
    }

    .form-control-lg {
        height: 46px;
        font-size: 16px;
    }

    .btn-block {
        width: 100%;
    }

    .password-strength {
        height: 5px;
        margin-top: 8px;
        border-radius: 3px;
        transition: all 0.3s;
        background-color: #e9ecef;
    }

    .password-strength.weak {
        background-color: #d9534f;
        width: 33%;
    }

    .password-strength.medium {
        background-color: #f0ad4e;
        width: 66%;
    }

    .password-strength.strong {
        background-color: #5cb85c;
        width: 100%;
    }

    .breadcrumb {
        background-color: transparent;
        padding: 8px 0;
        margin-bottom: 20px;
    }

    .breadcrumb > li + li:before {
        content: ">\00a0";
    }

    .info-box {
        background-color: #d9edf7;
        border: 1px solid #bce8f1;
        color: #31708f;
        padding: 15px;
        border-radius: 4px;
        margin-bottom: 20px;
    }

    .info-box ul {
        margin-bottom: 0;
        margin-top: 10px;
        padding-left: 20px;
    }

    .info-box ul li {
        margin-bottom: 5px;
    }

/* ========================================================================
   From: members/verify.html.twig
   ======================================================================== */

.verification-code-input {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        text-align: center;
        margin: 0 5px;
        border: 2px solid #dee2e6;
        border-radius: 8px;
    }
    .verification-code-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }
    .verification-code-input.is-invalid {
        border-color: #dc3545;
    }
    .resend-timer {
        color: #6c757d;
        font-size: 0.875rem;
    }
    .resend-link {
        cursor: pointer;
        color: #0d6efd;
        text-decoration: underline;
    }
    .resend-link:hover {
        color: #0a58ca;
    }
    .resend-link.disabled {
        color: #6c757d;
        cursor: not-allowed;
        text-decoration: none;
    }

/* ========================================================================
   From: members/appointments/book.html.twig
   ======================================================================== */

.step-indicator {
    padding: 20px;
}
.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
.step-indicator.active .step-number {
    background-color: #007bff;
    color: white;
}
.step-indicator.completed .step-number {
    background-color: #28a745;
    color: white;
}
.step-title {
    font-weight: 500;
    color: #6c757d;
}
.step-indicator.active .step-title {
    color: #007bff;
    font-weight: bold;
}
.appointment-type-card {
    border: 2px solid #e9ecef;
    transition: all 0.3s;
}
.appointment-type-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0,123,255,0.1);
}

/* ========================================================================
   From: members/appointments/reschedule.html.twig
   ======================================================================== */

.step-indicator {
    position: relative;
    padding: 10px 0;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
    font-weight: bold;
}

.step-indicator.active .step-number {
    background-color: #007bff;
    color: white;
}

.step-indicator.completed .step-number {
    background-color: #28a745;
    color: white;
}

.step-title {
    font-weight: 600;
    color: #6c757d;
}

.step-indicator.active .step-title {
    color: #007bff;
}

.step-indicator.completed .step-title {
    color: #28a745;
}

/* ========================================================================
   From: members/appointments/timeline.html.twig
   ======================================================================== */

/* Timeline Year Section */
.timeline-year {
    margin-bottom: 40px;
}

.timeline-year-label {
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    border: 2px solid #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-marker i {
    font-size: 14px;
    color: #6c757d;
}

/* Timeline Item Colors */
.timeline-success .timeline-marker {
    border-color: #28a745;
    background: #d4edda;
}

.timeline-success .timeline-marker i {
    color: #28a745;
}

.timeline-danger .timeline-marker {
    border-color: #dc3545;
    background: #f8d7da;
}

.timeline-danger .timeline-marker i {
    color: #dc3545;
}

.timeline-warning .timeline-marker {
    border-color: #ffc107;
    background: #fff3cd;
}

.timeline-warning .timeline-marker i {
    color: #856404;
}

.timeline-secondary .timeline-marker {
    border-color: #6c757d;
    background: #e9ecef;
}

.timeline-content {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.timeline-header h5 {
    font-size: 1.1rem;
    color: #495057;
}

.timeline-body {
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.timeline-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline {
        padding-left: 30px;
    }

    .timeline-marker {
        left: -30px;
        width: 25px;
        height: 25px;
    }

    .timeline-marker i {
        font-size: 12px;
    }

    .timeline-content .row > div:last-child {
        text-align: left !important;
        margin-top: 10px;
    }
}

/* ========================================================================
   From: members/forgot-password.html.twig
   ======================================================================== */

.forgot-password-container {
    max-width: 500px;
    margin: 0 auto;
}

.forgot-password-card {
    background: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.forgot-password-icon {
    text-align: center;
    margin-bottom: 25px;
}

.forgot-password-icon i {
    font-size: 4rem;
    color: #5cb85c;
}

.forgot-password-card h1 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.forgot-password-card .lead-text {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}

.form-control-lg {
    height: 46px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

.divider {
    margin: 30px 0;
    border-top: 1px solid #e9ecef;
}

.breadcrumb {
    background-color: transparent;
    padding: 8px 0;
    margin-bottom: 20px;
}

.breadcrumb > li + li:before {
    content: ">\00a0";
}

/* Dark mode support for all auth cards (login, forgot-password, reset-password, etc.) */
[data-bs-theme="dark"] .forgot-password-card,
[data-bs-theme="dark"] .login-card,
[data-bs-theme="dark"] .reset-password-card,
[data-bs-theme="dark"] .signup-card {
    background: #2d3748 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .forgot-password-card h1,
[data-bs-theme="dark"] .login-card h1,
[data-bs-theme="dark"] .reset-password-card h1,
[data-bs-theme="dark"] .signup-card h1 {
    color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .forgot-password-card .lead-text,
[data-bs-theme="dark"] .login-card .lead-text,
[data-bs-theme="dark"] .reset-password-card .lead-text,
[data-bs-theme="dark"] .signup-card .lead-text {
    color: #cbd5db !important;
}

[data-bs-theme="dark"] .forgot-password-card .form-control,
[data-bs-theme="dark"] .login-card .form-control,
[data-bs-theme="dark"] .reset-password-card .form-control,
[data-bs-theme="dark"] .signup-card .form-control {
    background-color: #374151;
    border-color: #4a5568;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .forgot-password-card .form-control:focus,
[data-bs-theme="dark"] .login-card .form-control:focus,
[data-bs-theme="dark"] .reset-password-card .form-control:focus,
[data-bs-theme="dark"] .signup-card .form-control:focus {
    background-color: #1e293b;
    border-color: #60a5fa;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .forgot-password-card .form-label,
[data-bs-theme="dark"] .login-card .form-label,
[data-bs-theme="dark"] .reset-password-card .form-label,
[data-bs-theme="dark"] .signup-card .form-label {
    color: #cbd5db;
}

[data-bs-theme="dark"] .forgot-password-icon i,
[data-bs-theme="dark"] .login-icon i,
[data-bs-theme="dark"] .reset-password-icon i {
    color: #34d399 !important;
}

[data-bs-theme="dark"] .divider {
    border-top-color: #4a5568;
}

[data-bs-theme="dark"] .breadcrumb-item a {
    color: #60a5fa;
}

[data-bs-theme="dark"] .breadcrumb-item.active {
    color: #cbd5e0;
}

/* Dark mode support for auth containers */
[data-bs-theme="dark"] .forgot-password-container,
[data-bs-theme="dark"] .login-page-container,
[data-bs-theme="dark"] .reset-password-container {
    background: transparent !important;
}

/* Dark mode support for FAQ cards and panels */
[data-bs-theme="dark"] .faq-content-card {
    background: #2d3748 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .faq-panel {
    background: #2d3748 !important;
    border-color: #4a5568 !important;
}

[data-bs-theme="dark"] .faq-panel .panel-heading {
    background-color: #374151 !important;
}

[data-bs-theme="dark"] .faq-panel .panel-body {
    background-color: #2d3748 !important;
    border-color: #4a5568;
    color: #cbd5db;
}

/* Dark mode support for timeline */
[data-bs-theme="dark"] .timeline-content {
    background: #2d3748 !important;
    border-color: #4a5568;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .timeline-header h5 {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .timeline-body,
[data-bs-theme="dark"] .timeline-footer {
    border-color: #4a5568;
    color: #cbd5db;
}

/* Dark mode support for info boxes (password requirements, etc.) */
[data-bs-theme="dark"] .info-box {
    background-color: rgba(2, 132, 199, 0.15);
    border-color: #0284c7;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .info-box strong {
    color: #60a5fa;
    font-weight: 700;
}

[data-bs-theme="dark"] .info-box ul {
    color: #cbd5db;
}

[data-bs-theme="dark"] .info-box ul li {
    color: #cbd5db;
}

/* Dark mode support for form help text */
[data-bs-theme="dark"] .help-block {
    color: #94a3b8;
}

[data-bs-theme="dark"] .help-block.text-danger {
    color: #f87171 !important;
}

/* Dark mode support for password strength indicator */
[data-bs-theme="dark"] .password-strength {
    background-color: #1e293b;
}

/* ========================================================================
   From: members/signup.html.twig
   ======================================================================== */

.password-strength {
        height: 5px;
        margin-top: 5px;
        border-radius: 3px;
        transition: all 0.3s;
    }
    .password-strength.weak { background-color: #dc3545; width: 33%; }
    .password-strength.medium { background-color: #ffc107; width: 66%; }
    .password-strength.strong { background-color: #28a745; width: 100%; }

    .form-control.is-invalid {
        border-color: #dc3545;
    }
    .form-control.is-valid {
        border-color: #28a745;
    }
    .invalid-feedback {
        display: block;
        color: #dc3545;
        font-size: 0.875rem;
        margin-top: 0.25rem;
    }
    .character-count {
        font-size: 0.875rem;
        color: #6c757d;
        text-align: right;
        margin-top: 0.25rem;
    }
    .character-count.text-danger {
        color: #dc3545 !important;
    }

/* ========================================================================
   From: members/auth/forgot-password.html.twig
   ======================================================================== */

.forgot-password-container {

            margin: 50px auto;
            padding: 30px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .form-control {
            margin-bottom: 15px;
        }
        .btn-reset {
            width: 100%;
            padding: 12px;
            font-size: 16px;
        }
        .back-to-login {
            text-align: center;
            margin-top: 20px;
        }
        .error-message {
            background-color: #f8d7da;
            color: #721c24;
            padding: 10px;
            border-radius: 4px;
            margin-bottom: 15px;
            border: 1px solid #f5c6cb;
        }
        .success-message {
            background-color: #d4edda;
            color: #155724;
            padding: 15px;
            border-radius: 4px;
            margin-bottom: 15px;
            border: 1px solid #c3e6cb;
        }
        .info-message {
            background-color: #d1ecf1;
            color: #0c5460;
            padding: 10px;
            border-radius: 4px;
            margin-bottom: 15px;
            border: 1px solid #bee5eb;
        }
        .form-row {
            display: flex;
            gap: 15px;
        }
        .form-row .form-group {
            flex: 1;
        }

/* ========================================================================
   From: members/auth/login.html.twig
   ======================================================================== */

.login-page-container {
            max-width: 450px;
            margin: 0 auto;
        }

        .login-card {
            background: white;
            border: none;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            padding: 40px;
        }

        .login-icon {
            text-align: center;
            margin-bottom: 25px;
        }

        .login-icon i {
            font-size: 4rem;
            color: #337ab7;
        }

        .login-card h1 {
            text-align: center;
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 30px;
            color: #333;
        }

        .form-control-lg {
            height: 46px;
            font-size: 16px;
        }

        .btn-block {
            width: 100%;
        }

        .btn-login {
            padding: 12px;
            font-size: 16px;
            font-weight: 600;
        }

        .forgot-password {
            text-align: center;
            margin-top: 15px;
        }

        .forgot-password a {
            color: #777;
            text-decoration: none;
        }

        .forgot-password a:hover {
            color: #337ab7;
            text-decoration: underline;
        }

        .divider {
            margin: 30px 0;
            border-top: 1px solid #e9ecef;
        }

        .signup-section {
            text-align: center;
        }

        .signup-section h4 {
            font-size: 1.3rem;
            margin-bottom: 15px;
            color: #333;
        }

        .signup-section p {
            color: #666;
            margin-bottom: 20px;
        }

        .breadcrumb {
            background-color: transparent;
            padding: 8px 0;
            margin-bottom: 20px;
        }

        .breadcrumb > li + li:before {
            content: ">\00a0";
        }

/* ========================================================================
   From: members/videos.html.twig
   ======================================================================== */

/* Video Modal Responsive Styles */
#videoModal .modal-dialog {
    max-width: 95vw;
    margin: 1rem auto;
}

@media (min-width: 768px) {
    #videoModal .modal-dialog {
        max-width: 90vw;
        margin: 1.75rem auto;
    }
}

@media (min-width: 992px) {
    #videoModal .modal-dialog {
        max-width: 80vw;
        margin: 1.75rem auto;
    }
}

@media (min-width: 1200px) {
    #videoModal .modal-dialog {
        max-width: 1140px;
        margin: 1.75rem auto;
    }
}

/* Video Container - Maintains 16:9 aspect ratio */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Mobile optimization */
@media (max-width: 576px) {
    #videoModal .modal-header {
        padding: 0.5rem 1rem;
    }

    #videoModal .modal-title {
        font-size: 1rem;
    }

    #videoModal .modal-footer {
        padding: 0.5rem;
    }

    #videoModal .modal-footer .btn {
        font-size: 0.875rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Drag & Drop Zone */
.drop-zone {
    border: 2px dashed #ced4da;
    border-radius: 0.375rem;
    padding: 3rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.drop-zone:hover,
.drop-zone.drag-over {
    border-color: #0d6efd;
    background-color: #e7f1ff;
}

.drop-zone.drag-over {
    transform: scale(1.02);
}

/* Video Card Styles */
.video-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background-color: #000;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}

.video-thumbnail:hover .play-overlay {
    opacity: 1;
}

/* File List Styles */
#fileList .file-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

#fileList .file-item i {
    margin-right: 0.5rem;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* ========================================================================
   From: members/messages/view.html.twig
   ======================================================================== */

.jp-audio {
                width: 100% !important;
            }

/* ========================================================================
   From: members/messages/view.html.twig
   ======================================================================== */

.single-gallery-image {
                height: 350px !important;
            }
            .single-gallery-image div {
                height: 350px;
                line-height: 350px;
            }
            .single-gallery-image div p {
                display: block;
                color: white;
                font-weight: bold;
                font-size: larger;
            }

/* ========================================================================
   From: members/compose.html.twig
   ======================================================================== */

textarea {
    resize: vertical;
    min-height: 200px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* ========================================================================
   From: members/layouts/base.html.twig
   ======================================================================== */

.members-nav {
            background-color: #1f2937;
            border-bottom: 1px solid #374151;
        }
        .members-nav a {
            color: #d1d5db;
            text-decoration: none;
            padding: 0.5rem 1rem;
            display: inline-block;
        }
        .members-nav a:hover {
            color: #f9fafb;
            background-color: #374151;
        }

/* ========================================================================
   From: members/inbox-read.html.twig
   ======================================================================== */

.message-content {
    font-size: 1.05rem;
    line-height: 1.7;
}
.conversation-thread .card {
    border-left-width: 3px;
}

/* ========================================================================
   From: members/profile.html.twig
   ======================================================================== */

.password-strength {
    height: 5px;
    border-radius: 3px;
    transition: all 0.3s;
    background-color: #e9ecef;
}
.password-strength.weak { background-color: #dc3545; width: 33%; }
.password-strength.medium { background-color: #ffc107; width: 66%; }
.password-strength.strong { background-color: #28a745; width: 100%; }

/* ========================================================================
   From: members/dashboard.html.twig
   ======================================================================== */

.welcome-section {
    margin-bottom: 30px;
    padding: 20px 0;
}

.message-preview {
    padding: 10px 0;
}

.message-preview.unread {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: -5px -15px;
}

.message-preview.unread h6 {
    font-weight: bold;
}

.profile-info p {
    margin-bottom: 8px;
}

.account-actions .btn {
    margin-bottom: 8px;
}

.card {
    margin-bottom: 20px;
}

/* ========================================================================
   From: payments/cancelled.html.twig
   ======================================================================== */

.cancelled-container {
            max-width: 600px;
            margin: 50px auto;
            padding: 40px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            text-align: center;
        }
        .cancelled-icon {
            font-size: 80px;
            color: #ffc107;
            margin-bottom: 20px;
        }
        .cancelled-title {
            color: #856404;
            margin-bottom: 15px;
        }
        .payment-info {
            background: #fff3cd;
            padding: 20px;
            border-radius: 6px;
            border-left: 4px solid #ffc107;
            margin: 30px 0;
            text-align: left;
        }

/* Dark mode support for payment cancelled page */
[data-bs-theme="dark"] .cancelled-container {
    background: #2d3748;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .cancelled-icon {
    color: #fbbf24;
}

[data-bs-theme="dark"] .cancelled-title {
    color: #fbbf24;
}

[data-bs-theme="dark"] .payment-info {
    background: rgba(251, 191, 36, 0.15);
    border-left-color: #fbbf24;
    color: #e2e8f0;
}

/* ========================================================================
   From: payments/pay.html.twig
   ======================================================================== */

.payment-container {
            max-width: 600px;
            margin: 50px auto;
            padding: 30px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .payment-summary {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 6px;
            margin-bottom: 30px;
        }
        .payment-amount {
            font-size: 2em;
            font-weight: bold;
            color: #0070ba;
            margin: 10px 0;
        }
        .payment-description {
            color: #666;
            margin-bottom: 10px;
        }
        #paypal-button-container {
            margin-top: 20px;
        }

/* Dark mode support for payment page */
[data-bs-theme="dark"] .payment-container {
    background: #2d3748;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .payment-summary {
    background: #374151;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .payment-description {
    color: #cbd5db;
}

[data-bs-theme="dark"] .payment-amount {
    color: #60a5fa;
}

[data-bs-theme="dark"] .alert-info {
    background-color: rgba(2, 132, 199, 0.15);
    border-color: #0284c7;
    color: #60a5fa;
}

[data-bs-theme="dark"] .btn-link {
    color: #60a5fa;
}

[data-bs-theme="dark"] .btn-link:hover {
    color: #93c5fd;
}

[data-bs-theme="dark"] .text-muted {
    color: #94a3b8 !important;
}

/* ========================================================================
   From: payments/success.html.twig
   ======================================================================== */

.success-container {
            max-width: 700px;
            margin: 50px auto;
            padding: 40px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            text-align: center;
        }
        .success-icon {
            font-size: 80px;
            color: #28a745;
            margin-bottom: 20px;
        }
        .success-title {
            color: #28a745;
            margin-bottom: 15px;
        }
        .payment-details {
            background: #f8f9fa;
            padding: 25px;
            border-radius: 6px;
            margin: 30px 0;
            text-align: left;
        }
        .detail-row {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #dee2e6;
        }
        .detail-row:last-child {
            border-bottom: none;
        }
        .detail-label {
            font-weight: 600;
            color: #666;
        }
        .detail-value {
            color: #333;
        }
        .amount-highlight {
            font-size: 1.5em;
            color: #0070ba;
            font-weight: bold;
        }
        .next-steps {
            background: #e7f3ff;
            padding: 20px;
            border-radius: 6px;
            border-left: 4px solid #0070ba;
            margin: 20px 0;
            text-align: left;
        }

/* Dark mode support for payment success page */
[data-bs-theme="dark"] .success-container {
    background: #2d3748;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .success-icon {
    color: #34d399;
}

[data-bs-theme="dark"] .success-title {
    color: #34d399;
}

[data-bs-theme="dark"] .payment-details {
    background: #374151;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .payment-details h4 {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .detail-row {
    border-bottom-color: #4a5568;
}

[data-bs-theme="dark"] .detail-label {
    color: #cbd5db;
}

[data-bs-theme="dark"] .detail-value {
    color: #e2e8f0;
}

[data-bs-theme="dark"] .detail-value code {
    background: #1a202c;
    color: #f687b3;
    padding: 2px 6px;
    border-radius: 3px;
}

[data-bs-theme="dark"] .amount-highlight {
    color: #60a5fa;
}

[data-bs-theme="dark"] .next-steps {
    background: rgba(2, 132, 199, 0.15);
    border-left-color: #0284c7;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .next-steps h5 {
    color: #60a5fa;
}

[data-bs-theme="dark"] .alert-info {
    background-color: rgba(2, 132, 199, 0.15);
    border-color: #0284c7;
    color: #60a5fa;
}

[data-bs-theme="dark"] .badge-success {
    background-color: #34d399;
    color: #1f2937;
}

[data-bs-theme="dark"] .badge-warning {
    background-color: #fbbf24;
    color: #1f2937;
}

[data-bs-theme="dark"] .lead {
    color: #cbd5db;
}

/* ========================================================================
   From: faqs/show.html.twig
   ======================================================================== */

/* Single FAQ Page Styling - COMMENTED OUT - Purple removed */
/*
    .faq-single-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 30px;
        margin: 15px 0px 5px 0px;
        border-radius: 5px;
    }

    .faq-single-header h1 {
        margin: 0 0 15px 0;
        font-size: 2rem;
        font-weight: 600;
        line-height: 1.4;
    }
*/

    .faq-meta-badges {
        margin-bottom: 10px;
    }

    .faq-meta-badges .label {
        margin-right: 8px;
        padding: 5px 10px;
        font-size: 0.85rem;
    }

    .faq-content-card {
        background: white;
        border: none;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 25px;
    }

    .faq-answer-content {
        padding: 30px;
        line-height: 1.8;
        color: #333;
        font-size: 1.05rem;
    }

    .faq-answer-content h1,
    .faq-answer-content h2,
    .faq-answer-content h3,
    .faq-answer-content h4,
    .faq-answer-content h5,
    .faq-answer-content h6 {
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        color: #333;
        font-weight: 600;
    }

    .faq-answer-content p {
        margin-bottom: 1rem;
    }

    .faq-answer-content ul,
    .faq-answer-content ol {
        margin-bottom: 1rem;
        padding-left: 2rem;
    }

    .faq-answer-content li {
        margin-bottom: 0.5rem;
    }

    .faq-answer-content blockquote {
        border-left: 4px solid #667eea;
        padding-left: 1rem;
        margin: 1.5rem 0;
        font-style: italic;
        background-color: #f8f9fa;
        padding: 15px 15px 15px 20px;
        border-radius: 4px;
    }

    .faq-answer-content a {
        color: #667eea;
        text-decoration: underline;
    }

    .faq-answer-content a:hover {
        color: #764ba2;
    }

    .faq-answer-content img {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin: 1rem 0;
    }

    .faq-answer-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 1rem 0;
        border: 1px solid #ddd;
    }

    .faq-answer-content table th,
    .faq-answer-content table td {
        padding: 12px;
        text-align: left;
        border: 1px solid #ddd;
    }

    .faq-answer-content table th {
        background-color: #f5f5f5;
        font-weight: 600;
    }

    .faq-answer-content code {
        background-color: #f4f4f4;
        padding: 2px 6px;
        border-radius: 3px;
        font-family: 'Monaco', 'Consolas', monospace;
        font-size: 0.9em;
    }

    .faq-answer-content pre {
        background-color: #2d2d2d;
        color: #f8f8f8;
        padding: 15px;
        border-radius: 4px;
        overflow-x: auto;
        margin: 1rem 0;
    }

    .faq-answer-content pre code {
        background-color: transparent;
        padding: 0;
        color: inherit;
    }

    .faq-meta-footer {
        padding: 20px 30px;
        border-top: 1px solid #e9ecef;
        background-color: #f8f9fa;
        font-size: 0.9rem;
        color: #666;
    }

    .faq-navigation {
        margin-bottom: 25px;
    }

    .faq-share-buttons {
        display: inline-block;
    }

    .faq-share-buttons .btn {
        margin-left: 5px;
    }

    .related-faqs-card {
        border: none;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        background: white;
        margin-top: 25px;
    }

    .related-faqs-card .card-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        border: none;
        padding: 15px 20px;
        border-radius: 8px 8px 0 0;
    }

    .related-faqs-card .card-title {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
    }

    [data-bs-theme="dark"] .related-faqs-card {
        background: #2d3748;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    [data-bs-theme="dark"] .related-faq-item {
        border-bottom-color: #4a5568;
    }

    [data-bs-theme="dark"] .related-faq-item:hover {
        background-color: #374151;
    }

    [data-bs-theme="dark"] .related-faq-item a {
        color: #e2e8f0;
    }

    [data-bs-theme="dark"] .related-faq-item a:hover {
        color: #a78bfa;
    }

    .related-faq-item {
        padding: 15px 20px;
        border-bottom: 1px solid #e9ecef;
        transition: background-color 0.3s ease;
    }

    .related-faq-item:last-child {
        border-bottom: none;
    }

    .related-faq-item:hover {
        background-color: #f8f9fa;
    }

    .related-faq-item a {
        color: #333;
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
    }

    .related-faq-item a:hover {
        color: #667eea;
    }

    .breadcrumb {
        background-color: transparent;
        padding: 8px 0;
        margin-bottom: 20px;
    }

    .breadcrumb > li + li:before {
        content: ">\00a0";
    }

/* ========================================================================
   From: faqs/index.html.twig
   ======================================================================== */

/* FAQ Page Enhancements - STYLES MOVED TO concept-5-moon-phases.css */

/* COMMENTED OUT - Purple backgrounds removed, now using clean minimal design in concept-5
    .faq-page-header {
        padding: 40px 20px;
        margin: -15px -15px 30px -15px;
        border-radius: 5px;
        text-align: center;
    }

    .faq-page-header h1 {
        margin: 0 0 10px 0;
        font-size: 2.5rem;
        font-weight: 600;
    }

    .faq-page-header p {
        margin: 0;
        opacity: 0.95;
        font-size: 1.1rem;
    }

    .faq-category-card {
        border: none;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 25px;
        transition: box-shadow 0.3s ease;
    }

    .faq-category-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

    .faq-category-header {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 20px;
        border-bottom: none;
    }

    .faq-category-header h2 {
        margin: 0;
        font-size: 1.6rem;
        font-weight: 600;
    }

    .faq-category-header h2 i {
        margin-right: 10px;
        opacity: 0.9;
    }

    .faq-category-header p {
        margin: 10px 0 0 0;
        opacity: 0.95;
        font-size: 0.95rem;
    }
*/

/* COMMENTED OUT - Styles moved to concept-5-moon-phases.css
    .panel-group {
        margin-bottom: 0;
    }

    .faq-panel {
        border: none;
        border-bottom: 1px solid #e9ecef;
        box-shadow: none;
        border-radius: 0 !important;
        background: white;
    }

    .faq-panel:last-child {
        border-bottom: none;
    }

    .faq-panel .panel-heading {
        background-color: #fff;
        border: none;
        padding: 0;
    }

    .faq-panel .panel-heading a {
        display: block;
        padding: 18px 20px;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        font-size: 1.05rem;
        transition: all 0.3s ease;
        position: relative;
    }

    .faq-panel .panel-heading a:hover {
        background-color: #f8f9fa;
        color: #667eea;
    }

    .faq-panel .panel-heading a:after {
        content: "\f078";
        font-family: "FontAwesome";
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #667eea;
        transition: transform 0.3s ease;
    }

    .faq-panel .panel-heading a.collapsed:after {
        transform: translateY(-50%) rotate(-90deg);
    }

    .faq-panel .panel-body {
        padding: 20px;
        background-color: #fff;
        line-height: 1.8;
        color: #555;
        border-top: 1px solid #e9ecef;
    }
*/

    .faq-answer h1, .faq-answer h2, .faq-answer h3,
    .faq-answer h4, .faq-answer h5, .faq-answer h6 {
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        color: #333;
    }

    .faq-answer p {
        margin-bottom: 1rem;
    }

    .faq-answer ul, .faq-answer ol {
        margin-bottom: 1rem;
        padding-left: 1.5rem;
    }

    .faq-answer blockquote {
        border-left: 4px solid #667eea;
        padding-left: 1rem;
        margin: 1rem 0;
        font-style: italic;
        color: #666;
    }

    .faq-badge {
        font-size: 0.75rem;
        padding: 3px 8px;
        border-radius: 10px;
        font-weight: 600;
        margin-left: 8px;
    }

    .badge-featured {
        background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
        color: #333;
    }

    .badge-category {
        background-color: #6c757d;
        color: white;
    }

    .faq-meta {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #e9ecef;
        font-size: 0.9rem;
    }

    .faq-meta a {
        color: #667eea;
        text-decoration: none;
    }

    .faq-meta a:hover {
        color: #764ba2;
        text-decoration: underline;
    }

    .faq-view-count {
        color: #888;
        font-size: 0.85rem;
        font-weight: normal;
        margin-left: 15px;
    }

/* COMMENTED OUT - Sidebar FAQ widget styles moved to concept-5
    .sidebar-faq-widget {
        border: none;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }

    .sidebar-faq-widget .panel-heading {
        font-weight: 600;
        border-bottom: 2px solid rgba(255, 255, 255, 0.3);
        padding: 15px;
    }
*/

    .sidebar-faq-item {
        padding: 15px;
        border-bottom: 1px solid #e9ecef;
        transition: background-color 0.3s ease;
    }

    .sidebar-faq-item:last-child {
        border-bottom: none;
    }

    .sidebar-faq-item:hover {
        background-color: #f8f9fa;
    }

    .sidebar-faq-item a {
        color: #333;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.95rem;
        display: block;
        margin-bottom: 5px;
    }

    .sidebar-faq-item a:hover {
        color: #667eea;
    }

    .sidebar-faq-item small {
        color: #888;
        font-size: 0.85rem;
    }

    .empty-state {
        text-align: center;
        padding: 60px 20px;
    }

    .empty-state i {
        font-size: 4rem;
        color: #ddd;
        margin-bottom: 20px;
    }

    .empty-state h3 {
        color: #999;
        font-weight: 500;
        margin-bottom: 15px;
    }

    .empty-state p {
        color: #aaa;
    }

/* ========================================================================
   From: articles/show.html.twig
   ======================================================================== */

.article-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content blockquote {
    border-left: 4px solid #007bff;
    margin: 1.5rem 0;
    padding-left: 1rem;
    font-style: italic;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 0.375rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

/* ========================================================================
   From: articles/index.html.twig
   ======================================================================== */

/* Modern Article Cards with Enhanced Visual Design */
.article-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(107, 142, 35, 0.1);
    border-radius: 20px;
    border-left: 8px solid #6B8E23 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem !important;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6B8E23, #8FBC8F, #98D982, #6B8E23);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.article-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(107, 142, 35, 0.3);
    border-left-color: #8FBC8F !important;
}

.article-card:hover::before {
    opacity: 1;
}

/* Article Title with Better Typography */
.article-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1e3a1f;
    letter-spacing: -0.02em;
    padding: 0 10px;
}

.article-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.article-link:hover {
    color: #6B8E23 !important;
    text-decoration: none;
}

.article-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -8px;
    left: 0;
    background: linear-gradient(90deg, #6B8E23, #8FBC8F);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.article-link:hover::after {
    width: 100%;
}

/* Enhanced Article Meta */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(107, 142, 35, 0.05), rgba(143, 188, 143, 0.05));
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(107, 142, 35, 0.1);
}

.meta-item {
    color: #5a6c5b;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.meta-item i {
    color: #6B8E23;
    font-size: 0.9rem;
    margin-right: 8px;
}

/* Enhanced Article Excerpt */
.article-excerpt {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a5a4b;
    text-align: justify;
    margin-bottom: 2.5rem;
    padding: 0 10px;
    position: relative;
}

.article-excerpt::before {
    content: '"';
    position: absolute;
    left: -15px;
    top: -10px;
    font-size: 3rem;
    color: rgba(107, 142, 35, 0.2);
    font-family: serif;
    line-height: 1;
}

/* Premium Read More Button */
.read-more-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    background: linear-gradient(135deg, #6B8E23 0%, #8FBC8F 50%, #5a7a1f 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(107, 142, 35, 0.3);
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
}

.read-more-btn:hover::before {
    left: 100%;
}

.read-more-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(107, 142, 35, 0.4);
    color: white;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.3);
}

.read-more-btn i {
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

/* Enhanced Search Form */
.input-group-text {
    background: linear-gradient(135deg, #6B8E23, #8FBC8F) !important;
    border: none !important;
    color: white !important;
}

/* Enhanced Pagination */
.page-link {
    color: #6B8E23;
    border: 2px solid #dee2e6;
    padding: 15px 22px;
    font-weight: 600;
    border-radius: 12px !important;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.page-link:hover {
    color: white;
    background: linear-gradient(135deg, #6B8E23, #8FBC8F);
    border-color: #6B8E23;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 142, 35, 0.3);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #6B8E23, #5a7a1f);
    border-color: #6B8E23;
    box-shadow: 0 8px 25px rgba(107, 142, 35, 0.4);
    transform: translateY(-2px);
}

/* Enhanced Header */
.articles-header {
    padding: 0 20px;
    margin-bottom: 2rem;
}

.articles-main-title {
    background: linear-gradient(135deg, #6B8E23, #8FBC8F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 2.8rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    padding-left: 10px;
}

.articles-count .badge {
    background: linear-gradient(135deg, #6B8E23, #8FBC8F) !important;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(107, 142, 35, 0.2);
}

/* Premium Search Container */
.search-container {
    padding: 0;
    margin-bottom: 2rem;
}

.search-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(107, 142, 35, 0.15);
    border-radius: 25px;
    /*box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);*/
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    overflow: hidden;
}

.search-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6B8E23, #8FBC8F, #98D982, #6B8E23);
}

.search-form {
    margin-bottom: 0;
}

.search-input-wrapper {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.search-input-group {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid rgba(107, 142, 35, 0.2);
    border-radius: 50px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #6B8E23;
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.1), inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-icon {
    padding: 0 20px;
    color: #6B8E23;
    font-size: 1.1rem;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 18px 20px 18px 0;
    font-size: 1.05rem;
    background: transparent;
    color: #495057;
}

.search-input::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

.search-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.search-btn {
    background: linear-gradient(135deg, #6B8E23, #8FBC8F);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(107, 142, 35, 0.3);
    position: relative;
    overflow: hidden;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(107, 142, 35, 0.4);
}

.clear-btn {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 2px solid rgba(108, 117, 125, 0.2);
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.clear-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
    transform: translateY(-2px);
    text-decoration: none;
}

.search-results-info {
    margin-top: 20px;
    padding: 15px 25px;
    background: linear-gradient(135deg, rgba(107, 142, 35, 0.05), rgba(143, 188, 143, 0.05));
    border-radius: 15px;
    border: 1px solid rgba(107, 142, 35, 0.1);
    color: #495057;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-input-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .search-input-group {
        min-width: auto;
        width: 100%;
    }

    .search-buttons {
        width: 100%;
        justify-content: center;
    }

    .articles-main-title {
        font-size: 2.2rem;
        padding-left: 5px;
    }

    .search-container {
        padding: 0 10px;
    }

    .articles-header {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .search-card {
        padding: 20px;
    }

    .search-btn,
    .clear-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .articles-main-title {
        font-size: 1.8rem;
    }
}

/* Header background moved to theme-specific CSS files */

@media (max-width: 768px) {
    .article-title {
        font-size: 1.6rem;
    }

    .article-excerpt {
        font-size: 1rem;
        line-height: 1.6;
    }

    .article-meta {
        gap: 1rem;
        padding: 15px 20px;
    }

    .meta-item {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .read-more-btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    body {
        /* background-image: url(/assets/images/header480.jpg) !important; */ /* Disabled for header concepts */
    }

    .article-card .card-body {
        padding: 2.5rem !important;
    }

    .article-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 320px) {
    body {
        /* background-image: url(/assets/images/header320.jpg) !important; */ /* Disabled for header concepts */
    }

    .article-card .card-body {
        padding: 2rem !important;
    }
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }

/* Loading state improvement */
.articles-list {
    min-height: 400px;
}

/* ========================================================================
   From: layouts/base.html.twig
   ======================================================================== */

.calls-banner {
            background-color: #6B8E23;
            color: #ffffff;
            padding: 15px;
            font-size: 140%;
        }
        .calls-banner img {
            display: block;
            margin-left: auto;
            margin-right: auto;
            width: 50%;
            max-height: 100px;
            max-width: 100px;
        }

/* ========================================================================
   From: checkout/review.html.twig
   ======================================================================== */

.sticky-top {
        position: -webkit-sticky;
        position: sticky;
    }

    .card {
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .card-header {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    address {
        line-height: 1.6;
    }

    .table td, .table th {
        vertical-align: middle;
    }

    .progress {
        background-color: #e9ecef;
    }

/* ========================================================================
   From: checkout/success.html.twig
   ======================================================================== */

.success-banner {
        background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    }

    .sticky-top {
        position: -webkit-sticky;
        position: sticky;
    }

    .card {
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .card-header {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    address {
        line-height: 1.6;
    }

    .table td, .table th {
        vertical-align: middle;
    }

    .progress {
        background-color: #e9ecef;
    }

/* ========================================================================
   Dark Mode Support - Bootstrap 5 data-bs-theme="dark"
   ======================================================================== */

[data-bs-theme="dark"],
[data-bs-theme="light"] {
    /* Right Column - Recent Articles & Links */
    h4 a {
        color: #8FBC8F !important;
    }

    h4 a:hover {
        color: #98D982 !important;
    }

    /* Special Offers Card */
    .card.border-success {
        background-color: #1e2a1e;
        border-color: #6B8E23 !important;
    }

    .card.border-success .card-body {
        /*background-color: #1e2a1e;*/
        background-color: #3c593c;
        color: #ffffff;
    }

    .card.border-success h4 a {
        color: #8FBC8F !important;
    }

    .card.border-success p {
        color: #cbd5db;
    }
}
[data-bs-theme="dark"] {
    /* Article Cards */
    .article-card {
        background: rgba(45, 55, 72, 0.95) !important;
        border-color: rgba(139, 188, 143, 0.2) !important;
        color: #e2e8f0;
    }
    
    .article-title {
        color: #e2e8f0 !important;
    }
    
    .article-link {
        color: #e2e8f0 !important;
    }
    
    .article-link:hover {
        color: #8FBC8F !important;
    }
    
    .article-excerpt {
        color: #cbd5db !important;
    }
    
    .article-excerpt::before {
        color: rgba(143, 188, 143, 0.2) !important;
    }
    
    /* Search Card Dark Mode */
    .search-card {
        background: rgba(45, 55, 72, 0.95) !important;
        border-color: rgba(139, 188, 143, 0.2) !important;
    }
    
    .search-input-group {
        background: rgba(30, 41, 59, 0.8) !important;
        border-color: rgba(143, 188, 143, 0.3) !important;
    }
    
    .search-input {
        color: #e2e8f0 !important;
        background: transparent !important;
    }
    
    .search-input::placeholder {
        color: #94a3b8 !important;
    }
    
    .search-results-info {
        background: rgba(107, 142, 35, 0.15) !important;
        border-color: rgba(143, 188, 143, 0.2) !important;
        color: #cbd5db !important;
    }
    
    .search-results-info strong {
        color: #8FBC8F !important;
    }
    
    /* List Group Items (Sidebar Links) */
    .list-group-item {
        background-color: #2d3748;
        border-color: #4a5568;
        color: #cbd5db;
    }
    
    .list-group-item:hover {
        background-color: #374151;
        color: #8FBC8F;
    }
    
    .list-group-item a {
        color: #8FBC8F !important;
    }
    
    .list-group-item a:hover {
        color: #98D982 !important;
    }
    
    /* No Results Card */
    .card.bg-light-gray {
        background-color: #2d3748 !important;
    }
    
    .card.bg-light-gray h4,
    .card.bg-light-gray p {
        color: #cbd5db !important;
    }
    
    .card.bg-light-gray .text-muted {
        color: #94a3b8 !important;
    }
    
    /* Pagination Dark Mode */
    .page-link {
        background-color: #2d3748;
        border-color: #4a5568;
        color: #8FBC8F;
    }
    
    .page-link:hover {
        background: linear-gradient(135deg, #6B8E23, #8FBC8F);
        border-color: #6B8E23;
        color: white;
    }
    
    .page-item.active .page-link {
        background: linear-gradient(135deg, #6B8E23, #5a7a1f);
        border-color: #6B8E23;
        color: white;
    }
    
    .page-item.disabled .page-link {
        background-color: #1a202c;
        border-color: #2d3748;
        color: #4a5568;
    }
    
    /* Article Meta */
    .article-meta {
        background: linear-gradient(135deg, rgba(107, 142, 35, 0.15), rgba(143, 188, 143, 0.15)) !important;
        border-color: rgba(143, 188, 143, 0.2) !important;
    }
    
    .meta-item {
        background: rgba(45, 55, 72, 0.8) !important;
        color: #cbd5db !important;
    }
    
    /* Header Title */
    .articles-main-title {
        background: linear-gradient(135deg, #8FBC8F, #98D982);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* ========================================================================
   Special Offers - Dark Mode Support
   ======================================================================== */

[data-bs-theme="dark"] {
    /* Special Offer Cards */
    .card {
        background-color: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .card-body {
        background-color: transparent;
        color: #e2e8f0;
    }
    
    /* Card Headers */
    .card-header {
        background-color: #374151;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .card-header.bg-info {
        background-color: #0284c7 !important;
        color: white !important;
    }
    
    .card-header.bg-primary {
        background-color: #2563eb !important;
        color: white !important;
    }
    
    .card-header.bg-warning {
        background-color: #f59e0b !important;
        color: #1f2937 !important;
    }
    
    /* Page Title */
    .page-title {
        color: #e2e8f0;
    }
    
    /* Tables in Dark Mode */
    .table {
        color: #e2e8f0;
        border-color: #4a5568;
    }
    
    .table thead th {
        background-color: #374151;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .table-striped tbody tr:nth-of-type(odd) {
        background-color: rgba(255, 255, 255, 0.03);
    }
    
    .table-striped tbody tr:nth-of-type(even) {
        background-color: rgba(0, 0, 0, 0.05);
    }
    
    .table td, .table th {
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    /* Breadcrumbs */
    .breadcrumb {
        background-color: transparent;
    }
    
    .breadcrumb-item a {
        color: #60a5fa;
    }
    
    .breadcrumb-item a:hover {
        color: #93c5fd;
    }
    
    .breadcrumb-item.active {
        color: #cbd5e0;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        color: #6b7280;
    }
    
    /* Text Colors */
    .text-info {
        color: #60a5fa !important;
    }
    
    .text-success {
        color: #34d399 !important;
    }
    
    .text-warning {
        color: #fbbf24 !important;
    }
    
    /* Border Colors */
    .border-info {
        border-color: #0284c7 !important;
    }
    
    .border-primary {
        border-color: #2563eb !important;
    }
    
    .border-warning {
        border-color: #f59e0b !important;
    }
}

    /* Alerts in Dark Mode */
    .alert-info {
        background-color: rgba(2, 132, 199, 0.15);
        border-color: #0284c7;
        color: #60a5fa;
    }
    
    /* Horizontal Rules */
    hr {
        border-color: #4a5568;
        opacity: 0.5;
    }
    
    .hr-thick-gray {
        border-color: #4a5568;
    }
    
    /* Strong text should be visible */
    strong {
        color: #f3f4f6;
    }
    
    /* Paragraph text */
    p {
        color: #e2e8f0;
    }
}


/* ==========================================================================
   SECTION 6: Concept-5 UI Enhancements
   ========================================================================== */

/* ==========================================================================
   UI/UX ENHANCEMENTS - CONCEPT 5 SPECIFIC
   Self-contained styling that only applies when Concept 5 is active
   Note: Navigation styling moved to navigation-universal.css (all concepts)
   ========================================================================== */

/* ==========================================================================
   1. WARM LIGHT MODE - Earthy Tones (Production Site Inspired)
   ========================================================================== */

[data-bs-theme="light"] body {
    background-color: #f9f7f4 !important; /* Warm cream */
}

/* Sidebar/Menu - User requested: hover color as default */
[data-bs-theme="light"] .list-group {
    background-color: #ede7dc !important; /* Previous hover color now default */
}

[data-bs-theme="light"] .list-group-item {
    background-color: #ede7dc !important; /* Previous hover color now default */
    border-color: #e8e0d5 !important;
    border-bottom: 1px solid #d4c8b8 !important; /* Visible separator */
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
}

[data-bs-theme="light"] .list-group-item:last-child {
    border-bottom: 1px solid #e8e0d5 !important; /* Lighter border for last item */
}

[data-bs-theme="light"] .list-group-item:hover {
    background-color: #ddd3c3 !important; /* Darker hover color */
}

/* Cards - subtle warm tint */
[data-bs-theme="light"] .card {
    background-color: #fdfcfa !important;
    border-color: #e8e0d5 !important;
    box-shadow: 0 1px 3px rgba(139, 115, 85, 0.12),
                0 1px 2px rgba(139, 115, 85, 0.08) !important;
}

[data-bs-theme="light"] .card:hover {
    box-shadow: 0 4px 6px rgba(139, 115, 85, 0.15),
                0 2px 4px rgba(139, 115, 85, 0.10) !important;
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

[data-bs-theme="light"] .card-body {
    background-color: #fdfcfa !important;
}

/* Menu titles - warmer text */
[data-bs-theme="light"] .menu-title,
[data-bs-theme="light"] h5.menu-title {
    color: #5a4a3a !important;
    font-weight: 600 !important;
}

/* Active menu item - darker tan (2 shades darker than hover) */
[data-bs-theme="light"] .list-group .list-group-item-action.active,
[data-bs-theme="light"] .list-group a.list-group-item.active,
[data-bs-theme="light"] a.list-group-item-action.active,
[data-bs-theme="light"] a.list-group-item.active,
[data-bs-theme="light"] .list-group-item.active,
html:not([data-bs-theme="dark"]) .list-group .list-group-item-action.active,
html:not([data-bs-theme="dark"]) .list-group a.list-group-item.active,
html:not([data-bs-theme="dark"]) a.list-group-item-action.active,
html:not([data-bs-theme="dark"]) a.list-group-item.active,
html:not([data-bs-theme="dark"]) .list-group-item.active {
    background-color: #bdb3a3 !important; /* Darker tan - warm and professional */
    border-color: #bdb3a3 !important;
    color: #2a2520 !important; /* Dark brown text for contrast */
    font-weight: 600 !important;
    border-bottom: 1px solid #ad9d8d !important; /* Even darker border */
    box-shadow: none !important; /* Remove blue shadow */
    --bs-link-color: #2a2520 !important;
    --bs-link-hover-color: #2a2520 !important;
    --bs-link-color-rgb: 42, 37, 32 !important;
}

[data-bs-theme="light"] .list-group .list-group-item-action.active:hover,
[data-bs-theme="light"] .list-group a.list-group-item.active:hover,
[data-bs-theme="light"] a.list-group-item-action.active:hover,
[data-bs-theme="light"] a.list-group-item.active:hover,
[data-bs-theme="light"] .list-group-item.active:hover,
html:not([data-bs-theme="dark"]) .list-group .list-group-item-action.active:hover,
html:not([data-bs-theme="dark"]) .list-group a.list-group-item.active:hover,
html:not([data-bs-theme="dark"]) a.list-group-item-action.active:hover,
html:not([data-bs-theme="dark"]) a.list-group-item.active:hover,
html:not([data-bs-theme="dark"]) .list-group-item.active:hover {
    background-color: #ad9d8d !important; /* Slightly darker on hover */
    border-color: #ad9d8d !important;
    color: #2a2520 !important;
    box-shadow: none !important;
    --bs-link-color: #2a2520 !important;
    --bs-link-hover-color: #2a2520 !important;
}

/* ==========================================================================
   2. FOOTER - Fix Text Visibility in Light Mode
   ========================================================================== */

[data-bs-theme="light"] footer {
    background-color: #2a2520 !important; /* Dark warm brown */
    color: #f5f1eb !important; /* Light warm text */
}

[data-bs-theme="light"] footer p,
[data-bs-theme="light"] footer a,
[data-bs-theme="light"] footer span,
[data-bs-theme="light"] footer div {
    color: #f5f1eb !important; /* Light warm text */
}

[data-bs-theme="light"] footer a:hover {
    color: #ffffff !important;
}

/* Footer links - specific colors */
[data-bs-theme="light"] footer a[href] {
    color: #a8d5ff !important; /* Light blue for links */
}

[data-bs-theme="light"] footer a[href]:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* ==========================================================================
   3. TYPOGRAPHY - Warmer Text Colors
   ========================================================================== */

[data-bs-theme="light"] body,
[data-bs-theme="light"] p:not(footer p):not(footer *):not(.card.border-success *),
[data-bs-theme="light"] div:not(footer):not(footer div):not(footer *):not(.card.border-success *),
[data-bs-theme="light"] span:not(footer span):not(footer *):not(.card.border-success *) {
    color: #3a3a3a !important; /* Warm dark gray */
}

[data-bs-theme="light"] h1:not(footer h1):not(footer *),
[data-bs-theme="light"] h2:not(footer h2):not(footer *),
[data-bs-theme="light"] h3:not(footer h3):not(footer *),
[data-bs-theme="light"] h4:not(footer h4):not(footer *),
[data-bs-theme="light"] h5:not(footer h5):not(footer *),
[data-bs-theme="light"] h6:not(footer h6):not(footer *) {
    color: #2a2520 !important; /* Rich dark brown */
}

/* Links - warmer blue */
[data-bs-theme="light"] a:not(.btn):not(.nav-link):not(.list-group-item):not(.card a):not(footer a):not(footer *):not(#headerContainer a):not(.site-phone a) {
    color: #1a5490 !important;
}

[data-bs-theme="light"] a:not(.btn):not(.nav-link):not(.list-group-item):not(.card a):not(footer a):not(footer *):not(#headerContainer a):not(.site-phone a):hover {
    color: #0d6efd !important;
}

/* ==========================================================================
   4. MOON TOGGLE - Better Light Mode Visibility
   ========================================================================== */

[data-bs-theme="light"] #color-mode-toggle {
    background-color: #2a2520 !important; /* Warm dark brown */
    border-color: #2a2520 !important;
    color: #ffd700 !important; /* Gold moon */
    border-radius: 0.375rem !important;
    border-width: 1px !important;
}

[data-bs-theme="light"] #color-mode-toggle:hover {
    background-color: #1a1510 !important;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3) !important;
}

[data-bs-theme="light"] #color-mode-toggle i {
    color: #ffd700 !important;
}

/* Footer moon toggle - same styling */
[data-bs-theme="light"] #color-mode-toggle-footer {
    background-color: #f8f9fa !important;
    border-color: #e8e0d5 !important;
    color: #2a2520 !important;
}

[data-bs-theme="light"] #color-mode-toggle-footer:hover {
    background-color: #ffffff !important;
    box-shadow: 0 0 10px rgba(42, 37, 32, 0.2) !important;
}

[data-bs-theme="light"] #color-mode-toggle-footer i {
    color: #2a2520 !important;
}

/* ==========================================================================
   5. FORM INPUTS - Warm Styling
   ========================================================================== */

[data-bs-theme="light"] input[type="search"],
[data-bs-theme="light"] input[type="text"],
[data-bs-theme="light"] .form-control {
    background-color: #ffffff !important;
    border-color: #d4c8b8 !important;
    color: #3a3a3a !important;
}

[data-bs-theme="light"] input[type="search"]:focus,
[data-bs-theme="light"] input[type="text"]:focus,
[data-bs-theme="light"] .form-control:focus {
    border-color: #b8a68f !important;
    box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.15) !important;
}

/* ==========================================================================
   6. BUTTONS - Warm Tones
   ========================================================================== */

[data-bs-theme="light"] .btn-outline-secondary {
    color: #5a4a3a !important;
    border-color: #d4c8b8 !important;
}

[data-bs-theme="light"] .btn-outline-secondary:hover {
    background-color: #5a4a3a !important;
    border-color: #5a4a3a !important;
    color: #ffffff !important;
}

/* ==========================================================================
   7. SPECIAL OFFERS CARD - Warmer Green
   ========================================================================== */

[data-bs-theme="light"] .card.border-success {
    background: linear-gradient(135deg, #2d8a47 0%, #257a3d 100%) !important;
    box-shadow: 0 4px 8px rgba(45, 138, 71, 0.2) !important;
}

/* ==========================================================================
   8. MYSTICAL UI POLISH - Concept-5 Specific Enhancements
   ========================================================================== */

/* Main Menu heading - mystical Cinzel font */
.menu-title,
h5.menu-title,
.sidebar h5,
aside h5 {
    font-family: 'Cinzel', serif !important;
    letter-spacing: 1.5px !important;
}

[data-bs-theme="light"] .menu-title,
[data-bs-theme="light"] h5.menu-title,
[data-bs-theme="light"] .sidebar h5,
[data-bs-theme="light"] aside h5 {
    color: #5a4a3a !important;
    border-bottom: 2px solid #d4c8b8 !important;
}

[data-bs-theme="dark"] .menu-title,
[data-bs-theme="dark"] h5.menu-title,
[data-bs-theme="dark"] .sidebar h5,
[data-bs-theme="dark"] aside h5 {
    color: #e9ecef !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2) !important;
}

/* Special Offers card title - larger for prominence */
.card.border-success .card-title,
.card.border-success h5,
.special-offer-title {
    font-size: 1.875rem !important; /* 30px - More prominent */
    line-height: 1.3;
    margin-bottom: 1rem !important;
}

/* Search button - warm tan styling for light mode */
[data-bs-theme="light"] .btn.search-button,
[data-bs-theme="light"] button[type="submit"],
[data-bs-theme="light"] form .btn {
    background-color: #5a4a3a !important;
    border-color: #5a4a3a !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .btn.search-button:hover,
[data-bs-theme="light"] button[type="submit"]:hover,
[data-bs-theme="light"] form .btn:hover {
    background-color: #4a3a2a !important;
    border-color: #4a3a2a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 74, 58, 0.3) !important;
}

/* ==========================================================================
   9. ARTICLES PAGE - Warm Mystical Styling
   ========================================================================== */

/* Article cards - better styling in light mode */
[data-bs-theme="light"] .article-card,
[data-bs-theme="light"] article.card {
    background-color: #ffffff !important;
    border: 2px solid #d4c8b8 !important;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.1) !important;
}

/* Article titles - warm brown in light mode (NOT blue!) */
[data-bs-theme="light"] .article-card h2,
[data-bs-theme="light"] .article-card h3,
[data-bs-theme="light"] .article-card h4,
[data-bs-theme="light"] .article-card .card-title,
[data-bs-theme="light"] .article-card a h2,
[data-bs-theme="light"] .article-card a h3,
[data-bs-theme="light"] .article-card a h4,
[data-bs-theme="light"] article.card h2,
[data-bs-theme="light"] article.card h3,
[data-bs-theme="light"] article.card h4,
[data-bs-theme="light"] article.card .card-title {
    color: #2a2520 !important; /* Rich dark brown */
    font-family: 'Cinzel', serif !important;
}

/* Article title links - no blue color */
[data-bs-theme="light"] .article-card a,
[data-bs-theme="light"] article.card a {
    color: #2a2520 !important;
    text-decoration: none !important;
}

[data-bs-theme="light"] .article-card a:hover,
[data-bs-theme="light"] article.card a:hover {
    color: #5a4a3a !important;
}

/* Article excerpts/body text - warm dark gray */
[data-bs-theme="light"] .article-card p,
[data-bs-theme="light"] .article-card .card-text,
[data-bs-theme="light"] article.card p,
[data-bs-theme="light"] article.card .card-text {
    color: #4a4a4a !important;
}

/* "READ FULL ARTICLE" button - warm green/brown styling */
[data-bs-theme="light"] .btn-success,
[data-bs-theme="light"] .article-card .btn-success,
[data-bs-theme="light"] article.card .btn-success {
    background-color: #6b8e4e !important; /* Earthy green */
    border-color: #6b8e4e !important;
    color: #ffffff !important;
    font-weight: 600;
}

[data-bs-theme="light"] .btn-success:hover,
[data-bs-theme="light"] .article-card .btn-success:hover,
[data-bs-theme="light"] article.card .btn-success:hover {
    background-color: #5a7a3e !important;
    border-color: #5a7a3e !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 142, 78, 0.3) !important;
}

/* Article search results page heading */
[data-bs-theme="light"] h1,
[data-bs-theme="light"] .page-title {
    color: #5a4a3a !important; /* Warm brown for Cinzel headings */
    font-weight: bold !important
}

/* Article count badge - warm styling */
[data-bs-theme="light"] .badge.bg-success,
[data-bs-theme="light"] .article-count {
    background-color: #6b8e4e !important;
}

/* Article search input on articles page */
[data-bs-theme="light"] .articles-search input,
[data-bs-theme="light"] input[placeholder*="article" i] {
    background-color: #ffffff !important;
    border-color: #d4c8b8 !important;
}

/* Dark mode article styling - keep existing but enhance */
[data-bs-theme="dark"] .article-card,
[data-bs-theme="dark"] article.card {
    background-color: #2b2d42 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-bs-theme="dark"] .article-card h2,
[data-bs-theme="dark"] .article-card h3,
[data-bs-theme="dark"] .article-card h4,
[data-bs-theme="dark"] .article-card .card-title,
[data-bs-theme="dark"] article.card h2,
[data-bs-theme="dark"] article.card h3,
[data-bs-theme="dark"] article.card h4,
[data-bs-theme="dark"] article.card .card-title {
    color: #f8f9fa !important;
    font-family: 'Cinzel', serif !important;
}

/* ==========================================================================
   10. FAQS PAGE - Clean Minimal Styling (Works in Both Modes)
   ========================================================================== */

/* FAQ page title */
.faq-title,
.page-header h1 {
    font-family: 'Cinzel', serif !important;
    margin-bottom: 2rem !important;
}

/* FAQ section headers - Simple text, NO purple background - BETTER SEPARATION */
.accordion-header,
.faq-section-header,
h2.accordion-header,
.accordion-item .accordion-header {
    /*margin-top: 4rem !important; !* More space above sections *!*/
    /*margin-bottom: 2rem !important; !* More space below section headers *!*/
    padding-top: 2rem !important; /* Extra padding for breathing room */
    border-top: 2px solid currentColor !important; /* Subtle separator line */
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* First section - no top border */
.accordion-item:first-child .accordion-header {
    border-top: none !important;
    padding-top: 0 !important;
    margin: 1rem !important;
    margin-left: -0.19rem !important;
    margin-bottom: 0 !important;
}

/* Aggressively remove ALL backgrounds from section header buttons */
.accordion-button,
.accordion-header .accordion-button,
.faq-section-header .accordion-button,
h2.accordion-header button,
.accordion-item h2 button,
button.accordion-button {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    color: inherit !important;
    font-family: 'Cinzel', serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.5rem 0 !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

.accordion-button:not(.collapsed),
button.accordion-button:not(.collapsed) {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    color: inherit !important;
    box-shadow: none !important;
}

.accordion-button:hover,
.accordion-button:focus,
.accordion-button:active,
button.accordion-button:hover,
button.accordion-button:focus,
button.accordion-button:active {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    color: inherit !important;
    box-shadow: none !important;
}

/* FORCE remove the folder icon */
.accordion-button i,
.accordion-button svg,
.accordion-button .fa,
.accordion-button .fas,
.accordion-header i,
.accordion-header svg,
button.accordion-button::before,
.accordion-button::before {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Remove the arrow icon */
.accordion-button::after {
    display: none !important;
}

/* Light mode section header colors */
[data-bs-theme="light"] .accordion-button {
    color: #5a4a3a !important; /* Warm brown */
}

/* Dark mode section header colors */
[data-bs-theme="dark"] .accordion-button {
    color: #e9ecef !important;
}

/* All accordions open by default */
.accordion-collapse {
    display: block !important;
}

/* FAQ accordion items - proper spacing */
.accordion-item {
    background: transparent !important;
    border: none !important;
    margin-bottom: 2.5rem !important;
    padding: 0 1.5rem !important; /* Left and right padding */
}

/* Individual FAQ questions - NO line below */
.accordion-item-header,
.accordion-item h2 button {
    border-bottom: none !important;
}

/* FAQ question text - bold and prominent */
.accordion-body h5,
.accordion-body h6,
.faq-question,
.accordion-item h2 button {
    font-weight: 700 !important;
    font-size: 1.25rem !important; /* Larger questions */
    margin-bottom: 0.5rem !important; /* Reduce space between Q and A */
    border: none !important;
}

[data-bs-theme="light"] .accordion-body h5,
[data-bs-theme="light"] .accordion-body h6,
[data-bs-theme="light"] .faq-question {
    color: #2a2520 !important;
}

[data-bs-theme="dark"] .accordion-body h5,
[data-bs-theme="dark"] .accordion-body h6,
[data-bs-theme="dark"] .faq-question {
    color: #e9ecef !important;
}

/* FAQ accordion body - clean, minimal spacing - BRING Q&A CLOSER */
.accordion-body,
.faq-answer,
.panel-body,
.faq-panel .panel-body {
    background: transparent !important;
    border: none !important;
    padding: 0.25rem 0 1rem 0 !important; /* Very tight spacing between Q&A */
    color: inherit !important;
    border-top: none !important;
}

/* FAQ answer text - larger font size */
.accordion-body p,
.faq-answer p {
    font-size: 1.25rem !important; /* Larger answer text */
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
}

[data-bs-theme="light"] .accordion-body p,
[data-bs-theme="light"] .faq-answer p {
    color: #4a4a4a !important;
}

[data-bs-theme="dark"] .accordion-body p,
[data-bs-theme="dark"] .faq-answer p {
    color: #d0d0d0 !important;
}

/* "Direct link to this FAQ" links */
.faq-link,
.accordion-body a {
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem !important; /* Keep links normal size */
}

[data-bs-theme="light"] .faq-link,
[data-bs-theme="light"] .accordion-body a {
    color: #6b8e4e !important;
}

[data-bs-theme="light"] .faq-link:hover,
[data-bs-theme="light"] .accordion-body a:hover {
    color: #5a7a3e !important;
    text-decoration: underline;
}

[data-bs-theme="dark"] .faq-link,
[data-bs-theme="dark"] .accordion-body a {
    color: #88b86a !important;
}

[data-bs-theme="dark"] .faq-link:hover,
[data-bs-theme="dark"] .accordion-body a:hover {
    color: #a0d080 !important;
    text-decoration: underline;
}

/* AGGRESSIVE OVERRIDES - Remove ALL purple backgrounds from page-specific1.css */
.faq-category-header,
.faq-category-card .card-header,
.panel-heading.faq-category-header {
    border-radius: 10px !important;
    border: 2px solid #4e4826 !important;
    padding: 10px !important;
}

.faq-category-header h2,
.faq-category-header h2 i {
    color: inherit !important;
    font-family: 'Cinzel', serif !important;
    margin: 0 !important;
}

[data-bs-theme="light"] .faq-category-header h2 {
    color: #5a4a3a !important;
}

[data-bs-theme="dark"] .faq-category-header h2 {
    color: #e9ecef !important;
}

/* Remove purple from FAQ category cards */
.faq-category-card,
.faq-panel {

    border-radius: 2px !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* FAQ panels - remove all backgrounds */
.faq-panel .panel-heading {
    padding: 0 !important;
    margin-bottom: 2rem;
    border: 2px solid #5a4a3a !important;
}

.faq-panel .panel-heading a,
.faq-panel .panel-heading a.collapsed {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: inherit !important;
    padding: 0.75rem 0 !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    border: none !important;
}

[data-bs-theme="light"] .faq-panel .panel-heading a {
    color: #2a2520 !important;
}

[data-bs-theme="dark"] .faq-panel .panel-heading a {
    color: #e9ecef !important;
}

.faq-panel .panel-heading a:hover {
    background: transparent !important;
    color: inherit !important;
}

/* Remove FontAwesome arrows */
.faq-panel .panel-heading a:after,
.faq-panel .panel-heading a.collapsed:after {
    display: none !important;
}

/* ==========================================================================
   11. LOGIN PAGE - Dark Mode Improvements
   ========================================================================== */

/* Dark mode: Make login/signup forms stand out with lighter background */
[data-bs-theme="dark"] .card.login-card,
[data-bs-theme="dark"] .card.signup-card {
    background: linear-gradient(135deg, #3a4a5e 0%, #2d3748 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                0 0 40px rgba(138, 43, 226, 0.15) !important;
    border-radius: 12px !important;
    padding: 2.5rem !important;
}

/* Card body inside signup form - remove extra padding, let card padding handle it */
[data-bs-theme="dark"] .card.signup-card .card-body {
    background-color: transparent !important;
    padding: 0 !important;
}

/* Form heading - bright and clear */
[data-bs-theme="dark"] .card.login-card h1,
[data-bs-theme="dark"] .card.login-card h2,
[data-bs-theme="dark"] .card.signup-card h1,
[data-bs-theme="dark"] .card.signup-card h2 {
    color: #ffffff !important;
    font-family: 'Cinzel', serif !important;
    font-size: 2rem !important;
    text-align: center;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 2px 8px rgba(138, 43, 226, 0.3);
}

/* Form labels */
[data-bs-theme="dark"] .card.login-card label,
[data-bs-theme="dark"] .card.login-card .form-label,
[data-bs-theme="dark"] .card.signup-card label,
[data-bs-theme="dark"] .card.signup-card .form-label {
    color: #e9ecef !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
}

/* Form lead text (description) */
[data-bs-theme="dark"] .card.signup-card .lead {
    color: #d0d0d0 !important;
}

/* Form inputs - light background for better visibility */
[data-bs-theme="dark"] .card.login-card input[type="text"],
[data-bs-theme="dark"] .card.login-card input[type="email"],
[data-bs-theme="dark"] .card.login-card input[type="password"],
[data-bs-theme="dark"] .card.login-card input[type="tel"],
[data-bs-theme="dark"] .card.login-card input[type="date"],
[data-bs-theme="dark"] .card.signup-card input[type="text"],
[data-bs-theme="dark"] .card.signup-card input[type="email"],
[data-bs-theme="dark"] .card.signup-card input[type="password"],
[data-bs-theme="dark"] .card.signup-card input[type="tel"],
[data-bs-theme="dark"] .card.signup-card input[type="date"],
[data-bs-theme="dark"] .card.signup-card textarea {
    background-color: rgba(255, 255, 255, 0.12) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-size: 1.125rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .card.login-card input:focus,
[data-bs-theme="dark"] .card.signup-card input:focus,
[data-bs-theme="dark"] .card.signup-card textarea:focus {
    background-color: rgba(255, 255, 255, 0.18) !important;
    border-color: rgba(138, 43, 226, 0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(138, 43, 226, 0.25),
                0 0 20px rgba(138, 43, 226, 0.2) !important;
    outline: none !important;
}

/* Placeholder text */
[data-bs-theme="dark"] .card.login-card input::placeholder,
[data-bs-theme="dark"] .card.login-card textarea::placeholder,
[data-bs-theme="dark"] .card.signup-card input::placeholder,
[data-bs-theme="dark"] .card.signup-card textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Small helper text */
[data-bs-theme="dark"] .card.signup-card .form-text,
[data-bs-theme="dark"] .card.signup-card small {
    color: #b8b8b8 !important;
}

/* Primary button - prominent and mystical */
[data-bs-theme="dark"] .card.login-card .btn-primary,
[data-bs-theme="dark"] .card.login-card button[type="submit"],
[data-bs-theme="dark"] .card.signup-card .btn-primary,
[data-bs-theme="dark"] .card.signup-card button[type="submit"] {
    background: linear-gradient(135deg, #8a2be2 0%, #6a1bb2 100%) !important;
    border: 2px solid rgba(138, 43, 226, 0.5) !important;
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    padding: 0.875rem 2rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

[data-bs-theme="dark"] .card.login-card .btn-primary:hover,
[data-bs-theme="dark"] .card.login-card button[type="submit"]:hover,
[data-bs-theme="dark"] .card.signup-card .btn-primary:hover,
[data-bs-theme="dark"] .card.signup-card button[type="submit"]:hover {
    background: linear-gradient(135deg, #9a3bf2 0%, #7a2bc2 100%) !important;
    border-color: rgba(138, 43, 226, 0.8) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(138, 43, 226, 0.5),
                0 0 40px rgba(138, 43, 226, 0.3) !important;
}

/* Success button - green styling */
[data-bs-theme="dark"] .card.login-card .btn-success,
[data-bs-theme="dark"] .card.signup-card .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%) !important;
    border: 2px solid rgba(40, 167, 69, 0.5) !important;
    color: #ffffff !important;
    font-size: 1.125rem !important;
}

[data-bs-theme="dark"] .card.login-card .btn-success:hover,
[data-bs-theme="dark"] .card.signup-card .btn-success:hover {
    background: linear-gradient(135deg, #2ec551 0%, #28a745 100%) !important;
    border-color: rgba(40, 167, 69, 0.8) !important;
    box-shadow: 0 6px 24px rgba(40, 167, 69, 0.5),
                0 0 40px rgba(40, 167, 69, 0.3) !important;
}

/* Links (forgot password, sign in, etc.) */
[data-bs-theme="dark"] .card.login-card a:not(.btn),
[data-bs-theme="dark"] .card.signup-card a:not(.btn),
[data-bs-theme="dark"] .forgot-password a {
    color: #ba85f7 !important;
    text-decoration: none;
    font-size: 1rem !important;
}

[data-bs-theme="dark"] .card.login-card a:not(.btn):hover,
[data-bs-theme="dark"] .card.signup-card a:not(.btn):hover,
[data-bs-theme="dark"] .forgot-password a:hover {
    color: #d4a8ff !important;
    text-decoration: underline;
}

/* User icon above login form */
[data-bs-theme="dark"] .login-icon,
[data-bs-theme="dark"] .user-icon,
[data-bs-theme="dark"] .card.login-card .login-icon {
    color: #ba85f7 !important;
    filter: drop-shadow(0 4px 12px rgba(138, 43, 226, 0.4));
    text-align: center;
    font-size: 4rem !important;
    margin-bottom: 1rem;
}

/* Divider between sections */
[data-bs-theme="dark"] .card.login-card .divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    margin: 2rem 0;
}

/* Signup section */
[data-bs-theme="dark"] .card.login-card .signup-section h4 {
    color: #ffffff !important;
    font-family: 'Cinzel', serif !important;
    font-size: 1.5rem !important;
    text-align: center;
    margin-bottom: 1rem !important;
}

[data-bs-theme="dark"] .card.login-card .signup-section p {
    color: #d0d0d0 !important;
    text-align: center;
    margin-bottom: 1.5rem !important;
}

/* Light mode forms - warm beige background fills entire card */
[data-bs-theme="light"] .card.login-card,
[data-bs-theme="light"] .card.signup-card {
    background-color: #f5f0e8 !important; /* Warm beige background */
    border: 2px solid #d4c8b8 !important;
    box-shadow: 0 4px 16px rgba(139, 115, 85, 0.15) !important;
    border-radius: 12px !important;
    padding: 2.5rem !important;
}

/* Card body inside signup form - remove extra padding, let card padding handle it */
[data-bs-theme="light"] .card.signup-card .card-body {
    background-color: transparent !important;
    padding: 0 !important;
}

[data-bs-theme="light"] .card.login-card h1,
[data-bs-theme="light"] .card.login-card h2,
[data-bs-theme="light"] .card.signup-card h1,
[data-bs-theme="light"] .card.signup-card h2 {
    color: #2a2520 !important;
    font-family: 'Cinzel', serif !important;
    font-size: 2rem !important;
    text-align: center;
    margin-bottom: 1.5rem !important;
}

[data-bs-theme="light"] .card.login-card .login-icon {
    color: #6b8e4e !important;
    text-align: center;
    font-size: 4rem !important;
    margin-bottom: 1rem;
}

[data-bs-theme="light"] .card.login-card .divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #d4c8b8 50%, transparent 100%);
    margin: 2rem 0;
}

[data-bs-theme="light"] .card.login-card .signup-section h4 {
    color: #2a2520 !important;
    font-family: 'Cinzel', serif !important;
    font-size: 1.5rem !important;
    text-align: center;
    margin-bottom: 1rem !important;
}

[data-bs-theme="light"] .card.login-card input,
[data-bs-theme="light"] .card.signup-card input,
[data-bs-theme="light"] .card.signup-card textarea {
    background-color: #ffffff !important;
    border: 2px solid #d4c8b8 !important;
    color: #2a2520 !important;
    font-size: 1.125rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
}

[data-bs-theme="light"] .card.login-card input:focus,
[data-bs-theme="light"] .card.signup-card input:focus,
[data-bs-theme="light"] .card.signup-card textarea:focus {
    border-color: #5a4a3a !important;
    box-shadow: 0 0 0 0.2rem rgba(90, 74, 58, 0.15) !important;
}

[data-bs-theme="light"] .card.login-card .btn-primary,
[data-bs-theme="light"] .card.login-card button[type="submit"],
[data-bs-theme="light"] .card.signup-card .btn-primary,
[data-bs-theme="light"] .card.signup-card button[type="submit"] {
    background-color: #6b8e4e !important;
    border-color: #6b8e4e !important;
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    padding: 0.875rem 2rem !important;
    border-radius: 8px !important;
}

[data-bs-theme="light"] .card.login-card .btn-primary:hover,
[data-bs-theme="light"] .card.login-card button[type="submit"]:hover,
[data-bs-theme="light"] .card.signup-card .btn-primary:hover,
[data-bs-theme="light"] .card.signup-card button[type="submit"]:hover {
    background-color: #5a7a3e !important;
    border-color: #5a7a3e !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 142, 78, 0.3) !important;
}

/* ==========================================================================
   12. INBOX MESSAGE CONTENT - Dark/Light Mode & Font Size
   ========================================================================== */

/* Message content - larger font size for readability */
.message-content .p-3,
.message-content div,
.conversation-thread .card-body {
    font-size: 1.25rem !important; /* 20px - Comfortable reading size */
    line-height: 1.7 !important;
}

/* Dark mode - Phelan's reply background */
[data-bs-theme="dark"] .message-content .bg-light {
    background-color: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Dark mode - Customer's original message */
[data-bs-theme="dark"] .alert-light {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: #e9ecef !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Dark mode - Conversation thread messages */
[data-bs-theme="dark"] .conversation-thread .card {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .conversation-thread .card-body {
    color: #ffffff !important;
}

/* Light mode - ensure good contrast */
[data-bs-theme="light"] .message-content .bg-light {
    background-color: #f8f9fa !important;
    color: #2a2520 !important;
    border: 1px solid #e9ecef !important;
    font-size: 1.25rem !important;
}

[data-bs-theme="light"] .alert-light {
    background-color: #f8f9fa !important;
    color: #2a2520 !important;
    font-size: 1.25rem !important;
}

/* Message headings - better visibility */
[data-bs-theme="dark"] .message-content h6,
[data-bs-theme="dark"] .alert h6 {
    color: #ffffff !important;
    font-size: 1.125rem !important;
}

[data-bs-theme="light"] .message-content h6,
[data-bs-theme="light"] .alert h6 {
    color: #2a2520 !important;
    font-size: 1.125rem !important;
}

/* ==========================================================================
   13. TESTIMONIALS LIST - Single Column Layout
   ========================================================================== */

.testimonial-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-bs-theme="dark"] .testimonial-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.testimonial-item:last-child {
    border-bottom: none;
}

.testimonial-title {
    font-family: 'Cinzel', serif !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.testimonial-title a {
    color: #0d6efd !important;
    text-decoration: none;
}

.testimonial-title a:hover {
    text-decoration: underline;
}

[data-bs-theme="dark"] .testimonial-title a {
    color: #6ea8fe !important;
}

.testimonial-excerpt {
    font-size: 1.125rem !important;
    line-height: 1.7;
    color: #4a4a4a;
}

[data-bs-theme="dark"] .testimonial-excerpt {
    color: #d0d0d0 !important;
}

/* Pagination styling */
.pagination {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.pagination .page-link {
    color: #0d6efd;
    font-size: 1.125rem;
    padding: 0.5rem 0.75rem;
}

/* Light mode pagination */
[data-bs-theme="light"] .pagination .page-link {
    background-color: #ffffff;
    border-color: #d4c8b8;
    color: #5a4a3a;
}

[data-bs-theme="light"] .pagination .page-link:hover {
    background-color: #f5f0e8;
    border-color: #5a4a3a;
    color: #2a2520;
}

[data-bs-theme="light"] .pagination .page-item.active .page-link {
    background-color: #6b8e4e;
    border-color: #6b8e4e;
    color: #ffffff;
}

[data-bs-theme="light"] .pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #999;
}

/* Dark mode pagination */
[data-bs-theme="dark"] .pagination .page-link {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #6ea8fe;
}

[data-bs-theme="dark"] .pagination .page-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #a8d5ff;
}

[data-bs-theme="dark"] .pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}

[data-bs-theme="dark"] .pagination .page-item.disabled .page-link {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   14. TESTIMONIAL SHOW PAGE - Dark Mode Support
   ========================================================================== */

/* Testimonial content - much larger font for better readability */
.testimonial-content {
    font-size: 1.5rem !important; /* 24px - Much larger for comfortable reading */
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
}

.testimonial-content p {
    margin-bottom: 1.5rem;
    font-size: 1.5rem !important;
}

/* Dark mode - proper background and text color */
[data-bs-theme="dark"] .testimonial-content {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .testimonial-content p,
[data-bs-theme="dark"] .testimonial-content div,
[data-bs-theme="dark"] .testimonial-content span {
    color: #ffffff !important;
}

/* Light mode - clean white background */
[data-bs-theme="light"] .testimonial-content {
    background-color: #ffffff !important;
    border: 1px solid #e9ecef !important;
    color: #2a2520 !important;
}

/* Call-to-action section */
.testimonial-content + hr + div.bg-light {
    padding: 2rem !important;
}

[data-bs-theme="dark"] .testimonial-content + hr + div.bg-light,
[data-bs-theme="dark"] div.bg-light.rounded {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

[data-bs-theme="dark"] .testimonial-content + hr + div.bg-light h4,
[data-bs-theme="dark"] div.bg-light.rounded h4 {
    color: #ffffff !important;
}

[data-bs-theme="dark"] .testimonial-content + hr + div.bg-light p,
[data-bs-theme="dark"] div.bg-light.rounded p {
    color: #d0d0d0 !important;
}

/* More testimonials cards */
[data-bs-theme="dark"] section .card,
[data-bs-theme="dark"] .more-testimonials .card {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-bs-theme="dark"] section .card-title,
[data-bs-theme="dark"] section .card-text,
[data-bs-theme="dark"] .more-testimonials .card-title,
[data-bs-theme="dark"] .more-testimonials .card-text {
    color: #e9ecef !important;
}

/* Author info section */
[data-bs-theme="dark"] header h5 {
    color: #ffffff !important;
}

/* Breadcrumb in dark mode */
[data-bs-theme="dark"] .breadcrumb {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

[data-bs-theme="dark"] .breadcrumb-item a {
    color: #6ea8fe !important;
}

[data-bs-theme="dark"] .breadcrumb-item.active {
    color: #d0d0d0 !important;
}

/* ==========================================================================
   15. RESPONSIVE - Mobile Optimizations
   ========================================================================== */


/* ==========================================================================
   SECTION 7: Overwrites (remaining rules)
   ========================================================================== */

/* Bootstrap 5 Extra-Small Button */
.btn-xs {
    --bs-btn-padding-y: 0.15rem !important;
    --bs-btn-padding-x: 0.35rem !important;
    --bs-btn-font-size: 0.75rem !important;
    line-height: 1 !important;
    border-radius: 0.2rem !important;
}
.icon-btn-xs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 2px !important;
    font-size: 0.75rem;
    line-height: 1;
    min-height: 25px !important;
}
.logout-link {
    color: darkred !important;
    font-weight: bold !important;
}

/* Keep footer brown in light mode - FULL WIDTH */
[data-bs-theme="light"] footer,
[data-bs-theme="light"] .footer {
    background-color: #543d2b !important;
    color: #ffffff !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 2rem 0 !important;
    position: relative;
}

/* Footer container must not constrain width */
[data-bs-theme="light"] footer .container-fluid,
[data-bs-theme="light"] .footer .container-fluid {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Footer row should span full width */
[data-bs-theme="light"] footer .row,
[data-bs-theme="light"] .footer .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

/* Footer columns get padding */
[data-bs-theme="light"] footer .col-12,
[data-bs-theme="light"] .footer .col-12 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

/* Footer text color - ALL text white for readability on brown */
[data-bs-theme="light"] footer,
[data-bs-theme="light"] footer p,
[data-bs-theme="light"] footer .footer-text,
[data-bs-theme="light"] footer span,
[data-bs-theme="light"] footer div,
[data-bs-theme="light"] footer em,
[data-bs-theme="light"] footer i,
[data-bs-theme="light"] footer strong,
[data-bs-theme="light"] footer b {
    color: #ffffff !important;
}

[data-bs-theme="light"] footer a,
[data-bs-theme="light"] .footer a {
    color: #daa520 !important;
}

[data-bs-theme="light"] footer a:hover,
[data-bs-theme="light"] .footer a:hover {
    color: #ffffff !important;
}

/* Light mode content area - blend sidebars with body, cards stand out as white */
[data-bs-theme="light"] body {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

[data-bs-theme="light"] .container-fluid.contentContainer {
    background-color: #f8f9fa !important;
}

/* Sidebar backgrounds - blend with body (light gray) for seamless look */
[data-bs-theme="light"] .sidebar,
[data-bs-theme="light"] .left-column,
[data-bs-theme="light"] .right-column {
    background-color: #f8f9fa !important;
}

/* Content area and columns - same as body for seamless look */
[data-bs-theme="light"] #content,
[data-bs-theme="light"] .content-wrapper {
    background-color: #f8f9fa !important;
}

/* Card styling for light mode - white boxes with shadow for depth */
[data-bs-theme="light"] .card {
    background-color: #ffffff !important;
    border-color: #dee2e6 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

[data-bs-theme="light"] .card-body {
    color: #212529 !important;
}

/* Card headers - ensure visibility and proper contrast */
[data-bs-theme="light"] .card-header {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #dee2e6 !important;
    color: #212529 !important;
}

/* Card header links - dark for visibility */
[data-bs-theme="light"] .card-header a {
    color: #212529 !important;
    font-weight: 600;
}

[data-bs-theme="light"] .card-header a:hover {
    color: #654321 !important; /* Dark brown on hover */
    text-decoration: none !important;
}

/* Colored card headers - keep their backgrounds but ensure text is visible */
[data-bs-theme="light"] .card-header.bg-primary {
    background-color: #c9bca5 !important; /* Match Home link highlight color */
    color: #654321 !important; /* Dark brown text for contrast */
}

[data-bs-theme="light"] .card-header.bg-primary a,
[data-bs-theme="light"] .card-header.bg-primary a:link,
[data-bs-theme="light"] .card-header.bg-primary a:visited {
    color: #654321 !important; /* Dark brown text */
    text-decoration: none !important;
}

[data-bs-theme="light"] .card-header.bg-primary a:hover {
    color: #8b4513 !important; /* Saddle brown on hover */
    text-decoration: underline !important;
}

[data-bs-theme="light"] .card-header.bg-success {
    background-color: #198754 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .card-header.bg-success a,
[data-bs-theme="light"] .card-header.bg-success a:link,
[data-bs-theme="light"] .card-header.bg-success a:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}

[data-bs-theme="light"] .card-header.bg-success a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

[data-bs-theme="light"] .card-header.bg-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .card-header.bg-danger a {
    color: #ffffff !important;
}

[data-bs-theme="light"] .card-header.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

[data-bs-theme="light"] .card-header.bg-warning a {
    color: #212529 !important;
}

/* Ensure dark text in content area */
[data-bs-theme="light"] .contentArea,
[data-bs-theme="light"] .content,
[data-bs-theme="light"] main,
[data-bs-theme="light"] article {
    /*background-color: #ffffff !important;*/
    color: #212529 !important;
}

[data-bs-theme="light"] p,
[data-bs-theme="light"] li,
[data-bs-theme="light"] span,
[data-bs-theme="light"] div {
    color: inherit !important;
}

/* Headers in light mode */
[data-bs-theme="light"] h1,
[data-bs-theme="light"] h2,
[data-bs-theme="light"] h3,
[data-bs-theme="light"] h4,
[data-bs-theme="light"] h5,
[data-bs-theme="light"] h6 {
    color: #212529 !important;
}

/* Links in light mode - context-aware colors */
/* Default links in content area - blue */
[data-bs-theme="light"] a {
    color: #0d6efd;
}

[data-bs-theme="light"] a:hover {
    color: #0a58ca;
}

/* Header links - gold/white for dark background */
[data-bs-theme="light"] #headerContainer a {
    color: #FFD700 !important;
}

[data-bs-theme="light"] #headerContainer a:hover {
    color: #FFFFFF !important;
}

/* Navigation links - match brown navbar background - NO dark gray backgrounds! */
[data-bs-theme="light"] .navbar a,
[data-bs-theme="light"] .navbar .nav-link,
[data-bs-theme="light"] .navbar-nav .nav-link,
[data-bs-theme="light"] .navbar-dark .navbar-nav .nav-link,
[data-bs-theme="light"] #mainNavbar .nav-link,
[data-bs-theme="light"] .nav-item .nav-link,
[data-bs-theme="light"] .navbar .nav-item,
[data-bs-theme="light"] .navbar .navbar-nav .nav-item {
    color: rgba(255, 255, 255, 0.9) !important;
    background-color: transparent !important; /* Transparent to show navbar brown through */
}

/* Hover states - keep transparent or subtle brown tint, NO dark gray */
[data-bs-theme="light"] .navbar a:hover,
[data-bs-theme="light"] .navbar .nav-link:hover,
[data-bs-theme="light"] .navbar-nav .nav-link:hover,
[data-bs-theme="light"] .navbar-dark .navbar-nav .nav-link:hover,
[data-bs-theme="light"] #mainNavbar .nav-link:hover,
[data-bs-theme="light"] .nav-item .nav-link:hover,
[data-bs-theme="light"] .navbar .nav-item:hover,
[data-bs-theme="light"] .navbar-nav .nav-item:hover {
    color: #FFD700 !important;
    background-color: transparent !important; /* Keep transparent on hover */
}

/* Focus states - keep transparent */
[data-bs-theme="light"] .navbar .nav-link:focus,
[data-bs-theme="light"] .navbar a:focus,
[data-bs-theme="light"] .navbar-nav .nav-link:focus,
[data-bs-theme="light"] #mainNavbar .nav-link:focus {
    background-color: transparent !important;
}

/* Active nav link states - subtle highlight without dark background */
[data-bs-theme="light"] .navbar-nav .nav-link.active,
[data-bs-theme="light"] .navbar-dark .navbar-nav .nav-link.active,
[data-bs-theme="light"] #mainNavbar .nav-link.active {
    background-color: transparent !important;
    color: #FFD700 !important;
    font-weight: 600;
    border-bottom: 2px solid #FFD700; /* Underline instead of background */
}

/* Override any Bootstrap default backgrounds */
[data-bs-theme="light"] .navbar-light .navbar-nav .nav-link:hover,
[data-bs-theme="light"] .navbar-light .navbar-nav .nav-link:focus {
    background-color: transparent !important;
}

[data-bs-theme="light"] .navbar-light .navbar-nav .nav-link.active {
    background-color: transparent !important;
}

/* Override navigation-universal.css mobile hover states */
@media (max-width: 991.98px) {
    [data-bs-theme="light"] .navbar-dark .navbar-nav .nav-link:hover,
    [data-bs-theme="light"] .navbar-dark .navbar-nav .nav-link:focus {
        background-color: transparent !important;
    }

    [data-bs-theme="light"] .navbar-dark .navbar-nav .nav-link.active {
        background-color: transparent !important;
        border-bottom: 2px solid #FFD700;
    }
}

/* Icons in navigation - no backgrounds */
[data-bs-theme="light"] .navbar i,
[data-bs-theme="light"] .navbar .fa,
[data-bs-theme="light"] .navbar .fas,
[data-bs-theme="light"] .navbar .far,
[data-bs-theme="light"] .navbar .fab,
[data-bs-theme="light"] .navbar-nav i,
[data-bs-theme="light"] #mainNavbar i {
    background-color: transparent !important;
    color: inherit !important;
}

/* Icon hover states */
[data-bs-theme="light"] .navbar a:hover i,
[data-bs-theme="light"] .navbar .nav-link:hover i,
[data-bs-theme="light"] .navbar-nav .nav-link:hover i {
    background-color: transparent !important;
    color: #FFD700 !important;
}

/* Sidebar links and menu items - dark brown for better theme consistency */
[data-bs-theme="light"] .sidebar a,
[data-bs-theme="light"] .left-column a,
[data-bs-theme="light"] .right-column a,
[data-bs-theme="light"] .list-group-item a,
[data-bs-theme="light"] .list-group-item {
    color: #654321 !important; /* Dark brown */
    text-decoration: none !important;
}

[data-bs-theme="light"] .sidebar a:hover,
[data-bs-theme="light"] .left-column a:hover,
[data-bs-theme="light"] .right-column a:hover,
[data-bs-theme="light"] .list-group-item a:hover,
[data-bs-theme="light"] .list-group-item:hover {
    color: #8b4513 !important; /* Saddle brown on hover */
    text-decoration: underline !important;
}

/* Sidebar menu icons - also brown */
[data-bs-theme="light"] .sidebar i,
[data-bs-theme="light"] .left-column i,
[data-bs-theme="light"] .right-column i,
[data-bs-theme="light"] .list-group-item i {
    color: #654321 !important;
}

/* Recent Articles card - full width links with no gaps, edge-to-edge */
[data-bs-theme="light"] .card-body.p-0 {
    padding: 0 !important;
}

[data-bs-theme="light"] .card-body .list-group-flush {
    margin: 0 !important;
}

[data-bs-theme="light"] .card-body .list-group-flush .list-group-item {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
}

/* Make article links have brown background edge-to-edge */
[data-bs-theme="light"] .card-body .list-group-flush .list-group-item:hover {
    background-color: #c9bca5 !important;
}

[data-bs-theme="light"] .card-body .list-group-flush .list-group-item.active {
    background-color: #c9bca5 !important;
}

/* Add spacing between menu sections in left column */
[data-bs-theme="light"] .left-column nav#sidebar_external,
[data-bs-theme="light"] nav#sidebar_external {
    margin-top: 4rem !important;
}

[data-bs-theme="light"] .left-column nav#sidebar_main {
    margin-bottom: 4rem !important;
}

/* Additional spacing for menu titles */
[data-bs-theme="light"] .left-column h4.menu-title {
    margin-top: 1rem !important;
}

/* Right sidebar special offers - brown links - MORE SPECIFIC */
[data-bs-theme="light"] .right-column .card.border-success a,
[data-bs-theme="light"] .right-column .card-body .offer a,
[data-bs-theme="light"] .right-column .offer a,
[data-bs-theme="light"] .right-column .offer h5 a,
[data-bs-theme="light"] .right-column .offer h4 a,
[data-bs-theme="light"] .right-column .card.border-success .card-body a {
    color: #654321 !important; /* Dark brown */
    text-decoration: none !important;
}

[data-bs-theme="light"] .right-column .card.border-success a:hover,
[data-bs-theme="light"] .right-column .card-body .offer a:hover,
[data-bs-theme="light"] .right-column .offer a:hover,
[data-bs-theme="light"] .right-column .offer h5 a:hover,
[data-bs-theme="light"] .right-column .offer h4 a:hover,
[data-bs-theme="light"] .right-column .card.border-success .card-body a:hover {
    color: #8b4513 !important; /* Saddle brown on hover */
    text-decoration: underline !important;
}

/* Footer links - gold for brown background */
[data-bs-theme="light"] footer a,
[data-bs-theme="light"] .footer a {
    color: #daa520 !important;
}

[data-bs-theme="light"] footer a:hover,
[data-bs-theme="light"] .footer a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Card links - inherit or blue (but not Special Offers card) */
[data-bs-theme="light"] .card:not(.border-success) a {
    color: #0d6efd !important;
}

[data-bs-theme="light"] .card:not(.border-success) a:hover {
    color: #0a58ca !important;
}

/* ==========================================================================
   BUTTON STYLING - Light Mode
   Fix dark brown buttons and ensure proper contrast
   ========================================================================== */

/* Primary buttons - Bootstrap blue - higher specificity to override link colors */
[data-bs-theme="light"] .btn.btn-primary,
[data-bs-theme="light"] a.btn.btn-primary,
[data-bs-theme="light"] button.btn-primary {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .btn.btn-primary:hover,
[data-bs-theme="light"] a.btn.btn-primary:hover,
[data-bs-theme="light"] button.btn-primary:hover {
    background-color: #0a58ca !important;
    border-color: #0a58ca !important;
    color: #ffffff !important;
}

/* Success buttons - green */
[data-bs-theme="light"] .btn.btn-success,
[data-bs-theme="light"] a.btn.btn-success,
[data-bs-theme="light"] button.btn-success {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .btn.btn-success:hover,
[data-bs-theme="light"] a.btn.btn-success:hover,
[data-bs-theme="light"] button.btn-success:hover {
    background-color: #146c43 !important;
    border-color: #146c43 !important;
    color: #ffffff !important;
}

/* Danger buttons - red with white text */
[data-bs-theme="light"] .btn.btn-danger,
[data-bs-theme="light"] a.btn.btn-danger,
[data-bs-theme="light"] button.btn-danger,
[data-bs-theme="light"] .btn-danger,
[data-bs-theme="light"] .btn-danger * {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .btn.btn-danger:hover,
[data-bs-theme="light"] a.btn.btn-danger:hover,
[data-bs-theme="light"] button.btn-danger:hover,
[data-bs-theme="light"] .btn-danger:hover {
    background-color: #b02a37 !important;
    border-color: #b02a37 !important;
    color: #ffffff !important;
}

/* Warning buttons - yellow */
[data-bs-theme="light"] .btn.btn-warning,
[data-bs-theme="light"] a.btn.btn-warning,
[data-bs-theme="light"] button.btn-warning {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #000000 !important;
}

[data-bs-theme="light"] .btn.btn-warning:hover,
[data-bs-theme="light"] a.btn.btn-warning:hover,
[data-bs-theme="light"] button.btn-warning:hover {
    background-color: #e0a800 !important;
    border-color: #e0a800 !important;
    color: #000000 !important;
}

/* Secondary buttons - gray */
[data-bs-theme="light"] .btn.btn-secondary,
[data-bs-theme="light"] a.btn.btn-secondary,
[data-bs-theme="light"] button.btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .btn.btn-secondary:hover,
[data-bs-theme="light"] a.btn.btn-secondary:hover,
[data-bs-theme="light"] button.btn-secondary:hover {
    background-color: #5c636a !important;
    border-color: #5c636a !important;
    color: #ffffff !important;
}

/* Outline buttons - proper borders and hover states */
[data-bs-theme="light"] .btn.btn-outline-primary,
[data-bs-theme="light"] a.btn.btn-outline-primary,
[data-bs-theme="light"] button.btn-outline-primary {
    border-color: #654321 !important;
    color: #654321 !important; /* Dark brown text */
    background-color: transparent !important;
}

[data-bs-theme="light"] .btn.btn-outline-primary:hover,
[data-bs-theme="light"] a.btn.btn-outline-primary:hover,
[data-bs-theme="light"] button.btn-outline-primary:hover {
    background-color: #654321 !important;
    border-color: #654321 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .btn.btn-outline-secondary,
[data-bs-theme="light"] a.btn.btn-outline-secondary,
[data-bs-theme="light"] button.btn-outline-secondary {
    border-color: #6c757d !important;
    color: #6c757d !important;
    background-color: transparent !important;
}

[data-bs-theme="light"] .btn.btn-outline-secondary:hover,
[data-bs-theme="light"] a.btn.btn-outline-secondary:hover,
[data-bs-theme="light"] button.btn-outline-secondary:hover {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .btn.btn-outline-success,
[data-bs-theme="light"] a.btn.btn-outline-success,
[data-bs-theme="light"] button.btn-outline-success {
    border-color: #198754 !important;
    color: #198754 !important;
    background-color: transparent !important;
}

[data-bs-theme="light"] .btn.btn-outline-success:hover,
[data-bs-theme="light"] a.btn.btn-outline-success:hover,
[data-bs-theme="light"] button.btn-outline-success:hover {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .btn.btn-outline-danger,
[data-bs-theme="light"] a.btn.btn-outline-danger,
[data-bs-theme="light"] button.btn-outline-danger {
    border-color: #dc3545 !important;
    color: #dc3545 !important;
    background-color: transparent !important;
}

[data-bs-theme="light"] .btn.btn-outline-danger:hover,
[data-bs-theme="light"] a.btn.btn-outline-danger:hover,
[data-bs-theme="light"] button.btn-outline-danger:hover {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .btn.btn-outline-warning,
[data-bs-theme="light"] a.btn.btn-outline-warning,
[data-bs-theme="light"] button.btn-outline-warning {
    border-color: #ffc107 !important;
    color: #000000 !important;
    background-color: transparent !important;
}

[data-bs-theme="light"] .btn.btn-outline-warning:hover,
[data-bs-theme="light"] a.btn.btn-outline-warning:hover,
[data-bs-theme="light"] button.btn-outline-warning:hover {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #000000 !important;
}

/* Fix dark brown buttons that appear in some areas */
[data-bs-theme="light"] .btn[style*="background-color: #5a4030"],
[data-bs-theme="light"] .btn[style*="background-color:#5a4030"],
[data-bs-theme="light"] .btn[style*="background: #5a4030"],
[data-bs-theme="light"] .btn[style*="background:#5a4030"] {
    background-color: #654321 !important; /* Readable dark brown */
    border-color: #654321 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .btn[style*="background-color: #5a4030"]:hover,
[data-bs-theme="light"] .btn[style*="background: #5a4030"]:hover {
    background-color: #8b4513 !important;
    border-color: #8b4513 !important;
    color: #ffffff !important;
}

/* Breadcrumbs in light mode */
[data-bs-theme="light"] .breadcrumb {
    background-color: #e9ecef !important;
}

[data-bs-theme="light"] .breadcrumb-item,
[data-bs-theme="light"] .breadcrumb-item a {
    color: #495057 !important;
}

/* Fix nearly invisible light gray text (#f3f4f6) */
[data-bs-theme="light"] [style*="color: #f3f4f6"],
[data-bs-theme="light"] [style*="color:#f3f4f6"],
[data-bs-theme="light"] .text-gray-100,
[data-bs-theme="light"] .text-muted-light {
    color: #6c757d !important; /* Medium gray - visible on white */
}

/* Ensure strong/bold text is always dark and visible */
[data-bs-theme="light"] strong,
[data-bs-theme="light"] b,
[data-bs-theme="light"] .font-weight-bold,
[data-bs-theme="light"] .fw-bold {
    color: #212529 !important;
}

/* Dark mode footer - also full width and brown */
[data-bs-theme="dark"] footer,
[data-bs-theme="dark"] .footer {
    background-color: #543d2b !important;
    color: #ffffff !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 2rem 0 !important;
    position: relative;
}

[data-bs-theme="dark"] footer .container-fluid,
[data-bs-theme="dark"] .footer .container-fluid {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

[data-bs-theme="dark"] footer .row,
[data-bs-theme="dark"] .footer .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

[data-bs-theme="dark"] footer .col-12,
[data-bs-theme="dark"] .footer .col-12 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

[data-bs-theme="dark"] footer p,
[data-bs-theme="dark"] footer .footer-text {
    color: #ffffff !important;
}

[data-bs-theme="dark"] footer a {
    color: #daa520 !important;
}

[data-bs-theme="dark"] footer a:hover {
    color: #ffffff !important;
}

/* ==========================================================================
   TABLES - Light Mode
   Ensure tables have proper styling
   ========================================================================== */

[data-bs-theme="light"] table {
    background-color: #ffffff !important;
    color: #212529 !important;
}

[data-bs-theme="light"] table thead,
[data-bs-theme="light"] .table thead {
    background-color: #f0f0f0 !important; /* Slightly darker gray for better definition */
    color: #212529 !important;
}

[data-bs-theme="light"] table thead th,
[data-bs-theme="light"] .table thead th,
[data-bs-theme="light"] table th,
[data-bs-theme="light"] .table th {
    border-bottom: 2px solid #dee2e6 !important;
    background-color: #f0f0f0 !important; /* Light gray, not brown */
    color: #212529 !important; /* Dark text for readability */
    font-weight: 600 !important;
}

[data-bs-theme="light"] table tbody tr {
    border-bottom: 1px solid #dee2e6 !important;
}

[data-bs-theme="light"] table tbody tr:hover {
    background-color: #f8f9fa !important;
}

[data-bs-theme="light"] table tbody td {
    color: #212529 !important;
}

/* Badges in light mode */
[data-bs-theme="light"] .badge {
    font-weight: 600 !important;
}

[data-bs-theme="light"] .badge.bg-primary {
    background-color: #0d6efd !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .badge.bg-success {
    background-color: #198754 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .badge.bg-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000000 !important;
}

[data-bs-theme="light"] .badge.bg-secondary {
    background-color: #6c757d !important;
    color: #ffffff !important;
}

/* Background color classes - ensure proper text contrast */
[data-bs-theme="light"] .bg-primary,
[data-bs-theme="light"] .bg-primary *:not(a):not(.btn),
[data-bs-theme="light"] h4.bg-primary,
[data-bs-theme="light"] .card-header.bg-primary,
[data-bs-theme="light"] .card-header.bg-primary * {
    background-color: #0d6efd !important;
    color: #ffffff !important;
}

[data-bs-theme="light"]  .bg-primary-brown {
    background-color: #bdb3a3 !important; /* Darker tan - warm and professional */
    border-color: #bdb3a3 !important;
    color: #2a2520 !important; /* Dark brown text for contrast */
    font-weight: 600 !important;
    border-bottom: 1px solid #ad9d8d !important; /* Even darker border */
    box-shadow: none !important; /* Remove blue shadow */
    --bs-link-color: #2a2520 !important;
    --bs-link-hover-color: #2a2520 !important;
    --bs-link-color-rgb: 42, 37, 32 !important;
}
[data-bs-theme="light"]  .text-brown {
    color: #2a2520 !important; /* Dark brown text for contrast */

}


[data-bs-theme="light"] .bg-success,
[data-bs-theme="light"] .bg-success *:not(a):not(.btn),
[data-bs-theme="light"] span.bg-success,
[data-bs-theme="light"] div.bg-success,
[data-bs-theme="light"] p.bg-success,
[data-bs-theme="light"] .badge.bg-success {
    background-color: #198754 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .bg-danger,
[data-bs-theme="light"] .bg-danger *:not(a):not(.btn) {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .bg-warning,
[data-bs-theme="light"] .bg-warning *:not(a):not(.btn) {
    background-color: #ffc107 !important;
    color: #000000 !important;
}

[data-bs-theme="light"] .bg-secondary,
[data-bs-theme="light"] .bg-secondary *:not(a):not(.btn) {
    background-color: #6c757d !important;
    color: #ffffff !important;
}

[data-bs-theme="light"] .bg-info,
[data-bs-theme="light"] .bg-info *:not(a):not(.btn) {
    background-color: #0dcaf0 !important;
    color: #000000 !important;
}

[data-bs-theme="light"] .bg-dark,
[data-bs-theme="light"] .bg-dark *:not(a):not(.btn) {

    color: #ffffff !important;
}

[data-bs-theme="light"] .bg-light,
[data-bs-theme="light"] .bg-light *:not(a):not(.btn) {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

/* ==========================================================================
   FLASH ALERTS - Add Top Margin
   ========================================================================== */

[data-bs-theme="light"] .alert,
[data-bs-theme="light"] .alert-success,
[data-bs-theme="light"] .alert-danger,
[data-bs-theme="light"] .alert-warning,
[data-bs-theme="light"] .alert-info {
    margin-top: 1rem !important;
}

/* ==========================================================================
   BROWN BACKGROUND for Article Cards and Similar Elements
   Override bg-primary with warm brown color matching the sidebar
   ========================================================================== */

[data-bs-theme="light"] .card-header.bg-primary.text-white,
[data-bs-theme="light"] .bg-primary.text-white {
    /*background-color: #bdb3a3 !important; !* Warm brown matching sidebar *!*/
    border-color: #bdb3a3 !important;
    color: #2a2520 !important; /* Dark brown text for better contrast */
}

[data-bs-theme="light"] .card-header.bg-primary.text-white a,
[data-bs-theme="light"] .bg-primary.text-white a {
    color: #2a2520 !important; /* Ensure links also have dark brown text */
}

[data-bs-theme="light"] .card-header.bg-primary.text-white a:hover,
[data-bs-theme="light"] .bg-primary.text-white a:hover {
    color: #1a1510 !important; /* Darker brown on hover */
}


