:root {
    --gold-primary: #B89B3E; /* Couleur dorée de la maquette */
    --gold-hover: #a18735;
    --dark-blue: #1A1A2E; /* Couleur sombre de l'en-tête/pied de page */
    --light-bg: #F8F9FA;
    --text-dark: #333;
    --sidebar-bg: #1a2035; /* Dashboard V6 */
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: var(--light-bg); color: var(--text-dark); }

/* --- Header --- */
.site-header { background-color: var(--dark-blue); padding: 15px 0; }
.site-header .navbar-brand img { max-height: 50px; } /* Ajuster selon le logo */
.site-header .nav-link { color: rgba(255,255,255,0.8); font-weight: 500; margin-left: 20px; transition: 0.3s; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--gold-primary); }
.btn-gold-header { background: var(--gold-primary); color: #fff; font-weight: bold; padding: 10px 25px; border-radius: 5px; border: none; transition: 0.3s; }
.btn-gold-header:hover { background: var(--gold-hover); color: #fff; text-decoration: none; }

/* --- Main Content (Verify Page) --- */
.verify-hero { padding: 60px 0; text-align: center; }
.verify-icon-top { font-size: 4rem; color: var(--gold-primary); margin-bottom: 20px; }
.verify-title { font-weight: 700; font-size: 2.5rem; color: var(--dark-blue); }
.verify-subtitle { font-size: 1.1rem; color: #666; margin-bottom: 40px; }

.verify-card { background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); max-width: 800px; margin: 0 auto; }
.verify-label { font-weight: 600; color: var(--dark-blue); margin-bottom: 10px; display: block; }
.verify-input { border: 2px solid #E0E0E0; padding: 15px; font-size: 1.1rem; border-radius: 5px; width: 100%; }
.verify-input:focus { border-color: var(--gold-primary); outline: none; }
.btn-verify-submit { background: var(--gold-primary); color: #fff; font-weight: bold; padding: 15px 30px; border: none; border-radius: 5px; font-size: 1.2rem; width: 100%; margin-top: 25px; transition: 0.3s; }
.btn-verify-submit:hover { background: var(--gold-hover); }
.btn-verify-submit:disabled { background: #ccc; cursor: not-allowed; }

/* --- Loading Bar --- */
.progress-container { height: 25px; background: #e9ecef; border-radius: 50px; overflow: hidden; margin-top: 20px; display: none; box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); }
.progress-bar-custom { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold-primary), #F9F1D8); transition: width 0.1s linear; border-radius: 50px; }
#loadingText { display: none; }

/* --- Results & Errors --- */
#result, #errorBlock { display: none; margin-top: 40px; }
.gold-title { color: var(--gold-primary); border-bottom: 2px solid var(--gold-primary); padding-bottom: 5px; margin: 25px 0 15px 0; font-weight: 700; text-transform: uppercase; font-size: 1.1rem; }
.label-gold { font-size: 0.85rem; font-weight: 600; color: #666; letter-spacing: 0.5px; text-transform: uppercase; }
.val-gold { font-size: 1.1rem; font-weight: 500; color: #000; margin-bottom: 10px; }
.btn-outline-close { color: var(--text-dark); border-color: #ccc; }
.btn-outline-close:hover { background: #eee; }

/* --- "Comment vérifier" Section --- */
.how-to-verify { background: #E9F0F8; padding: 30px; border-radius: 10px; max-width: 800px; margin: 40px auto 0; }
.how-to-title { font-weight: 700; color: var(--dark-blue); margin-bottom: 20px; }
.how-to-list { list-style: none; padding: 0; }
.how-to-list li { margin-bottom: 15px; display: flex; align-items: flex-start; }
.how-to-icon { background: var(--gold-primary); color: #fff; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-right: 15px; flex-shrink: 0; }
.how-to-text strong { color: var(--dark-blue); }

/* --- Footer --- */
.site-footer { background-color: var(--dark-blue); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-logo img { max-height: 50px; margin-bottom: 20px; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 20px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--gold-primary); }
.footer-contact-item { display: flex; align-items: center; margin-bottom: 15px; }
.footer-contact-icon { color: var(--gold-primary); margin-right: 15px; font-size: 1.2rem; }
.footer-bottom { margin-top: 50px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; }
.social-icons a { color: rgba(255,255,255,0.7); margin-left: 15px; font-size: 1.2rem; transition: 0.3s; }
.social-icons a:hover { color: var(--gold-primary); }

/* --- Dashboard & Manual Request (Gold Theme) --- */
.sidebar { min-height: 100vh; background: var(--sidebar-bg); color: #fff; }
.sidebar .profile-box { padding: 30px 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar .avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold-primary); margin-bottom: 10px; background: #fff; }
.sidebar-nav .nav-link { color: #cfd8dc; padding: 12px 20px; border-left: 4px solid transparent; transition:0.3s; }
.sidebar-nav .nav-link:hover, .sidebar-nav .nav-link.active { background: rgba(255,255,255,0.05); color: #fff; border-left-color: var(--gold-primary); }
.dash-card { background: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.verify-widget { background: #fff; border-top: 5px solid var(--gold-primary); padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-radius: 8px; } /* Pour manual_request */

@media (max-width: 768px) {
    .sidebar { min-height: auto; }
    .site-header .navbar-nav { margin-top: 20px; }
    .site-header .nav-link { margin-left: 0; margin-bottom: 10px; }
    .btn-gold-header { width: 100%; text-align: center; }
    .verify-title { font-size: 2rem; }
    .verify-card { padding: 25px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .social-icons { margin-top: 20px; }
}