/**
 * Header Concept 5: Moon Phases Arch
 * Theme: Complete lunar cycle with wolf beneath full moon
 * Perfect for: Minimalist, elegant, timeless, highly professional
 * RECOMMENDED: Best light/dark mode compatibility
 */

/* ==========================================================================
   MYSTICAL TYPOGRAPHY - Google Fonts
   Ancient, elegant fonts that enhance the witchy atmosphere
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

/* Cinzel: Ancient Roman-inspired serif for headings - mystical and professional */
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: 3rem !important; /* Even larger for impact */
    margin-bottom: 1.5rem;
}

h2, .h2 {
    font-size: 2.5rem !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;
}

/* Light Mode - Deeper, richer purple-to-blue gradient for better contrast */
[data-bs-theme="light"] #headerContainer {
    background: linear-gradient(180deg, #9B8AC4 0%, #7B88B8 50%, #5A6BA9 100%) !important;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Dark Mode - Deep purple to black gradient */
[data-bs-theme="dark"] #headerContainer {
    background: linear-gradient(180deg, #2D1B4E 0%, #1A1A3E 50%, #0A0A1A 100%) !important;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Moon Phases Container */
.moon-phases-arch {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 900px;
    height: 80px;
    z-index: 1;
}

/* Individual Moon Phase */
.moon-phase {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    position: relative;
}

[data-bs-theme="light"] .moon-phase {
    background: radial-gradient(circle at 30% 30%, #ffffff, #f0f0f0);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9),
                0 0 40px rgba(255, 255, 255, 0.5),
                inset 0 0 10px rgba(0, 0, 0, 0.15);
}

[data-bs-theme="dark"] .moon-phase {
    background: radial-gradient(circle at 30% 30%, #f8f8ff, #d8d8e8);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.6), inset 0 0 10px rgba(100, 100, 120, 0.3);
}

/* Full Moon (center) - larger */
.moon-phase.full-moon {
    width: 80px;
    height: 80px;
    z-index: 2;
}

[data-bs-theme="light"] .moon-phase.full-moon {
    box-shadow: 0 0 35px rgba(255, 255, 255, 1),
                0 0 60px rgba(255, 255, 255, 0.7),
                inset 0 0 15px rgba(220, 220, 255, 0.3);
}

[data-bs-theme="dark"] .moon-phase.full-moon {
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.9), 0 0 100px rgba(200, 200, 255, 0.4);
}

/* New Moon (ends) - darker */
.moon-phase.new-moon {
    background: radial-gradient(circle, #4a4a5a, #2a2a3a);
}

[data-bs-theme="light"] .moon-phase.new-moon {
    background: radial-gradient(circle, #5a5a6a, #3a3a4a);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4),
                inset 0 0 10px rgba(0, 0, 0, 0.6);
}

/* Goddess Symbol overlay on Full Moon */
.full-moon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-image: url('/assets/themes/bootswatch-default/images/goddess-symbol.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
}

[data-bs-theme="dark"] .full-moon::before {
    opacity: 0.5;
    filter: brightness(1.3);
}

/* Wolf Layer - Bottom Left Corner */
#headerContainer .wolf-image {
    position: absolute;
    bottom: 0;
    left: 0;
    max-height: 180px;
    z-index: 2;
    /* Light mode: Soft purple/lavender glow */
    filter: drop-shadow(0 4px 20px rgba(138, 43, 226, 0.5))
            drop-shadow(0 8px 40px rgba(138, 43, 226, 0.3))
            brightness(1.05);
}

[data-bs-theme="dark"] #headerContainer .wolf-image {
    /* Dark mode: Bright white/blue ethereal glow */
    filter: brightness(1.2)
            drop-shadow(0 4px 25px rgba(255, 255, 255, 0.6))
            drop-shadow(0 8px 50px rgba(186, 85, 211, 0.5))
            drop-shadow(0 12px 75px rgba(138, 43, 226, 0.4));
}

/* Stars in dark mode only - Enhanced starfield */
[data-bs-theme="dark"] #headerContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        /* Larger bright stars */
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 15%, white, transparent),
        radial-gradient(2px 2px at 85% 25%, white, transparent),
        radial-gradient(2px 2px at 45% 40%, white, transparent),
        radial-gradient(2px 2px at 75% 50%, white, transparent),
        radial-gradient(2px 2px at 25% 60%, white, transparent),
        radial-gradient(2px 2px at 90% 70%, white, transparent),
        radial-gradient(2px 2px at 55% 80%, white, transparent),
        /* Medium stars */
        radial-gradient(1.5px 1.5px at 15% 20%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 35% 25%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 70% 35%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 50% 55%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 80% 65%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 40% 75%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 65% 85%, rgba(255, 255, 255, 0.9), transparent),
        /* Small twinkling stars */
        radial-gradient(1px 1px at 10% 15%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 30% 18%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 50% 22%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 72% 28%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 88% 32%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 18% 45%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 42% 52%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 63% 58%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 82% 62%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 28% 70%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 48% 78%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 68% 88%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 92% 82%, rgba(255, 255, 255, 0.7), transparent);
    background-size: 100% 100%;
    background-position: 0% 0%;
    opacity: 0.8;
    z-index: 0;
}

/* Text Content - Positioned next to the wolf, close to bottom */
#headerContainer .header-content {
    position: absolute;
    left: 120px;
    bottom: 10px;
    z-index: 3;
    text-align: left;
    color: #ffffff;
    line-height: 1.1;
}

[data-bs-theme="light"] #headerContainer .header-content {
    /* Dark text for excellent contrast on light background */
    color: #1A1A3A;
    text-shadow: none;
}

[data-bs-theme="dark"] #headerContainer .header-content {
    /* Light text with subtle purple glow for dark mode */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9),
                 0 0 10px rgba(0, 0, 0, 0.8),
                 0 0 20px rgba(138, 43, 226, 0.5);
}

#headerContainer .site-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    letter-spacing: 2px;
    line-height: 1;
}

[data-bs-theme="light"] #headerContainer .site-name {
    /* Very dark navy for maximum contrast */
    color: #1A1A3A;
}

[data-bs-theme="dark"] #headerContainer .site-name {
    color: #ffffff;
}

#headerContainer .site-tagline {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

[data-bs-theme="light"] #headerContainer .site-tagline {
    /* Softer dark slate - still excellent contrast */
    color: #2C3E50;
    opacity: 1;
}

[data-bs-theme="dark"] #headerContainer .site-tagline {
    color: #ffffff;
    opacity: 0.9;
}

#headerContainer .site-phone {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
}

#headerContainer .site-phone a {
    text-decoration: none;
    transition: all 0.3s ease;
}

[data-bs-theme="light"] #headerContainer .site-phone {
    /* Keep yellow like dark mode for consistency */
    color: #FFD700 !important;
}

[data-bs-theme="light"] #headerContainer .site-phone a {
    color: #FFD700 !important;
}

[data-bs-theme="light"] #headerContainer .site-phone a:hover {
    color: #FFF !important;
    text-decoration: underline;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

[data-bs-theme="dark"] #headerContainer .site-phone {
    color: #FFD700;
}

[data-bs-theme="dark"] #headerContainer .site-phone a {
    color: #FFD700;
}

[data-bs-theme="dark"] #headerContainer .site-phone a:hover {
    color: #FFF;
    text-decoration: underline;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    #headerContainer {
        min-height: 200px;
    }

    .moon-phases-arch {
        width: 95%;
        height: 60px;
    }

    .moon-phase {
        width: 35px;
        height: 35px;
    }

    .moon-phase.full-moon {
        width: 55px;
        height: 55px;
    }

    .full-moon::before {
        width: 40px;
        height: 40px;
    }

    #headerContainer .wolf-image {
        max-height: 120px;
        bottom: 0;
        left: 0;
    }

    #headerContainer .header-content {
        left: 130px;
        bottom: 15px;
    }

    #headerContainer .site-name {
        font-size: 1.5rem;
        margin-bottom: 0.15rem;
    }

    #headerContainer .site-tagline {
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
    }

    #headerContainer .site-phone {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    #headerContainer {
        min-height: 200px;
        max-height: 200px;
        overflow: hidden;
        position: relative;
    }

    .moon-phases-arch {
        display: none; /* Hide individual phases, show only full moon on mobile */
    }

    /* Large centered moon above the wolf */
    .moon-phase.full-moon {
        display: block;
        position: absolute;
        top: 15px;
        left: 15%;
        transform: none;
        width: 75px;
        height: 75px;
        z-index: 1;
    }

    /* Enhanced moon glow for mobile */
    [data-bs-theme="light"] .moon-phase.full-moon {
        box-shadow: 0 0 40px rgba(255, 255, 255, 1),
                    0 0 70px rgba(255, 255, 255, 0.8),
                    inset 0 0 20px rgba(220, 220, 255, 0.4);
    }

    [data-bs-theme="dark"] .moon-phase.full-moon {
        box-shadow: 0 0 60px rgba(255, 255, 255, 0.95),
                    0 0 120px rgba(200, 200, 255, 0.5);
    }

    /* Goddess symbol larger on mobile */
    .full-moon::before {
        width: 50px;
        height: 50px;
    }

    #headerContainer .wolf-image {
        max-height: 90px;
        max-width: 90px;
        width: auto;
        height: auto;
        object-fit: contain;
    }

    #headerContainer .header-content {
        left: 100px;
        bottom: 10px;
    }

    #headerContainer .site-name {
        font-size: 1.2rem;
        margin-bottom: 0.1rem;
    }

    #headerContainer .site-tagline {
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
    }

    #headerContainer .site-phone {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   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
   ========================================================================== */
