/* Capitheos - Custom Styles */
/* Dark Theme with Gold Accents */

/* Disable hover/pointer on non-clickable MudListItems */
.mud-list-item:not(.mud-list-item-clickable) {
    cursor: default !important;
}
.mud-list-item:not(.mud-list-item-clickable):hover {
    background-color: transparent !important;
}

:root {
    --capitheos-dark: #0D1B2A;
    --capitheos-dark-surface: #1B2838;
    --capitheos-primary: #1A3B5D;
    --capitheos-gold: #D4AF37;
    --capitheos-gold-light: #F9C74F;
    --capitheos-text: #E0E0E0;
    --capitheos-text-secondary: #B0B0B0;
    --capitheos-green: #06D6A0;
}

/* Global Body */
body {
    background-color: var(--capitheos-dark);
    color: var(--capitheos-text);
    font-family: 'Poppins', 'Roboto', sans-serif;
}

/* Title Typography */
.capitheos-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--capitheos-gold) !important;
    text-transform: uppercase;
}

.gold-text {
    color: var(--capitheos-gold) !important;
}

.text-secondary {
    color: var(--capitheos-text-secondary) !important;
}

/* Hero Section */
.hero-section {
    background-image: url('../images/pantheon-council-wide.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.6) 0%, rgba(26, 59, 93, 0.55) 100%);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--capitheos-gold) !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    font-size: 3.5rem;
}

.hero-subtitle {
    color: var(--capitheos-text) !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Hero Compact - Reduced version */
.hero-section.hero-compact {
    min-height: 35vh;
}

.hero-section.hero-compact .hero-content {
    padding: 40px 0;
}

.hero-section.hero-compact .hero-title {
    font-size: 2.2rem;
}

.hero-image {
    max-width: 100%;
    max-height: 500px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--capitheos-gold) !important;
}

.expertise-section {
    background-color: var(--capitheos-dark-surface);
}

.expertise-card {
    background-color: var(--capitheos-dark) !important;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

/* Pantheon Section */
.pantheon-section {
    background: linear-gradient(180deg, var(--capitheos-dark) 0%, var(--capitheos-dark-surface) 100%);
}

.god-card {
    background-color: var(--capitheos-dark-surface) !important;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    min-height: 320px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center top;
}

.god-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.god-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.85) 0%, rgba(13, 27, 42, 0.95) 100%);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.god-card .mud-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.god-card .mud-card-actions {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.god-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--capitheos-gold);
}

.god-card:hover .god-card-overlay {
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.7) 0%, rgba(13, 27, 42, 0.85) 100%);
    backdrop-filter: blur(1px);
}

.god-icon {
    font-size: 4rem;
    line-height: 1;
}

.god-name {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--capitheos-text) !important;
}

/* Articles Section - Legacy styles removed, now using ArticleCard.razor component styles */

/* Partners Section */
.partners-section {
    background-color: var(--capitheos-dark-surface);
}

.partner-card {
    background-color: var(--capitheos-dark) !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    min-height: 320px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.partner-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.85) 0%, rgba(13, 27, 42, 0.95) 100%);
    backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.partner-card .mud-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.partner-card .mud-card-actions {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    border-color: var(--capitheos-gold);
}

.partner-card:hover .partner-card-overlay {
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.7) 0%, rgba(13, 27, 42, 0.85) 100%);
    backdrop-filter: blur(1px);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--capitheos-dark);
}

.testimonial-card {
    background-color: var(--capitheos-dark-surface) !important;
    border-left: 4px solid var(--capitheos-gold);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--capitheos-primary) 0%, var(--capitheos-dark) 100%);
}

/* Footer */
.capitheos-footer {
    background-color: var(--capitheos-dark);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* ChatBot Styles */
.chatbot-card {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 380px;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    z-index: 1100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    overflow: hidden;
    background-color: var(--capitheos-dark-surface) !important;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.chatbot-header {
    background-color: var(--capitheos-primary) !important;
    color: white;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
    background-color: var(--capitheos-dark) !important;
}

.chatbot-input {
    background-color: var(--capitheos-dark-surface) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* MudBlazor Overrides */
.mud-appbar.capitheos-appbar {
    background-color: var(--capitheos-primary) !important;
}

.mud-paper {
    background-color: var(--capitheos-dark-surface);
}

.mud-card {
    background-color: var(--capitheos-dark-surface);
}

/* ========================================
   Premium Navigation Bar - Glassmorphism
   ======================================== */

.capitheos-navbar {
    background: rgba(13, 27, 42, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    position: sticky !important;
    top: 0;
    z-index: 1100;
}

.navbar-content {
    padding: 0.5rem 0;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a,
.nav-links .mud-nav-link {
    color: var(--capitheos-text) !important;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links .mud-nav-link:hover {
    color: var(--capitheos-gold) !important;
    background: rgba(212, 175, 55, 0.1);
}

/* Logo Styling */
.logo-link {
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.02);
}

.logo-image {
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
    transition: filter 0.3s ease;
}

.logo-link:hover .logo-image {
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.5));
}

/* Navigation Menu Buttons */
.nav-menu-button {
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    color: var(--capitheos-text) !important;
}

.nav-menu-button:hover {
    background: rgba(212, 175, 55, 0.15) !important;
    color: var(--capitheos-gold) !important;
}

.nav-menu-button .mud-icon-root {
    transition: transform 0.3s ease;
}

.nav-menu-button:hover .mud-icon-root {
    transform: rotate(180deg);
}

/* ========================================
   Simple Dropdown Navigation Menus
   ======================================== */

/* Navigation Menu Container */
.nav-menu-container {
    gap: 0.25rem;
}

/* Dropdown Menu Styling */
.nav-dropdown .mud-popover-paper,
.mud-menu .mud-popover-paper {
    background: rgba(27, 40, 56, 0.98) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(212, 175, 55, 0.1) inset !important;
    min-width: min(220px, calc(100vw - 32px));
    padding: 0.5rem 0;
}

/* Menu Section Title */
.menu-section-title {
    color: var(--capitheos-gold) !important;
    font-weight: 600 !important;
    font-size: 0.7rem !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Menu Items Styling */
.mud-menu .mud-menu-item,
.nav-dropdown .mud-menu-item {
    color: var(--capitheos-text) !important;
    padding: 0.6rem 1rem !important;
    transition: all 0.2s ease !important;
    font-size: 0.9rem;
}

.mud-menu .mud-menu-item:hover,
.nav-dropdown .mud-menu-item:hover {
    background: rgba(212, 175, 55, 0.12) !important;
    color: var(--capitheos-gold) !important;
}

.mud-menu .mud-menu-item .mud-icon-root,
.nav-dropdown .mud-menu-item .mud-icon-root {
    color: var(--capitheos-gold) !important;
    opacity: 0.8;
    margin-right: 0.75rem;
    font-size: 1.25rem !important;
    transition: all 0.2s ease;
}

.mud-menu .mud-menu-item:hover .mud-icon-root,
.nav-dropdown .mud-menu-item:hover .mud-icon-root {
    opacity: 1;
    transform: scale(1.1);
}

/* Menu Divider */
.mud-menu .mud-divider,
.nav-dropdown .mud-divider {
    border-color: rgba(212, 175, 55, 0.15) !important;
    margin: 0.25rem 1rem !important;
}

/* Animation for menu appearance */
.mud-popover-open .mud-popover-paper {
    animation: menuFadeIn 0.2s ease-out;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Button */
.search-button {
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

.search-button:hover {
    background: rgba(212, 175, 55, 0.15) !important;
    border-color: var(--capitheos-gold) !important;
    transform: scale(1.05);
}

/* Mon Pantheon Button */
.pantheon-button {
    background: linear-gradient(135deg, var(--capitheos-gold) 0%, #B8962C 100%) !important;
    color: var(--capitheos-dark) !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 25px !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
}

.pantheon-button:hover {
    background: linear-gradient(135deg, #E5C158 0%, var(--capitheos-gold) 100%) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5) !important;
    transform: translateY(-2px);
}

/* Mega Menu Trigger styling */
.mega-menu-trigger .mud-button-root {
    min-width: auto;
}

/* Responsive */
@media (max-width: 1280px) {
    .mega-menu {
        min-width: 700px;
    }

    .mega-menu-medium {
        min-width: 500px;
    }
}

@media (max-width: 960px) {
    .hero-section {
        min-height: 70vh;
    }

    .hero-content {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        max-height: 300px;
        margin-top: 30px;
    }

    .chatbot-card {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }

    /* Mobile Navigation - hide desktop menus */
    .nav-menu-container {
        display: none !important;
    }

    .pantheon-button {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.75rem !important;
    }

    .pantheon-button .mud-icon-root {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .navbar-content {
        padding: 0.25rem 0;
    }

    .capitheos-navbar .capitheos-title {
        font-size: 1rem !important;
    }
}

/* Comparatifs Section */
.comparatifs-section {
    background-color: var(--capitheos-dark);
}

.comparatifs-tabs .mud-tabs-toolbar {
    background-color: var(--capitheos-dark-surface) !important;
    border-radius: 8px;
}

.comparatifs-tabs .mud-tab {
    color: var(--capitheos-text-secondary) !important;
}

.comparatifs-tabs .mud-tab.mud-tab-active {
    color: var(--capitheos-gold) !important;
}

.comparatif-card {
    background-color: var(--capitheos-dark-surface) !important;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.comparatif-card:hover {
    transform: translateY(-3px);
    border-color: var(--capitheos-gold);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

/* Formations Section */
.formations-section {
    background: linear-gradient(180deg, var(--capitheos-dark-surface) 0%, var(--capitheos-dark) 100%);
}

.formation-card {
    background-color: var(--capitheos-dark-surface) !important;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    min-height: 360px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.formation-card:hover {
    transform: translateY(-8px);
    border-color: var(--capitheos-gold);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.formation-icon-container {
    background: linear-gradient(135deg, var(--capitheos-primary) 0%, var(--capitheos-dark) 100%);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.formation-icon {
    color: var(--capitheos-gold) !important;
    font-size: 3rem !important;
}

/* Guides Section */
.guides-section {
    background-color: var(--capitheos-dark-surface);
}

.guide-card {
    background-color: var(--capitheos-dark) !important;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.guide-card:hover {
    border-color: var(--capitheos-gold);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.guide-number {
    background: linear-gradient(135deg, var(--capitheos-gold) 0%, var(--capitheos-gold-light) 100%);
    color: var(--capitheos-dark);
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Forum Section */
.forum-section {
    background: linear-gradient(135deg, var(--capitheos-dark) 0%, var(--capitheos-primary) 50%, var(--capitheos-dark) 100%);
}

.forum-card {
    background-color: var(--capitheos-dark-surface) !important;
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px !important;
}

/* Articles Tabs */
.articles-tabs .mud-tabs-toolbar {
    background-color: var(--capitheos-dark-surface) !important;
    border-radius: 8px;
}

.articles-tabs .mud-tab {
    color: var(--capitheos-text-secondary) !important;
}

.articles-tabs .mud-tab.mud-tab-active {
    color: var(--capitheos-gold) !important;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(180deg, var(--capitheos-dark) 0%, var(--capitheos-dark-surface) 100%);
}

.newsletter-card {
    background: linear-gradient(135deg, var(--capitheos-primary) 0%, var(--capitheos-dark-surface) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px !important;
}

.newsletter-card .mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(212, 175, 55, 0.4) !important;
}

.newsletter-card .mud-input-outlined:hover .mud-input-outlined-border {
    border-color: var(--capitheos-gold) !important;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--capitheos-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--capitheos-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--capitheos-gold-light);
}

/* ========================================
   Page Hero Section (for sub-pages)
   ======================================== */

.page-hero-section {
    background: linear-gradient(135deg, var(--capitheos-dark) 0%, var(--capitheos-primary) 50%, var(--capitheos-dark) 100%);
    position: relative;
    overflow: hidden;
    min-height: 45vh;
    display: flex;
    align-items: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.85) 0%, rgba(26, 59, 93, 0.8) 100%);
    z-index: 0;
}

.page-hero-container {
    position: relative;
    z-index: 1;
}

.page-hero-content {
    padding: 60px 0;
}

.page-hero-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--capitheos-gold) !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.page-hero-subtitle {
    color: var(--capitheos-text) !important;
    font-weight: 500;
}

/* Breadcrumb Styling */
.breadcrumb-link {
    color: var(--capitheos-text-secondary) !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--capitheos-gold) !important;
}

/* ========================================
   Content Section
   ======================================== */

.content-section {
    background-color: var(--capitheos-dark);
}

.content-card {
    background-color: var(--capitheos-dark-surface) !important;
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px !important;
}

/* ========================================
   Metrics Section
   ======================================== */

.metrics-section {
    background-color: var(--capitheos-dark-surface);
}

.metric-card {
    background-color: var(--capitheos-dark) !important;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: var(--capitheos-gold);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
    transform: translateY(-3px);
}

/* ========================================
   Feature Cards
   ======================================== */

.feature-card {
    background-color: var(--capitheos-dark-surface) !important;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--capitheos-gold);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

/* ========================================
   Timeline Styling
   ======================================== */

.mud-timeline-item-dot {
    background-color: var(--capitheos-gold) !important;
}

.mud-timeline-item-connector {
    background-color: rgba(212, 175, 55, 0.3) !important;
}

/* ========================================
   Table Styling
   ======================================== */

.mud-table {
    background-color: var(--capitheos-dark-surface) !important;
}

.mud-table-head {
    background-color: var(--capitheos-dark) !important;
}

.mud-table-head th {
    color: var(--capitheos-gold) !important;
    font-weight: 600;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3) !important;
}

.mud-table-body tr {
    border-bottom: 1px solid rgba(212, 175, 55, 0.1) !important;
}

.mud-table-body tr:hover {
    background-color: rgba(212, 175, 55, 0.05) !important;
}

/* ========================================
   Tabs Styling
   ======================================== */

.mud-tabs .mud-tabs-toolbar {
    background-color: var(--capitheos-dark) !important;
    border-radius: 8px;
}

.mud-tabs .mud-tab {
    color: var(--capitheos-text-secondary) !important;
    transition: color 0.2s ease;
}

.mud-tabs .mud-tab.mud-tab-active {
    color: var(--capitheos-gold) !important;
}

.mud-tabs .mud-tab-slider {
    background-color: var(--capitheos-gold) !important;
}

/* ========================================
   Expansion Panel Styling
   ======================================== */

.mud-expand-panel {
    background-color: var(--capitheos-dark) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    margin-bottom: 0.5rem;
    border-radius: 8px !important;
}

.mud-expand-panel-header {
    color: var(--capitheos-text) !important;
}

.mud-expand-panel-header:hover {
    background-color: rgba(212, 175, 55, 0.05) !important;
}

.mud-expand-panel-content {
    background-color: var(--capitheos-dark-surface) !important;
}

/* ========================================
   Alert Styling
   ======================================== */

.mud-alert {
    border-radius: 8px !important;
}

.mud-alert-info {
    background-color: rgba(33, 150, 243, 0.1) !important;
    border-left: 4px solid #2196f3;
}

.mud-alert-success {
    background-color: rgba(76, 175, 80, 0.1) !important;
    border-left: 4px solid #4caf50;
}

.mud-alert-warning {
    background-color: rgba(255, 152, 0, 0.1) !important;
    border-left: 4px solid #ff9800;
}

.mud-alert-error {
    background-color: rgba(244, 67, 54, 0.1) !important;
    border-left: 4px solid #f44336;
}

/* ========================================
   Chip Styling
   ======================================== */

.mud-chip {
    transition: all 0.2s ease;
}

.mud-chip:hover {
    transform: scale(1.02);
}

/* ========================================
   Rating Styling
   ======================================== */

.mud-rating .mud-icon-root {
    color: var(--capitheos-gold) !important;
}

/* ========================================
   Progress Linear Styling
   ======================================== */

.mud-progress-linear {
    background-color: rgba(212, 175, 55, 0.1) !important;
    border-radius: 4px !important;
}

/* ========================================
   Slider Styling
   ======================================== */

.mud-slider input[type="range"]::-webkit-slider-thumb {
    background-color: var(--capitheos-gold) !important;
}

.mud-slider .mud-slider-track {
    background-color: rgba(212, 175, 55, 0.3) !important;
}

.mud-slider .mud-slider-filled {
    background-color: var(--capitheos-gold) !important;
}

/* ========================================
   Text Field Styling
   ======================================== */

.mud-input-outlined .mud-input-outlined-border {
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.mud-input-outlined:hover .mud-input-outlined-border {
    border-color: rgba(212, 175, 55, 0.5) !important;
}

.mud-input-outlined.mud-input-focused .mud-input-outlined-border {
    border-color: var(--capitheos-gold) !important;
}

/* ========================================
   Financial Disclaimer Banner
   ======================================== */

.financial-disclaimer-home {
    background: rgba(33, 150, 243, 0.08) !important;
    border: 1px solid rgba(33, 150, 243, 0.3) !important;
    border-radius: 8px !important;
}

.financial-disclaimer-home .mud-alert-text {
    color: var(--capitheos-text) !important;
}

.disclaimer-link {
    color: var(--capitheos-gold) !important;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.disclaimer-link:hover {
    color: var(--capitheos-gold-light) !important;
    text-decoration: underline;
}

/* ========================================
   Responsive Adjustments for Pages
   ======================================== */

@media (max-width: 960px) {
    .page-hero-section {
        min-height: 35vh;
    }

    .page-hero-content {
        padding: 40px 0;
    }

    .page-hero-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 600px) {
    .page-hero-section {
        min-height: 30vh;
    }

    .page-hero-content {
        padding: 30px 0;
    }

    .page-hero-title {
        font-size: 1.5rem;
    }

    .metric-card {
        padding: 1rem;
    }
}

/* ========================================
   Panthéon Quick Access Button
   ======================================== */

.pantheon-btn {
    border-color: var(--capitheos-gold) !important;
    color: var(--capitheos-gold) !important;
    font-weight: 600 !important;
    padding: 0.4rem 1rem !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
}

.pantheon-btn:hover {
    background: linear-gradient(135deg, var(--capitheos-gold) 0%, #B8962C 100%) !important;
    color: var(--capitheos-dark) !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-2px);
}

.pantheon-btn .mud-icon-root {
    color: var(--capitheos-gold) !important;
    transition: color 0.3s ease;
}

.pantheon-btn:hover .mud-icon-root {
    color: var(--capitheos-dark) !important;
}

/* Panthéon Mobile Link */
.pantheon-mobile-link {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 8px !important;
    margin: 0.5rem 1rem !important;
    transition: all 0.3s ease !important;
}

.pantheon-mobile-link:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.1) 100%) !important;
    border-color: var(--capitheos-gold) !important;
}

.pantheon-mobile-link .mud-icon-root {
    color: var(--capitheos-gold) !important;
}

/* ============================================
   MudSwitch - Global Toggle Styling
   Activé = doré à droite, Désactivé = sombre à gauche
   ============================================ */

/* Track désactivé - sombre */
.mud-switch-base .mud-switch-track {
    background-color: rgba(255, 255, 255, 0.15) !important;
    opacity: 1 !important;
}

/* Thumb désactivé - gris sombre */
.mud-switch-base .mud-switch-button {
    color: #5a6270 !important;
}

/* Track activé - fond doré */
.mud-switch-base .mud-checked + .mud-switch-track {
    background-color: rgba(212, 175, 55, 0.4) !important;
    opacity: 1 !important;
}

/* Thumb activé - doré vif */
.mud-switch-base .mud-checked {
    color: #D4AF37 !important;
}

/* Hover activé */
.mud-switch-base .mud-checked:hover {
    background-color: rgba(212, 175, 55, 0.12) !important;
}

/* ============================================
   MudButton & MudChip - Dark Theme Visibility Fix
   Color.Default et Color.Dark sont invisibles sur fond sombre
   ============================================ */

/* --- Boutons Filled Default/Dark → doré visible --- */
.mud-button-filled.mud-button-filled-default,
.mud-button-filled.mud-button-filled-dark {
    background-color: rgba(212, 175, 55, 0.15) !important;
    color: var(--capitheos-gold) !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
}

.mud-button-filled.mud-button-filled-default:hover,
.mud-button-filled.mud-button-filled-dark:hover {
    background-color: rgba(212, 175, 55, 0.25) !important;
    border-color: var(--capitheos-gold) !important;
}

/* --- Boutons Outlined Default/Dark → bordure dorée --- */
.mud-button-outlined.mud-button-outlined-default,
.mud-button-outlined.mud-button-outlined-dark {
    border-color: rgba(212, 175, 55, 0.5) !important;
    color: var(--capitheos-gold) !important;
}

.mud-button-outlined.mud-button-outlined-default:hover,
.mud-button-outlined.mud-button-outlined-dark:hover {
    background-color: rgba(212, 175, 55, 0.1) !important;
    border-color: var(--capitheos-gold) !important;
}

/* --- Boutons Text Default/Dark → texte lisible --- */
.mud-button-text.mud-button-text-default,
.mud-button-text.mud-button-text-dark {
    color: var(--capitheos-text) !important;
}

.mud-button-text.mud-button-text-default:hover,
.mud-button-text.mud-button-text-dark:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--capitheos-gold) !important;
}

/* --- Chips Default/Dark → visibles sur fond sombre --- */
.mud-chip-default,
.mud-chip-dark {
    background-color: rgba(212, 175, 55, 0.12) !important;
    color: var(--capitheos-text) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
}

/* --- Chips Outlined Default/Dark --- */
.mud-chip-outlined.mud-chip-default,
.mud-chip-outlined.mud-chip-dark {
    background-color: transparent !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    color: var(--capitheos-text) !important;
}

/* --- IconButton Default/Dark --- */
.mud-icon-button-default,
.mud-icon-button-dark {
    color: var(--capitheos-text) !important;
}

.mud-icon-button-default:hover,
.mud-icon-button-dark:hover {
    background-color: rgba(212, 175, 55, 0.1) !important;
    color: var(--capitheos-gold) !important;
}

/* --- MudBlazor Primary Color Icon Buttons → dorée au lieu de navy --- */
.mud-icon-button-primary {
    color: var(--capitheos-gold) !important;
}

.mud-icon-button-primary:hover {
    background-color: rgba(212, 175, 55, 0.1) !important;
    color: var(--capitheos-gold-light) !important;
}

/* --- Breadcrumbs lisibles --- */
.mud-breadcrumbs li .mud-typography {
    color: var(--capitheos-text-secondary) !important;
}

.mud-breadcrumbs li a .mud-typography {
    color: var(--capitheos-gold) !important;
}

.mud-breadcrumbs li .mud-breadcrumb-separator {
    color: var(--capitheos-text-secondary) !important;
}

/* --- MudNavMenu items lisibles --- */
.mud-nav-link {
    color: var(--capitheos-text) !important;
}

.mud-nav-link:hover {
    color: var(--capitheos-gold) !important;
    background-color: rgba(212, 175, 55, 0.08) !important;
}

/* --- MudDivider visible --- */
.mud-divider {
    border-color: rgba(212, 175, 55, 0.15) !important;
}
