/* RadonPilot — Charte graphique */
body { background-color: #F0F2F5 !important; font-family: 'Figtree', system-ui, sans-serif; }

/* ── Navbar ── */
.rp-navbar { background: #0C2340 !important; border-bottom: 3px solid #D4570A !important; padding: 0.6rem 0 !important; }
.rp-navbar .navbar-brand { display: flex !important; align-items: center !important; gap: 10px !important; text-decoration: none !important; line-height: 1 !important; }
.rp-navbar .navbar-brand span { font-size: 1.1rem !important; font-weight: 600 !important; color: #ffffff !important; }
.rp-navbar .nav-link { color: rgba(255,255,255,0.7) !important; font-size: 0.9rem !important; padding: 0.5rem 0.85rem !important; border-radius: 6px !important; transition: all 0.15s !important; }
.rp-navbar .nav-link:hover { color: #ffffff !important; background: rgba(255,255,255,0.08) !important; }
.rp-navbar .nav-link.active { color: #ffffff !important; background: rgba(255,255,255,0.12) !important; font-weight: 500 !important; }
.rp-navbar .nav-link.rp-admin { color: #F97316 !important; font-weight: 600 !important; }
.rp-navbar .dropdown-toggle { color: rgba(255,255,255,0.85) !important; }
.rp-navbar .dropdown-menu { border: 1px solid #E5E7EB !important; border-radius: 10px !important; box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important; padding: 0.4rem !important; min-width: 200px !important; }
.rp-navbar .dropdown-item { border-radius: 6px !important; font-size: 0.875rem !important; padding: 0.5rem 0.85rem !important; color: #374151 !important; }
.rp-navbar .dropdown-item:hover { background: #F3F4F6 !important; color: #0C2340 !important; }
.rp-navbar .dropdown-divider { margin: 0.3rem 0 !important; border-color: #F3F4F6 !important; }
.rp-navbar .navbar-toggler { border-color: rgba(255,255,255,0.3) !important; }
.rp-navbar .navbar-toggler-icon { filter: invert(1) !important; }

/* ── Avatar ── */
.rp-avatar { width: 30px; height: 30px; border-radius: 50%; background: rgba(212,87,10,0.25); border: 1px solid rgba(212,87,10,0.4); color: #F97316; font-size: 0.72rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-right: 6px; text-transform: uppercase; }

/* ── Main ── */
.rp-main { padding: 0.5rem 0; min-height: calc(100vh - 65px); }

/* ── Boutons ── */
.btn-primary { background-color: #D4570A !important; border-color: #D4570A !important; }
.btn-primary:hover { background-color: #b84808 !important; border-color: #b84808 !important; }
.btn-orange { background-color: #D4570A !important; border-color: #D4570A !important; color: white !important; }
.btn-orange:hover { background-color: #b84808 !important; color: white !important; }
.text-orange { color: #D4570A !important; }

/* ── Guest ── */
.rp-guest-body { min-height: 100vh; background: #F0F2F5; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.rp-guest-wrapper { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 420px; gap: 1.5rem; }
.rp-guest-brand { font-size: 1.35rem; font-weight: 600; color: #0C2340; letter-spacing: -0.01em; }
.rp-guest-tagline { font-size: 0.8rem; color: #9CA3AF; }
.rp-guest-card { background: #ffffff; border-radius: 16px; border: 1px solid #E5E7EB; padding: 2.25rem 2.5rem; width: 100%; box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06); }
.rp-guest-footer { font-size: 0.72rem; color: #9CA3AF; text-align: center; }
.rp-guest-footer a { color: #9CA3AF; text-decoration: underline; }

/* ── Fil d'Ariane ── */
.breadcrumb {
    background: none !important;
    padding: 0 !important;
    margin-bottom: 1rem !important;
    font-size: 0.95rem !important;
}
.breadcrumb-item a {
    color: #185FA5 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.15s !important;
}
.breadcrumb-item a:hover {
    color: #D4570A !important;
    text-decoration: underline !important;
}
.breadcrumb-item.active {
    color: #6B7280 !important;
    font-weight: 400 !important;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "›" !important;
    color: #D1D5DB !important;
    font-size: 1rem !important;
    line-height: 1 !important;
}

/* ── Boutons outline ── */
.btn-outline-primary {
    color: #0C2340 !important;
    border-color: #0C2340 !important;
    background: transparent !important;
    font-weight: 500 !important;
    transition: all 0.15s !important;
}
.btn-outline-primary:hover {
    background: #0C2340 !important;
    color: white !important;
}
.btn-outline-secondary {
    color: #4B5563 !important;
    border-color: #D1D5DB !important;
    background: transparent !important;
    font-weight: 500 !important;
    transition: all 0.15s !important;
}
.btn-outline-secondary:hover {
    background: #F3F4F6 !important;
    color: #0C2340 !important;
    border-color: #9CA3AF !important;
}
.btn-outline-danger {
    color: #991B1B !important;
    border-color: #FCA5A5 !important;
    background: transparent !important;
    transition: all 0.15s !important;
}
.btn-outline-danger:hover {
    background: #FEF2F2 !important;
    color: #7F1D1D !important;
    border-color: #F87171 !important;
}

/* ── Boutons taille sm ── */
.btn-sm {
    font-size: 0.8rem !important;
    padding: 0.35rem 0.85rem !important;
    border-radius: 6px !important;
}

/* ── Cards ── */
.card {
    border-radius: 12px !important;
}
.card-header {
    border-radius: 12px 12px 0 0 !important;
}

/* ── Placeholders ── */
::placeholder {
    color: #C4C9D4 !important;
    font-style: italic !important;
    opacity: 1 !important;
}
::-webkit-input-placeholder {
    color: #C4C9D4 !important;
    font-style: italic !important;
}
::-moz-placeholder {
    color: #C4C9D4 !important;
    font-style: italic !important;
}

/* ── Badges ── */
.badge.bg-info { background-color: #6B7280 !important; color: white !important; }
.btn-outline-primary { color: #D4570A !important; border-color: #D4570A !important; }
.btn-outline-primary:hover { background: #D4570A !important; color: white !important; }

.min-width-0 {
    min-width: 0;
}

@keyframes pulse-cta {
    0%   { box-shadow: 0 0 0 0 rgba(212,87,10,0.7); transform: scale(1) rotate(0deg); }
    10%  { transform: scale(1.05) rotate(-2deg); }
    20%  { transform: scale(1.05) rotate(2deg); }
    30%  { transform: scale(1.05) rotate(-2deg); }
    40%  { transform: scale(1.05) rotate(2deg); }
    50%  { box-shadow: 0 0 0 14px rgba(212,87,10,0); transform: scale(1.07) rotate(0deg); }
    100% { box-shadow: 0 0 0 0 rgba(212,87,10,0); transform: scale(1) rotate(0deg); }
}
