/* Charte graphique IA FICO — administration */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Nunito:wght@300;400;600;700&display=swap');

:root {
    --fico-navy: #0D1B3E;
    --fico-gold: #C9A84C;
    --fico-green: #1A7A5E;
    --fico-gray: #4A5568;
    --fico-white: #FFFFFF;

    --bs-primary: #0D1B3E;
    --bs-primary-rgb: 13, 27, 62;
    --bs-link-color: #0D1B3E;
    --bs-link-hover-color: #1A7A5E;
    --bs-success: #1A7A5E;
    --bs-success-rgb: 26, 122, 94;
}

body {
    font-family: Calibri, Inter, Nunito, sans-serif !important;
    color: var(--fico-gray);
}

h1, h2, h3, h4, h5, h6,
.page-title,
.welcome-text h5 {
    font-family: Georgia, 'Libre Baskerville', serif !important;
    letter-spacing: 0.02em;
    color: var(--fico-navy) !important;
}

.menu-label span {
    color: var(--fico-green) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
}

/* Topbar */
.topbar {
    background: var(--fico-navy) !important;
    border-bottom: 2px solid var(--fico-gold);
}

.topbar-custom .nav-link,
.topbar-custom .welcome-text h5,
.topbar-custom .nav-icon {
    color: rgba(255, 255, 255, 0.9) !important;
}

.topbar-custom .welcome-text h5 {
    color: var(--fico-white) !important;
}

/* Sidebar */
.startbar {
    background: var(--fico-navy) !important;
    border-right: 1px solid rgba(201, 168, 76, 0.2);
}

.startbar .brand {
    border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.startbar .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
}

.startbar .nav-link:hover,
.startbar .nav-link.active {
    color: var(--fico-gold) !important;
    background: rgba(201, 168, 76, 0.1) !important;
}

.startbar .menu-icon {
    color: var(--fico-gold) !important;
}

.startbar .nav-link.active .menu-icon {
    color: var(--fico-gold) !important;
}

/* Boutons */
.btn-primary {
    background-color: var(--fico-gold) !important;
    border-color: var(--fico-gold) !important;
    color: var(--fico-navy) !important;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(201, 168, 76, 0.35) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #d4b45e !important;
    border-color: #d4b45e !important;
    color: var(--fico-navy) !important;
}

.btn-outline-primary {
    color: var(--fico-navy) !important;
    border-color: var(--fico-navy) !important;
}

.btn-outline-primary:hover {
    background: var(--fico-navy) !important;
    color: var(--fico-white) !important;
}

.text-primary {
    color: var(--fico-navy) !important;
}

.bg-primary {
    background-color: var(--fico-navy) !important;
}

.badge.bg-primary {
    background-color: var(--fico-navy) !important;
}

.badge.bg-success,
.btn-success {
    background-color: var(--fico-green) !important;
    border-color: var(--fico-green) !important;
}

/* Cards */
.card {
    border-color: rgba(13, 27, 62, 0.08);
    box-shadow: 0 4px 20px rgba(13, 27, 62, 0.04);
}

.card-header {
    background: rgba(13, 27, 62, 0.03);
    border-bottom: 1px solid rgba(13, 27, 62, 0.08);
}

.page-title-box .page-title {
    color: var(--fico-navy) !important;
}

/* Auth admin */
.auth-header-box {
    background: var(--fico-navy) !important;
    border-bottom: 3px solid var(--fico-gold);
}

.auth-header-box h4 {
    font-family: Georgia, 'Libre Baskerville', serif !important;
    color: var(--fico-white) !important;
}

.auth-header-box .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.form-control:focus {
    border-color: var(--fico-navy);
    box-shadow: 0 0 0 0.2rem rgba(13, 27, 62, 0.15);
}

.form-check-input:checked {
    background-color: var(--fico-green);
    border-color: var(--fico-green);
}

/* Pagination */
.page-item.active .page-link {
    background-color: var(--fico-navy);
    border-color: var(--fico-navy);
}

.page-link {
    color: var(--fico-navy);
}

.page-link:hover {
    color: var(--fico-green);
}

/* Tables */
.table thead th {
    color: var(--fico-navy);
    font-weight: 600;
}

code, pre, .font-monospace {
    font-family: 'JetBrains Mono', ui-monospace, monospace !important;
}
