/* ============================================
   PIBTS CUSTOM STYLES - v2.0.0
   ============================================ */

/* ============================================
   POLICE UNIQUE - Metropolis
   ============================================ */

body {
    font-family: 'Metropolis', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Tous les textes utilisent la même police */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.navbar-brand,
.footer-brand,
.hero-text,
.faq-accordion .accordion-button,
.contact-card h5,
.btn-pibts,
.btn-hero-primary,
.btn-hero-secondary,
.badge-hero,
.section-badge,
.stat-label,
.service-title,
.service-text,
.feature-title-modern,
.feature-text-modern {
    font-family: 'Metropolis', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================
   VARIABLES CSS - COULEURS
   ============================================ */

:root {
    --pibts-orange: #FC6C0F;
    --pibts-orange-dark: #d85a00;
    --pibts-orange-light: rgba(252, 108, 15, 0.08);
    --pibts-orange-soft: rgba(252, 108, 15, 0.15);
    --pibts-blue: #292874;
    --pibts-blue-light: rgba(41, 40, 116, 0.08);
    --pibts-gradient: linear-gradient(135deg, #FC6C0F 0%, #292874 100%);
    --pibts-gradient-reverse: linear-gradient(135deg, #292874 0%, #FC6C0F 100%);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.12);
    --section-light: #f5f7fa;
    --section-white: #ffffff;
    --section-dark: #1a1a2e;
    --card-bg: #ffffff;
}

/* ============================================
   HERO - PLEIN ÉCRAN
   ============================================ */

.hero-fullscreen {
    background: var(--pibts-gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
}

.hero-fullscreen::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    animation: floatBg 20s ease-in-out infinite;
}

.hero-fullscreen::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    animation: floatBg 25s ease-in-out infinite reverse;
}

@keyframes floatBg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.05); }
}

.hero-fullscreen .hero-content {
    position: relative;
    z-index: 2;
}

/* ============================================
   BADGE HERO
   ============================================ */

.badge-hero {
    display: inline-block;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #fff;
}

.badge-hero i {
    margin-right: 0.4rem;
    font-size: 0.65rem;
}

/* ============================================
   TITRE HERO
   ============================================ */

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.hero-title .highlight {
    color: #FFD700;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,215,0,0.25);
    border-radius: 4px;
}

/* ============================================
   TEXTE HERO
   ============================================ */

.hero-text {
    font-size: 0.95rem;
    opacity: 0.85;
    max-width: 520px;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ============================================
   BOUTONS HERO
   ============================================ */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-hero-primary {
    background: #fff;
    color: var(--pibts-orange);
    border: none;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-height: 46px;
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    color: var(--pibts-blue);
}

.btn-hero-primary i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.btn-hero-primary:hover i {
    transform: translateX(4px);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    min-height: 46px;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

/* ============================================
   INFO HERO
   ============================================ */

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    opacity: 0.65;
}

.hero-info span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-info i {
    font-size: 0.75rem;
}

/* ============================================
   ILLUSTRATION HERO
   ============================================ */

.hero-illustration {
    max-width: 85%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    filter: drop-shadow(0 10px 40px rgba(0,0,0,0.06));
    animation: floatImage 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ============================================
   STATS BANNER
   ============================================ */

.stats-banner {
    padding: 40px 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.stat-item-modern {
    padding: 0.5rem;
}

.stat-item-modern .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
}

.stat-item-modern .stat-number.orange { color: var(--pibts-orange); }
.stat-item-modern .stat-number.green { color: #00ac69; }
.stat-item-modern .stat-number.blue { color: #00cfd5; }
.stat-item-modern .stat-number.warning { color: #f4a100; }

.stat-item-modern .stat-label {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.2rem;
}

/* ============================================
   SECTIONS
   ============================================ */

.section-pibts {
    padding: 60px 0;
}

.section-pibts.bg-light {
    background: #f5f7fa !important;
}

.section-pibts.bg-white {
    background: #ffffff !important;
}

.section-header .section-badge {
    display: inline-block;
    background: rgba(252, 108, 15, 0.08);
    color: var(--pibts-orange);
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-header .section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-top: 0.5rem;
    letter-spacing: -0.5px;
}

.section-header .section-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(252, 108, 15, 0.08);
}

.service-card .service-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.3rem;
}

.service-card .service-icon.orange {
    background: rgba(252, 108, 15, 0.08);
    color: var(--pibts-orange);
}

.service-card .service-icon.green {
    background: rgba(0, 172, 105, 0.08);
    color: #00ac69;
}

.service-card .service-icon.blue {
    background: rgba(0, 207, 213, 0.08);
    color: #00cfd5;
}

.service-card .service-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 0.4rem;
}

.service-card .service-text {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.service-card .service-actions {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* ============================================
   FEATURE ITEMS MODERN
   ============================================ */

.feature-item-modern {
    text-align: center;
    padding: 1.25rem 0.75rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.02);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.feature-item-modern .feature-icon-modern {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.2rem;
}

.feature-item-modern .feature-icon-modern.orange {
    background: rgba(252, 108, 15, 0.08);
    color: var(--pibts-orange);
}

.feature-item-modern .feature-icon-modern.green {
    background: rgba(0, 172, 105, 0.08);
    color: #00ac69;
}

.feature-item-modern .feature-icon-modern.blue {
    background: rgba(0, 207, 213, 0.08);
    color: #00cfd5;
}

.feature-item-modern .feature-icon-modern.warning {
    background: rgba(244, 161, 0, 0.08);
    color: #f4a100;
}

.feature-item-modern .feature-title-modern {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a2e;
    margin-bottom: 0.35rem;
}

.feature-item-modern .feature-text-modern {
    color: #6c757d;
    font-size: 0.8rem;
    margin: 0;
}

/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter-section {
    background: #1a1a2e;
    padding: 60px 0;
}

.newsletter-section h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.newsletter-section p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.newsletter-section .form-control {
    border-radius: 50px;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    height: 44px;
}

.newsletter-section .btn-newsletter {
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
    min-height: 44px;
    background: var(--pibts-orange) !important;
    border: none !important;
    color: #fff;
    font-weight: 600;
}

.newsletter-section .btn-newsletter:hover {
    background: var(--pibts-orange-dark) !important;
}

.newsletter-section .newsletter-lock {
    color: rgba(255,255,255,0.25) !important;
    font-size: 0.7rem;
    margin-top: 0.75rem;
}

/* ============================================
   BOUTONS PIBTS
   ============================================ */

.btn-pibts {
    background: var(--pibts-gradient) !important;
    border: none !important;
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 38px;
}

.btn-pibts:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 108, 15, 0.3);
    color: #fff !important;
}

.btn-pibts-sm {
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    min-height: 34px;
}

.btn-pibts-outline {
    border: 2px solid #FC6C0F !important;
    color: #FC6C0F !important;
    background: transparent !important;
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 38px;
}

.btn-pibts-outline:hover {
    background: var(--pibts-gradient) !important;
    color: #fff !important;
    border-color: transparent !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 108, 15, 0.3);
}

.btn-pibts-outline-sm {
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    min-height: 34px;
}

/* ============================================
   FAQ - STYLES SPÉCIFIQUES
   ============================================ */

.max-w-600 {
    max-width: 600px;
}

.faq-accordion .accordion-item {
    border: none;
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.faq-accordion .accordion-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.faq-accordion .accordion-item .accordion-header .accordion-button {
    border-radius: 12px !important;
    padding: 0.85rem 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    background: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-item .accordion-header .accordion-button:not(.collapsed) {
    background: #fff;
    color: var(--pibts-orange);
    box-shadow: none;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.faq-accordion .accordion-item .accordion-header .accordion-button i {
    width: 22px;
    text-align: center;
    font-size: 0.9rem;
}

.faq-accordion .accordion-item .accordion-body {
    padding: 1.1rem;
    color: #4a4a4a;
    line-height: 1.7;
    font-size: 0.85rem;
}

.faq-accordion .accordion-item .accordion-body ul,
.faq-accordion .accordion-item .accordion-body ol {
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}

.faq-accordion .accordion-item .accordion-body li {
    margin-bottom: 0.3rem;
}

.faq-accordion .accordion-item .accordion-body .alert {
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.faq-accordion .accordion-item .accordion-body .alert-info {
    background: rgba(52, 152, 219, 0.06);
    border-color: rgba(52, 152, 219, 0.1);
    color: #2980b9;
}

.faq-accordion .accordion-item .accordion-body .alert-warning {
    background: rgba(244, 161, 0, 0.06);
    border-color: rgba(244, 161, 0, 0.1);
    color: #d48900;
}

.faq-accordion .accordion-item .accordion-body .alert-success {
    background: rgba(0, 172, 105, 0.06);
    border-color: rgba(0, 172, 105, 0.1);
    color: #008b54;
}

.faq-accordion .accordion-item .accordion-body a {
    color: var(--pibts-orange);
    text-decoration: none;
    font-weight: 500;
}

.faq-accordion .accordion-item .accordion-body a:hover {
    text-decoration: underline;
}

/* ============================================
   CONTACT CARDS
   ============================================ */

.contact-card {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem 1.1rem;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.02);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(252, 108, 15, 0.06);
    border-color: rgba(252, 108, 15, 0.05);
}

.contact-card .contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.contact-card .contact-icon.orange {
    background: rgba(252, 108, 15, 0.08);
    color: var(--pibts-orange);
}

.contact-card .contact-icon.green {
    background: rgba(0, 172, 105, 0.08);
    color: #00ac69;
}

.contact-card .contact-icon.blue {
    background: rgba(0, 207, 213, 0.08);
    color: #00cfd5;
}

.contact-card h5 {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a2e;
    margin-bottom: 0.15rem;
}

.contact-card p {
    color: #6c757d;
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
}

.contact-card .contact-phone {
    font-weight: 700;
    color: var(--pibts-orange);
    font-size: 1rem;
}

.contact-card .contact-hours {
    font-size: 0.65rem;
    color: #6c757d;
}

/* ============================================
   NAVBAR AMÉLIORÉE
   ============================================ */

.navbar .dropdown-menu .dropdown-header {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pibts-orange) !important;
    padding: 0.5rem 1rem 0.25rem;
}

.navbar .dropdown-menu .dropdown-item i {
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.navbar .dropdown-menu .dropdown-item:hover i {
    transform: translateX(3px);
}

.navbar .nav-link .fa-chevron-down {
    transition: transform 0.3s ease;
}

.navbar .nav-link.show .fa-chevron-down {
    transform: rotate(180deg);
}

.navbar-marketing .navbar-nav .nav-link.active {
    position: relative;
}

.navbar-marketing .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--pibts-orange);
    border-radius: 4px;
}

.navbar-marketing.navbar-scrolled {
    background: #ffffff !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.navbar-marketing.navbar-scrolled .navbar-nav .nav-link {
    color: #1a1a2e !important;
}

.navbar-marketing.navbar-scrolled .navbar-nav .nav-link:hover {
    color: var(--pibts-orange) !important;
}

.navbar-marketing.navbar-scrolled .navbar-nav .nav-link.active {
    color: var(--pibts-orange) !important;
}

.navbar-marketing.navbar-scrolled .navbar-nav .nav-link.active::after {
    background: var(--pibts-orange);
}

/* ============================================
   PRÉINSCRIPTION - STYLES GÉNÉRAUX
   ============================================ */

.preinscription-hero {
    background: var(--pibts-gradient);
    padding: 120px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.preinscription-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: floatBg 20s ease-in-out infinite;
}

.preinscription-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.preinscription-hero h1 span {
    color: #FFD700;
}

.preinscription-hero .badge-hero {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
}

.preinscription-hero .deadline {
    display: inline-block;
    background: rgba(255,0,0,0.2);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    margin-top: 1rem;
    border: 1px solid rgba(255,0,0,0.3);
    position: relative;
    z-index: 1;
}

/* --- Hero Master (dégradé inversé) --- */
.preinscription-hero-master {
    background: var(--pibts-gradient-reverse) !important;
}

/* --- Info Cards --- */
.info-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--pibts-orange);
}

.info-card-master {
    border-left-color: var(--pibts-blue) !important;
}

.info-card h6 {
    font-weight: 700;
    color: #1a1a2e;
}

.info-card ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.info-card ul li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.document-list {
    list-style: none;
    padding: 0;
}

.document-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.document-list li:last-child {
    border-bottom: none;
}

.document-list li i {
    color: #28a745;
}

/* --- Formulaire Sections --- */
.form-section {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
}

.form-section .section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 1.5rem;
}

.form-section .section-title i {
    color: var(--pibts-orange);
    margin-right: 0.5rem;
}

/* --- Champs --- */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1a1a2e;
    margin-bottom: 0.3rem;
    display: block;
}

.form-group label .required-star {
    color: #dc3545;
    margin-left: 2px;
}

.form-group .form-control,
.form-group .form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
}

.form-group .form-control:focus,
.form-group .form-select:focus {
    border-color: var(--pibts-orange);
    box-shadow: 0 0 0 4px rgba(252, 108, 15, 0.08);
}

.form-group .form-control.is-valid {
    border-color: #28a745;
}

.form-group .form-control.is-invalid {
    border-color: #dc3545;
}

.form-group .invalid-feedback {
    display: block;
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

.form-group .help-text {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* --- Fichiers --- */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper .file-input {
    display: none;
}

.file-upload-wrapper .file-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border: 2px dashed #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.file-upload-wrapper .file-label:hover {
    border-color: var(--pibts-orange);
    background: rgba(252, 108, 15, 0.02);
}

.file-upload-wrapper .file-label .file-icon {
    font-size: 1.2rem;
    color: var(--pibts-orange);
}

.file-upload-wrapper .file-label .file-text {
    flex: 1;
    font-size: 0.85rem;
    color: #6c757d;
}

.file-upload-wrapper .file-label .file-text strong {
    color: #1a1a2e;
}

.file-upload-wrapper .file-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    background: rgba(0, 172, 105, 0.06);
    color: #00ac69;
}

.file-upload-wrapper .file-info.has-file {
    background: rgba(0, 172, 105, 0.06);
    color: #00ac69;
}

.file-upload-wrapper .file-info .file-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.file-upload-wrapper .file-info .file-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    background: #00ac69;
}

/* --- Bouton Submit --- */
.btn-submit {
    background: var(--pibts-gradient);
    border: none;
    padding: 0.75rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    color: #fff;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(252, 108, 15, 0.3);
    color: #fff;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    display: none;
}

.btn-submit.loading .loading-spinner {
    display: inline-block;
}

.btn-submit.loading .btn-text {
    display: none;
}

/* --- Follow Card --- */
.follow-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    overflow: hidden;
}

.follow-card .card-header {
    background: var(--pibts-gradient);
    padding: 1rem 1.5rem;
    border: none;
}

.follow-card .card-header h5 {
    color: #fff;
    font-weight: 700;
    margin: 0;
}

.follow-card .card-body {
    padding: 1.5rem;
}

.follow-card .search-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.follow-card .search-tabs .tab-btn {
    padding: 0.4rem 1.2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    background: transparent;
    color: #6c757d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.follow-card .search-tabs .tab-btn.active {
    background: rgba(252, 108, 15, 0.08);
    color: var(--pibts-orange);
}

.follow-card .search-tabs .tab-btn:hover {
    background: rgba(252, 108, 15, 0.05);
    color: var(--pibts-orange);
}

.follow-card .search-panel {
    display: none;
}

.follow-card .search-panel.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.follow-card .input-group {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.follow-card .input-group:focus-within {
    border-color: var(--pibts-orange);
    box-shadow: 0 0 0 4px rgba(252, 108, 15, 0.08);
}

.follow-card .input-group input {
    border: none;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    background: transparent;
}

.follow-card .input-group input:focus {
    box-shadow: none;
}

.follow-card .input-group .btn-follow {
    background: var(--pibts-gradient);
    border: none;
    color: #fff;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    border-radius: 0 10px 10px 0;
}

.follow-card .input-group .btn-follow:hover {
    opacity: 0.9;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE PRÉINSCRIPTION
   ============================================ */

@media (max-width: 768px) {
    .preinscription-hero {
        padding: 100px 0 40px;
    }
    .preinscription-hero h1 {
        font-size: 2rem;
    }
    .form-section {
        padding: 1.25rem;
    }
    .follow-card .search-tabs {
        flex-direction: column;
    }
    .follow-card .search-tabs .tab-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   RESPONSIVE GLOBAL
   ============================================ */

@media (max-width: 991.98px) {
    .navbar .dropdown-menu {
        background: transparent !important;
        box-shadow: none !important;
        padding-left: 1rem;
        border-left: 2px solid rgba(255,255,255,0.1);
    }
    .navbar.navbar-scrolled .dropdown-menu {
        border-left-color: rgba(0,0,0,0.05);
    }
    .navbar .dropdown-menu .dropdown-item {
        color: rgba(255,255,255,0.8) !important;
        padding: 0.4rem 0.5rem;
    }
    .navbar.navbar-scrolled .dropdown-menu .dropdown-item {
        color: #1a1a2e !important;
    }
    .navbar .dropdown-menu .dropdown-item:hover {
        background: rgba(255,255,255,0.05) !important;
        color: #fff !important;
    }
    .navbar.navbar-scrolled .dropdown-menu .dropdown-item:hover {
        background: var(--pibts-orange-light) !important;
        color: var(--pibts-orange) !important;
    }
    .navbar .dropdown-menu .dropdown-header {
        color: rgba(255,255,255,0.4) !important;
    }
    .navbar.navbar-scrolled .dropdown-menu .dropdown-header {
        color: var(--pibts-orange) !important;
    }
}

@media (max-width: 992px) {
    .hero-fullscreen {
        min-height: auto;
        padding: 80px 0 50px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-illustration {
        max-width: 70%;
    }
    .section-pibts {
        padding: 50px 0;
    }
    .section-header .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .hero-fullscreen {
        padding: 60px 0 30px;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-text {
        font-size: 0.85rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        justify-content: center;
        padding: 0.6rem 1.5rem;
        min-height: 42px;
        font-size: 0.8rem;
    }
    .hero-info {
        flex-direction: column;
        gap: 0.4rem;
        font-size: 0.7rem;
    }
    .stat-item-modern .stat-number {
        font-size: 1.8rem;
    }
    .newsletter-section {
        padding: 50px 0;
    }
    .section-header .section-title {
        font-size: 1.4rem;
    }
    .faq-accordion .accordion-item .accordion-header .accordion-button {
        font-size: 0.82rem;
        padding: 0.7rem 0.9rem;
    }
    .faq-accordion .accordion-item .accordion-body {
        font-size: 0.8rem;
        padding: 0.9rem;
    }
    .contact-card {
        padding: 1rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-fullscreen {
        padding: 50px 0 20px;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .badge-hero {
        font-size: 0.6rem;
        padding: 4px 12px;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        font-size: 0.75rem;
        padding: 0.5rem 1.2rem;
        min-height: 38px;
    }
    .stat-item-modern .stat-number {
        font-size: 1.5rem;
    }
    .service-card {
        padding: 1.25rem 0.75rem;
    }
    .feature-item-modern {
        padding: 0.75rem 0.5rem;
    }
    .section-header .section-title {
        font-size: 1.2rem;
    }
    .faq-accordion .accordion-item .accordion-header .accordion-button {
        font-size: 0.75rem;
        padding: 0.6rem 0.75rem;
    }
    .faq-accordion .accordion-item .accordion-body {
        font-size: 0.75rem;
        padding: 0.75rem;
    }
    .contact-card {
        padding: 0.8rem 0.6rem;
    }
    .contact-card .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ============================================
   LAYOUT AUTH - STYLES COMPACTS AVEC CENTRAGE
   ============================================ */

/* Wrapper qui prend toute la hauteur de l'écran */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--pibts-gradient);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* Effets de fond flottants */
.auth-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: authFloatBg 20s ease-in-out infinite;
    pointer-events: none;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: authFloatBg 25s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes authFloatBg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.05); }
}

/* Conteneur principal - taille compacte */
.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Carte d'authentification - taille compacte */
.auth-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
}

.auth-card:hover {
    transform: translateY(-3px);
}

/* En-tête d'authentification - compact */
.auth-header {
    text-align: center;
    margin-bottom: 18px;
}

.auth-header .logo {
    width: 50px;
    height: 50px;
    background: var(--pibts-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 6px 20px rgba(252, 108, 15, 0.25);
    transition: all 0.3s ease;
}

.auth-header .logo i {
    font-size: 20px;
    color: #fff;
}

.auth-header h1 {
    font-size: 18px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 1px;
    letter-spacing: -0.5px;
}

.auth-header h1 span {
    color: var(--pibts-orange);
}

.auth-header p {
    color: #6c757d;
    font-size: 11px;
    margin: 0;
}

.auth-header .role-badge {
    display: inline-block;
    background: var(--pibts-orange-light);
    color: var(--pibts-orange);
    padding: 2px 12px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 600;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Alertes dans auth */
.auth-card .alert {
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 11px;
    margin-bottom: 14px;
    border: 1px solid transparent;
}

.auth-card .alert-danger {
    background: rgba(232, 21, 0, 0.08);
    border-color: rgba(232, 21, 0, 0.15);
    color: #e81500;
}

.auth-card .alert-success {
    background: rgba(0, 172, 105, 0.08);
    border-color: rgba(0, 172, 105, 0.15);
    color: #00ac69;
}

.auth-card .alert ul {
    padding-left: 1rem;
    margin-bottom: 0;
}

.auth-card .alert ul li {
    font-size: 11px;
}

/* ============================================
   PAGE DE CONNEXION - STYLES COMPACTS
   ============================================ */

/* --- Conteneur principal --- */
.login-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* --- Logo et en-tête compact --- */
.login-header {
    text-align: center;
    margin-bottom: 16px;
}

.login-header .logo-wrapper {
    display: inline-block;
    position: relative;
    margin-bottom: 4px;
}

.login-header .logo-wrapper .ripple-effect {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(252, 108, 15, 0.12);
    animation: loginRipple 2s ease-out infinite;
}

.login-header .logo-icon {
    width: 44px;
    height: 44px;
    background: var(--pibts-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 16px rgba(252, 108, 15, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.login-header .logo-icon.student {
    background: linear-gradient(135deg, #00ac69 0%, #00cfd5 100%);
}

.login-header .logo-icon.teacher {
    background: linear-gradient(135deg, #0061f2 0%, #00cfd5 100%);
}

.login-header .logo-icon.forgot {
    background: linear-gradient(135deg, #f4a100 0%, #f7c948 100%);
}

.login-header .logo-icon.reset {
    background: linear-gradient(135deg, #e81500 0%, #f4a100 100%);
}

.login-header h2 {
    font-weight: 800;
    color: #1a1a2e;
    margin: 2px 0 0;
    font-size: 1rem;
    letter-spacing: -0.3px;
}

.login-header .role-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(252, 108, 15, 0.08), rgba(41, 40, 116, 0.08));
    color: var(--pibts-orange);
    padding: 1px 10px;
    border-radius: 50px;
    font-size: 0.5rem;
    font-weight: 600;
    margin-top: 2px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(252, 108, 15, 0.1);
}

.login-header .role-badge.student {
    color: #00ac69;
    border-color: rgba(0, 172, 105, 0.1);
    background: rgba(0, 172, 105, 0.08);
}

.login-header .role-badge.teacher {
    color: #0061f2;
    border-color: rgba(0, 97, 242, 0.1);
    background: rgba(0, 97, 242, 0.08);
}

.login-header .role-badge.forgot {
    color: #f4a100;
    border-color: rgba(244, 161, 0, 0.1);
    background: rgba(244, 161, 0, 0.08);
}

.login-header .role-badge.reset {
    color: #e81500;
    border-color: rgba(232, 21, 0, 0.1);
    background: rgba(232, 21, 0, 0.08);
}

.login-header p {
    color: #6c757d;
    font-size: 0.65rem;
    margin-top: 2px;
    margin-bottom: 0;
    opacity: 0.8;
}

/* --- Formulaire compact --- */
.login-form .form-group {
    margin-bottom: 10px;
}

.login-form .form-group label {
    font-weight: 600;
    font-size: 0.65rem;
    color: #1a1a2e;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.login-form .form-group label i {
    font-size: 0.6rem;
    color: var(--pibts-orange);
}

.login-form .form-group label .required {
    color: #dc3545;
}

.login-form .form-group .input-group {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
}

.login-form .form-group .input-group:focus-within {
    border-color: var(--pibts-orange);
    box-shadow: 0 0 0 3px rgba(252, 108, 15, 0.08);
}

.login-form .form-group .input-group .input-group-text {
    background: transparent;
    border: none;
    color: #6c757d;
    padding: 0 0 0 10px;
    font-size: 0.7rem;
    transition: color 0.3s ease;
    width: 32px;
    justify-content: center;
}

.login-form .form-group .input-group:focus-within .input-group-text {
    color: var(--pibts-orange);
}

.login-form .form-group .input-group .form-control {
    border: none;
    padding: 6px 10px;
    font-size: 0.75rem;
    background: transparent;
    box-shadow: none;
    height: 32px;
    transition: all 0.3s ease;
}

.login-form .form-group .input-group .form-control:focus {
    box-shadow: none;
}

.login-form .form-group .input-group .form-control::placeholder {
    color: #ced4da;
    font-size: 0.7rem;
}

.login-form .form-group .input-group .toggle-password {
    background: transparent;
    border: none;
    color: #6c757d;
    padding: 0 10px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.7rem;
}

.login-form .form-group .input-group .toggle-password:hover {
    color: var(--pibts-orange);
}

.login-form .form-group .input-group .input-focus-ring {
    position: absolute;
    inset: -2px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.login-form .form-group .input-group:focus-within .input-focus-ring {
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(252, 108, 15, 0.08);
}

.login-form .form-group .help-text {
    display: block;
    font-size: 0.6rem;
    color: #6c757d;
    margin-top: 2px;
}

/* --- Options du formulaire compactes --- */
.login-form .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.login-form .form-options .form-check {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-form .form-options .form-check .form-check-input {
    width: 13px;
    height: 13px;
    border-radius: 3px;
    border: 2px solid #ced4da;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    flex-shrink: 0;
}

.login-form .form-options .form-check .form-check-input:checked {
    background-color: var(--pibts-orange);
    border-color: var(--pibts-orange);
}

.login-form .form-options .form-check .form-check-label {
    font-size: 0.65rem;
    color: #6c757d;
    cursor: pointer;
}

.login-form .form-options a {
    font-size: 0.65rem;
    color: var(--pibts-orange);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.login-form .form-options a:hover {
    color: var(--pibts-orange-dark);
}

.login-form .form-options a i {
    font-size: 0.6rem;
}

/* --- Bouton de connexion compact --- */
.btn-auth {
    width: 100%;
    padding: 7px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    background: var(--pibts-gradient);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 34px;
    letter-spacing: 0.3px;
}

.btn-auth::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 108, 15, 0.3);
}

.btn-auth:hover::before {
    opacity: 1;
}

.btn-auth:active {
    transform: scale(0.97);
}

.btn-auth:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-auth .spinner {
    display: none;
}

.btn-auth.loading .spinner {
    display: inline-block;
    animation: loginSpin 0.8s linear infinite;
}

.btn-auth.loading .btn-text {
    display: none;
}

.btn-auth.student {
    background: linear-gradient(135deg, #00ac69 0%, #00cfd5 100%);
}

.btn-auth.student:hover {
    box-shadow: 0 6px 20px rgba(0, 172, 105, 0.3);
}

.btn-auth.teacher {
    background: linear-gradient(135deg, #0061f2 0%, #00cfd5 100%);
}

.btn-auth.teacher:hover {
    box-shadow: 0 6px 20px rgba(0, 97, 242, 0.3);
}

@keyframes loginSpin {
    to { transform: rotate(360deg); }
}

/* --- Bouton retour accueil compact --- */
.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 4px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background: transparent;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.65rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-home:hover {
    border-color: var(--pibts-orange);
    color: var(--pibts-orange);
    background: rgba(252, 108, 15, 0.04);
    transform: translateY(-2px);
}

.btn-home i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.btn-home:hover i {
    transform: translateX(-3px);
}

/* --- Alertes personnalisées compactes --- */
.alert-custom {
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.7rem;
    margin-bottom: 10px;
    border: 1px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    animation: loginSlideInRight 0.4s ease;
}

.alert-custom.alert-danger {
    background: rgba(232, 21, 0, 0.06);
    border-color: rgba(232, 21, 0, 0.1);
    color: #e81500;
}

.alert-custom.alert-success {
    background: rgba(0, 172, 105, 0.06);
    border-color: rgba(0, 172, 105, 0.1);
    color: #00ac69;
}

.alert-custom .icon {
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

.alert-custom ul {
    padding-left: 0.8rem;
    margin-bottom: 0;
}

.alert-custom ul li {
    font-size: 0.65rem;
}

/* --- Footer de connexion compact --- */
.auth-footer {
    text-align: center;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.auth-footer:hover {
    opacity: 1;
}

.auth-footer p {
    font-size: 0.6rem;
    color: #adb5bd;
    margin: 0;
    transition: color 0.3s ease;
}

.auth-footer p:hover {
    color: #6c757d;
}

/* --- Lien d'inscription compact --- */
.login-register-link {
    font-size: 0.7rem;
    color: #6c757d;
}

.login-register-link a {
    color: var(--pibts-orange);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-register-link a:hover {
    color: var(--pibts-orange-dark);
    text-decoration: underline;
}

/* --- Animations --- */
@keyframes loginFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes loginSlideInRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes loginRipple {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* --- Classes d'animation --- */
.login-animate-in {
    animation: loginFadeInDown 0.4s ease forwards;
    opacity: 0;
}
.login-animate-in-delay-1 { animation-delay: 0.08s; }
.login-animate-in-delay-2 { animation-delay: 0.16s; }
.login-animate-in-delay-3 { animation-delay: 0.24s; }
.login-animate-in-delay-4 { animation-delay: 0.32s; }

/* --- Responsive --- */
@media (max-height: 700px) {
    .auth-card {
        padding: 20px 20px 16px;
        border-radius: 14px;
    }
    .auth-header {
        margin-bottom: 12px;
    }
    .auth-header .logo {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }
    .auth-header .logo i {
        font-size: 16px;
    }
    .auth-header h1 {
        font-size: 16px;
    }
    .auth-header p {
        font-size: 10px;
    }
    .auth-header .role-badge {
        font-size: 8px;
        padding: 1px 10px;
        margin-top: 2px;
    }
    .login-header h2 {
        font-size: 0.9rem;
    }
    .login-header .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
    .login-form .form-group {
        margin-bottom: 8px;
    }
    .login-form .form-group .input-group .form-control {
        height: 28px;
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    .login-form .form-group .input-group .input-group-text {
        padding: 0 0 0 8px;
        font-size: 0.65rem;
        width: 28px;
    }
    .login-form .form-group label {
        font-size: 0.6rem;
    }
    .btn-auth {
        height: 30px;
        font-size: 0.7rem;
        padding: 5px;
    }
    .login-form .form-options {
        margin-bottom: 8px;
    }
    .login-form .form-options .form-check .form-check-label {
        font-size: 0.6rem;
    }
    .login-form .form-options a {
        font-size: 0.6rem;
    }
    .auth-footer {
        margin-top: 8px;
        padding-top: 6px;
    }
    .auth-footer p {
        font-size: 0.55rem;
    }
    .btn-home {
        padding: 3px 10px;
        font-size: 0.6rem;
        margin-top: 4px;
    }
}

@media (max-width: 576px) {
    .auth-wrapper {
        padding: 10px;
    }
    .auth-container {
        max-width: 100%;
        padding: 0 10px;
    }
    .auth-card {
        padding: 22px 18px 18px;
        border-radius: 14px;
    }
    .auth-header h1 {
        font-size: 16px;
    }
    .auth-header .logo {
        width: 44px;
        height: 44px;
    }
    .auth-header .logo i {
        font-size: 18px;
    }
    .login-header h2 {
        font-size: 0.9rem;
    }
    .login-header .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .login-form .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    .btn-auth {
        height: 32px;
        font-size: 0.75rem;
    }
    .btn-home {
        width: 100%;
        justify-content: center;
    }
    .login-register-link {
        font-size: 0.65rem;
    }
}

@media (max-width: 380px) {
    .auth-card {
        padding: 16px 14px 14px;
        border-radius: 12px;
    }
    .auth-header h1 {
        font-size: 14px;
    }
    .auth-header .logo {
        width: 36px;
        height: 36px;
    }
    .auth-header .logo i {
        font-size: 14px;
    }
    .auth-header p {
        font-size: 9px;
    }
    .login-header h2 {
        font-size: 0.8rem;
    }
    .login-header .logo-icon {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
    .login-form .form-group .input-group .form-control {
        height: 26px;
        padding: 3px 6px;
        font-size: 0.65rem;
    }
    .login-form .form-group .input-group .input-group-text {
        padding: 0 0 0 6px;
        font-size: 0.6rem;
        width: 24px;
    }
    .btn-auth {
        height: 28px;
        font-size: 0.65rem;
        padding: 4px;
    }
    .login-form .form-group label {
        font-size: 0.55rem;
    }
    .auth-footer p {
        font-size: 0.5rem;
    }
}

/* Réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
    .auth-wrapper::before,
    .auth-wrapper::after,
    .auth-header .logo {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    .auth-card:hover {
        transform: none !important;
    }
    .login-animate-in {
        animation-duration: 0.01ms !important;
        opacity: 1 !important;
    }
}

/* ============================================
   CLASSES UTILITAIRES PIBTS
   ============================================ */

/* --- Couleurs --- */
.text-pibts { color: var(--pibts-orange) !important; }
.text-pibts-dark { color: var(--pibts-orange-dark) !important; }
.text-pibts-blue { color: var(--pibts-blue) !important; }
.text-white-75 { color: rgba(255,255,255,0.75) !important; }
.text-muted { color: #6c757d !important; }

/* --- Fonds --- */
.bg-pibts { background: var(--pibts-gradient) !important; }
.bg-pibts-reverse { background: var(--pibts-gradient-reverse) !important; }
.bg-pibts-soft { background: var(--pibts-orange-light) !important; }
.bg-light { background-color: #f8f9fa !important; }
.bg-white { background-color: #fff !important; }
.bg-dark { background-color: #1a1a2e !important; }

/* --- Typographie --- */
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

/* --- Autres --- */
.text-center { text-align: center !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }

/* ============================================
   LAYOUT AUTH - STYLES COMPLETS AVEC CENTRAGE
   ============================================ */

/* Wrapper qui prend toute la hauteur de l'écran */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh; /* Pour les navigateurs mobiles modernes */
    background: var(--pibts-gradient);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* Effets de fond flottants */
.auth-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: authFloatBg 20s ease-in-out infinite;
    pointer-events: none;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: authFloatBg 25s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes authFloatBg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.05); }
}

/* Conteneur principal */
.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

/* Carte d'authentification */
.auth-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl, 24px);
    padding: 40px 35px;
    box-shadow: var(--shadow-xl, 0 30px 80px rgba(0, 0, 0, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
}

.auth-card:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-height: 700px) {
    .auth-card {
        padding: 30px 25px;
    }
    .auth-header {
        margin-bottom: 20px;
    }
    .auth-header .logo {
        width: 56px;
        height: 56px;
        margin-bottom: 10px;
    }
    .auth-header .logo i {
        font-size: 22px;
    }
    .auth-header h1 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .auth-wrapper {
        padding: 10px;
        align-items: center;
        min-height: 100dvh;
    }
    .auth-card {
        padding: 25px 18px;
        border-radius: 20px;
    }
    .auth-header h1 {
        font-size: 18px;
    }
    .auth-header .logo {
        width: 50px;
        height: 50px;
    }
    .auth-header .logo i {
        font-size: 20px;
    }
    .auth-header p {
        font-size: 12px;
    }
    .auth-header .role-badge {
        font-size: 10px;
        padding: 3px 12px;
    }
}

@media (max-width: 380px) {
    .auth-card {
        padding: 20px 14px;
    }
    .auth-header h1 {
        font-size: 16px;
    }
    .auth-header .logo {
        width: 44px;
        height: 44px;
    }
    .auth-header .logo i {
        font-size: 18px;
    }
}

/* Réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
    .auth-wrapper::before,
    .auth-wrapper::after,
    .auth-header .logo {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    .auth-card:hover {
        transform: none !important;
    }
}

/* ============================================
   PAGE D'INSCRIPTION ÉTUDIANT - STYLES
   ============================================ */

/* Container d'inscription - plus large */
.register-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
}

/* Boîte d'info de vérification */
.register-info-box {
    background: rgba(0, 172, 105, 0.06);
    border: 1px solid rgba(0, 172, 105, 0.12);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.register-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 172, 105, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ac69;
    font-size: 1rem;
    flex-shrink: 0;
}

.register-info-text {
    flex: 1;
    min-width: 0;
}

.register-info-title {
    font-weight: 600;
    color: #1a1a2e;
    font-size: 0.8rem;
}

.register-info-sub {
    font-size: 0.7rem;
    color: #6c757d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.register-info-sub strong {
    color: #1a1a2e;
}

/* Force du mot de passe */
.password-strength {
    height: 4px;
    border-radius: 4px;
    margin-top: 6px;
    background: #e9ecef;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
    width: 0%;
    background: #e9ecef;
}

.password-strength-bar.weak { background: #e81500; width: 25%; }
.password-strength-bar.medium { background: #f4a100; width: 50%; }
.password-strength-bar.strong { background: #3498db; width: 75%; }
.password-strength-bar.very-strong { background: #00ac69; width: 100%; }

.password-strength-text {
    font-size: 0.6rem;
    margin-top: 3px;
    font-weight: 500;
    color: #6c757d;
}

.password-strength-text.weak { color: #e81500; }
.password-strength-text.medium { color: #f4a100; }
.password-strength-text.strong { color: #3498db; }
.password-strength-text.very-strong { color: #00ac69; }

/* Checkbox personnalisée */
.register-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
}

.register-form .form-check-input {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 3px;
    border: 2px solid #ced4da;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.register-form .form-check-input:checked {
    background-color: var(--pibts-orange, #FC6C0F);
    border-color: var(--pibts-orange, #FC6C0F);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.register-form .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(252, 108, 15, 0.15);
}

.register-form .form-check-input.is-invalid {
    border-color: #dc3545;
}

.register-form .form-check-label {
    font-size: 0.75rem;
    color: #4a515b;
    cursor: pointer;
    line-height: 1.4;
}

.register-form .form-check-label a {
    color: var(--pibts-orange, #FC6C0F);
    text-decoration: none;
    font-weight: 500;
}

.register-form .form-check-label a:hover {
    text-decoration: underline;
}

.register-form .form-check-label .text-danger {
    color: #dc3545;
}

/* Responsive inscription */
@media (max-width: 576px) {
    .register-container {
        max-width: 100%;
        padding: 0 4px;
    }
    .register-info-box {
        padding: 8px 12px;
        gap: 8px;
    }
    .register-info-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    .register-info-title {
        font-size: 0.7rem;
    }
    .register-info-sub {
        font-size: 0.6rem;
    }
    .register-form .form-check-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 380px) {
    .register-info-sub {
        white-space: normal;
    }
}

/* ============================================
   PAGE D'ACTIVATION DE COMPTE - STYLES
   ============================================ */

/* Container d'activation */
.activation-container {
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
}

/* Carte d'activation */
.activation-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: var(--shadow-md, 0 8px 30px rgba(0, 0, 0, 0.06));
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.02);
    width: 100%;
}

/* Icône d'activation */
.activation-icon {
    width: 90px;
    height: 90px;
    background: rgba(0, 172, 105, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2.8rem;
    color: #00ac69;
    animation: activationPulse 2s ease-in-out infinite;
}

@keyframes activationPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

/* Titre d'activation */
.activation-card .activation-subtitle {
    font-size: 1rem;
    color: #00ac69;
    font-weight: 600;
    margin-bottom: 4px;
}

.activation-card h2 {
    font-weight: 800;
    color: #1a1a2e;
    font-size: 1.5rem;
    margin: 0 0 8px;
}

.activation-card h2 span {
    color: var(--pibts-orange, #FC6C0F);
}

.activation-card .activation-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0 0 16px;
    line-height: 1.6;
}

/* Liste des fonctionnalités */
.activation-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 16px 0 20px;
    text-align: left;
}

.activation-features .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #4a515b;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activation-features .feature-item:hover {
    background: rgba(252, 108, 15, 0.05);
    transform: translateX(2px);
}

.activation-features .feature-item i {
    color: var(--pibts-orange, #FC6C0F);
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* Boutons d'activation */
.btn-activation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--pibts-gradient);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-activation:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 108, 15, 0.3);
    color: #fff;
}

.btn-activation-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--pibts-orange, #FC6C0F);
    border-radius: 10px;
    color: var(--pibts-orange, #FC6C0F);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-activation-outline:hover {
    background: var(--pibts-orange, #FC6C0F);
    color: #fff;
    transform: translateY(-2px);
}

.activation-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4px;
}

.activation-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.activation-footer p {
    font-size: 0.7rem;
    color: #6c757d;
    margin: 0;
}

.activation-footer p i {
    margin-right: 4px;
}

/* Responsive activation */
@media (max-width: 576px) {
    .activation-container {
        max-width: 100%;
        padding: 0 4px;
    }
    .activation-card {
        padding: 20px 16px;
        border-radius: 14px;
    }
    .activation-icon {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
    }
    .activation-card h2 {
        font-size: 1.2rem;
    }
    .activation-card .activation-subtitle {
        font-size: 0.9rem;
    }
    .activation-card .activation-description {
        font-size: 0.8rem;
    }
    .activation-features {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .activation-features .feature-item {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    .btn-activation,
    .btn-activation-outline {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }
    .activation-actions {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 380px) {
    .activation-card {
        padding: 16px 12px;
    }
    .activation-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    .activation-card h2 {
        font-size: 1rem;
    }
}

/* ============================================
   PAGE DE CONSULTATION PRÉINSCRIPTION - STYLES
   ============================================ */

/* Page de consultation */
.consultation-page {
    padding: 40px 0 60px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Hero consultation */
.consultation-hero {
    background: var(--pibts-gradient);
    padding: 50px 0 35px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.consultation-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    animation: consultationFloat 20s ease-in-out infinite;
}

@keyframes consultationFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 20px); }
}

.consultation-hero .consultation-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.consultation-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    margin: 8px 0 4px;
}

.consultation-hero h1 span {
    color: #FFD700;
}

.consultation-hero p {
    opacity: 0.8;
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: 0.95rem;
}

/* Carte de consultation */
.consultation-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md, 0 8px 30px rgba(0, 0, 0, 0.06));
    border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Icône de recherche */
.consultation-search-icon {
    width: 64px;
    height: 64px;
    background: rgba(252, 108, 15, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 1.8rem;
    color: var(--pibts-orange, #FC6C0F);
}

.consultation-card .consultation-title {
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 4px;
    font-size: 1.2rem;
}

.consultation-card .consultation-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Onglets de recherche */
.consultation-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.consultation-tabs .tab-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    background: transparent;
    color: #6c757d;
    transition: all 0.3s ease;
    cursor: pointer;
}

.consultation-tabs .tab-btn.active {
    background: rgba(252, 108, 15, 0.08);
    color: var(--pibts-orange, #FC6C0F);
}

.consultation-tabs .tab-btn:hover {
    background: rgba(252, 108, 15, 0.05);
    color: var(--pibts-orange, #FC6C0F);
}

.consultation-tabs .tab-btn i {
    margin-right: 6px;
}

/* Panneau de recherche */
.consultation-panel {
    display: none;
}

.consultation-panel.active {
    display: block;
    animation: consultationFadeIn 0.3s ease;
}

@keyframes consultationFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Formulaire de recherche */
.consultation-form .input-group {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    background: #fff;
}

.consultation-form .input-group:focus-within {
    border-color: var(--pibts-orange, #FC6C0F);
    box-shadow: 0 0 0 4px rgba(252, 108, 15, 0.08);
}

.consultation-form .input-group input {
    border: none;
    padding: 10px 16px;
    font-size: 0.9rem;
    background: transparent;
    box-shadow: none;
    height: 44px;
}

.consultation-form .input-group input:focus {
    box-shadow: none;
}

.consultation-form .input-group .btn-search {
    background: var(--pibts-gradient);
    border: none;
    color: #fff;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 0.85rem;
    height: 44px;
    white-space: nowrap;
}

.consultation-form .input-group .btn-search:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.consultation-form .input-group .btn-search:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.consultation-form .search-help {
    text-align: center;
    margin-top: 8px;
}

.consultation-form .search-help small {
    font-size: 0.7rem;
    color: #6c757d;
}

/* Résultats */
.consultation-result {
    margin-top: 1.5rem;
    animation: consultationFadeIn 0.5s ease;
}

.consultation-result .result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 8px;
}

.consultation-result .result-badge {
    background: rgba(0, 172, 105, 0.1);
    color: #00ac69;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.consultation-result .result-badge i {
    margin-right: 4px;
}

.consultation-result .btn-back-search {
    background: transparent;
    border: 1px solid #e9ecef;
    padding: 6px 14px;
    border-radius: 8px;
    color: #6c757d;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.consultation-result .btn-back-search:hover {
    background: #f8f9fa;
    border-color: var(--pibts-orange, #FC6C0F);
    color: var(--pibts-orange, #FC6C0F);
}

/* Profil résumé */
.consultation-profile {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 14px 18px;
    background: #FFF8F0;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(252,108,15,0.1);
    flex-wrap: wrap;
}

.consultation-profile .profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--pibts-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.consultation-profile .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultation-profile .profile-info {
    flex: 1;
    min-width: 140px;
}

.consultation-profile .profile-info h5 {
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    font-size: 1rem;
}

.consultation-profile .profile-info .profile-sub {
    color: #6c757d;
    font-size: 0.8rem;
    margin: 0;
}

.consultation-profile .profile-info .profile-sub i {
    margin-right: 4px;
}

.consultation-profile .profile-status {
    text-align: right;
    min-width: 100px;
}

/* Statut badges */
.status-badge {
    padding: 4px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-badge.pending {
    background: rgba(244, 161, 0, 0.1);
    color: #f4a100;
}

.status-badge.accepted {
    background: rgba(0, 172, 105, 0.1);
    color: #00ac69;
}

.status-badge.rejected {
    background: rgba(232, 21, 0, 0.1);
    color: #e81500;
}

.status-badge.enrolled {
    background: rgba(0, 207, 213, 0.1);
    color: #00cfd5;
}

.status-badge.reviewing {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.status-badge.draft {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.status-badge.waitlisted {
    background: rgba(155, 89, 182, 0.1);
    color: #8e44ad;
}

/* Matricule */
.matricule-card {
    background: var(--pibts-gradient);
    border-radius: 10px;
    padding: 16px 20px;
    color: #fff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.matricule-card .matricule-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.matricule-card .matricule-info .matricule-icon {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.matricule-card .matricule-info .matricule-text .label {
    font-size: 0.6rem;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

.matricule-card .matricule-info .matricule-text .number {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    word-break: break-all;
}

.matricule-card .matricule-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.matricule-card .matricule-actions .btn {
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.matricule-card .matricule-actions .btn-white {
    background: #fff;
    color: var(--pibts-orange, #FC6C0F);
}

.matricule-card .matricule-actions .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: var(--pibts-orange, #FC6C0F);
}

.matricule-card .matricule-actions .btn-outline-white {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.matricule-card .matricule-actions .btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Grille d'informations */
.consultation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.consultation-grid .info-item {
    background: #f8f9fc;
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.consultation-grid .info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.consultation-grid .info-item .label {
    font-size: 0.6rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.consultation-grid .info-item .label i {
    color: var(--pibts-orange, #FC6C0F);
}

.consultation-grid .info-item .value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 2px;
    word-break: break-word;
}

.consultation-grid .info-item .value small {
    font-weight: 400;
    color: #6c757d;
}

.consultation-grid .info-item.full-width {
    grid-column: 1 / -1;
    background: rgba(252,108,15,0.03);
    border: 1px solid rgba(252,108,15,0.06);
}

.consultation-grid .info-item.full-width .value {
    color: var(--pibts-orange, #FC6C0F);
    font-size: 1rem;
}

/* Documents */
.consultation-documents {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid #f0f0f0;
}

.consultation-documents .doc-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a2e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.consultation-documents .doc-title i {
    color: var(--pibts-orange, #FC6C0F);
}

.consultation-documents .doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px;
}

.consultation-documents .doc-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.consultation-documents .doc-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.consultation-documents .doc-item .doc-icon {
    font-size: 0.9rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(252, 108, 15, 0.08);
    border-radius: 6px;
    color: var(--pibts-orange, #FC6C0F);
    flex-shrink: 0;
}

.consultation-documents .doc-item .doc-name {
    flex: 1;
    min-width: 70px;
    font-size: 0.75rem;
    color: #1a1a2e;
    font-weight: 500;
}

.consultation-documents .doc-item .doc-status {
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 50px;
    background: rgba(0, 172, 105, 0.1);
    color: #00ac69;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.consultation-documents .doc-item .doc-status .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
    background: #00ac69;
}

.consultation-documents .doc-item .doc-status.missing {
    background: rgba(232, 21, 0, 0.08);
    color: #e81500;
}

.consultation-documents .doc-item .doc-status.missing .dot {
    background: #e81500;
}

.consultation-documents .doc-item .doc-actions {
    display: flex;
    gap: 4px;
}

.consultation-documents .doc-item .doc-actions .btn {
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 4px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.consultation-documents .doc-item .doc-actions .btn-primary-sm {
    background: var(--pibts-orange, #FC6C0F);
    color: #fff;
}

.consultation-documents .doc-item .doc-actions .btn-primary-sm:hover {
    background: var(--pibts-orange-dark, #d85a00);
}

.consultation-documents .doc-item .doc-actions .btn-secondary-sm {
    background: #6c757d;
    color: #fff;
}

.consultation-documents .doc-item .doc-actions .btn-secondary-sm:hover {
    background: #5a6268;
}

/* Actions */
.consultation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid #f0f0f0;
    justify-content: center;
}

.consultation-actions .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    border: none;
}

.consultation-actions .btn:hover {
    transform: translateY(-2px);
}

.consultation-actions .btn-warning-custom {
    background: #f4a100;
    color: #fff;
}

.consultation-actions .btn-warning-custom:hover {
    background: #d48900;
    color: #fff;
}

.consultation-actions .btn-success-custom {
    background: #00ac69;
    color: #fff;
}

.consultation-actions .btn-success-custom:hover {
    background: #008b54;
    color: #fff;
}

.consultation-actions .btn-primary-custom {
    background: var(--pibts-gradient);
    color: #fff;
}

.consultation-actions .btn-primary-custom:hover {
    box-shadow: 0 4px 20px rgba(252, 108, 15, 0.3);
    color: #fff;
}

.consultation-actions .btn-outline-custom {
    background: transparent;
    border: 2px solid var(--pibts-orange, #FC6C0F);
    color: var(--pibts-orange, #FC6C0F);
}

.consultation-actions .btn-outline-custom:hover {
    background: var(--pibts-orange, #FC6C0F);
    color: #fff;
}

/* Alertes personnalisées consultation */
.consultation-alert {
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    border: 1px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.consultation-alert .icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.consultation-alert.alert-success {
    background: rgba(0, 172, 105, 0.06);
    border-color: rgba(0, 172, 105, 0.12);
    color: #00ac69;
}

.consultation-alert.alert-danger {
    background: rgba(232, 21, 0, 0.06);
    border-color: rgba(232, 21, 0, 0.12);
    color: #e81500;
}

.consultation-alert.alert-info {
    background: rgba(52, 152, 219, 0.06);
    border-color: rgba(52, 152, 219, 0.12);
    color: #3498db;
}

.consultation-alert ul {
    margin: 0;
    padding-left: 1.2rem;
}

.consultation-alert a {
    color: var(--pibts-orange, #FC6C0F);
    font-weight: 600;
}

.consultation-alert a:hover {
    text-decoration: underline;
}

/* Responsive consultation */
@media (max-width: 768px) {
    .consultation-page {
        padding: 20px 0 40px;
    }
    .consultation-hero {
        padding: 35px 0 25px;
        border-radius: 14px;
    }
    .consultation-hero h1 {
        font-size: 1.5rem;
    }
    .consultation-card {
        padding: 1.25rem;
    }
    .consultation-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .consultation-grid .info-item {
        padding: 8px 12px;
    }
    .consultation-grid .info-item .value {
        font-size: 0.85rem;
    }
    .consultation-result .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .consultation-profile {
        flex-direction: column;
        text-align: center;
        padding: 14px;
    }
    .consultation-profile .profile-status {
        text-align: center;
    }
    .consultation-form .input-group {
        flex-direction: column;
        border-radius: 10px;
    }
    .consultation-form .input-group input {
        border-radius: 8px 8px 0 0;
        padding: 10px 14px;
        height: 40px;
    }
    .consultation-form .input-group .btn-search {
        border-radius: 0 0 8px 8px;
        width: 100%;
        height: 40px;
        justify-content: center;
    }
    .consultation-actions {
        flex-direction: column;
    }
    .consultation-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .consultation-documents .doc-grid {
        grid-template-columns: 1fr;
    }
    .consultation-documents .doc-item {
        padding: 6px 8px;
    }
    .consultation-documents .doc-item .doc-actions {
        width: 100%;
        margin-top: 4px;
    }
    .consultation-documents .doc-item .doc-actions .btn {
        flex: 1;
        justify-content: center;
    }
    .consultation-tabs {
        flex-direction: column;
    }
    .consultation-tabs .tab-btn {
        width: 100%;
        text-align: center;
    }
    .matricule-card {
        flex-direction: column;
        text-align: center;
        padding: 14px 16px;
    }
    .matricule-card .matricule-info {
        flex-direction: column;
    }
    .matricule-card .matricule-actions {
        flex-direction: column;
        width: 100%;
    }
    .matricule-card .matricule-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        white-space: normal;
    }
    .consultation-profile .profile-avatar {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .consultation-card {
        padding: 1rem;
    }
    .consultation-hero h1 {
        font-size: 1.2rem;
    }
    .consultation-hero .consultation-badge {
        font-size: 0.65rem;
        padding: 4px 12px;
    }
    .consultation-hero p {
        font-size: 0.8rem;
    }
    .consultation-grid .info-item .value {
        font-size: 0.8rem;
    }
    .status-badge {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    .matricule-card .matricule-info .matricule-text .number {
        font-size: 1.1rem;
    }
    .consultation-alert {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
}

@media (max-width: 380px) {
    .consultation-card {
        padding: 12px 10px;
        border-radius: 12px;
    }
    .consultation-hero {
        padding: 25px 0 20px;
        border-radius: 12px;
    }
    .consultation-hero h1 {
        font-size: 1rem;
    }
}

/* ============================================
   DASHBOARD ADMIN - STYLES COMPLETS
   ============================================ */

/* Stats Cards */
.stat-card {
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    padding: 1.25rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04));
    height: 100%;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 0 0 4px 4px;
}

.stat-card.orange::before { background: var(--pibts-orange, #FC6C0F); }
.stat-card.blue::before { background: var(--pibts-blue, #292874); }
.stat-card.green::before { background: #00ac69; }
.stat-card.purple::before { background: #6900c7; }

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md, 0 8px 30px rgba(0,0,0,0.06));
}

.stat-card .stat-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stat-card.orange .stat-icon { background: rgba(252, 108, 15, 0.1); color: #FC6C0F; }
.stat-card.blue .stat-icon { background: rgba(41, 40, 116, 0.08); color: #292874; }
.stat-card.green .stat-icon { background: rgba(0, 172, 105, 0.08); color: #00ac69; }
.stat-card.purple .stat-icon { background: rgba(105, 0, 199, 0.08); color: #6900c7; }

.stat-card .stat-trend {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full, 9999px);
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.stat-card .stat-trend.up { background: rgba(0, 172, 105, 0.1); color: #00ac69; }
.stat-card .stat-trend.down { background: rgba(232, 21, 0, 0.1); color: #e81500; }
.stat-card .stat-trend.neutral { background: rgba(108, 117, 125, 0.08); color: #6c757d; }

.stat-card .stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.stat-card .stat-label {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.1rem;
}

.stat-card .stat-sub {
    font-size: 0.65rem;
    color: #a7aeb8;
    margin-top: 0.25rem;
}

.stat-card .stat-bg-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 4rem;
    opacity: 0.04;
    transform: rotate(-10deg);
}

/* Card Dashboard */
.card-dashboard {
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 100%;
}

.card-dashboard:hover {
    box-shadow: var(--shadow-md, 0 8px 30px rgba(0,0,0,0.06));
}

.card-dashboard .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.card-dashboard .card-header .title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a2e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-dashboard .card-header .title .icon {
    color: var(--pibts-orange, #FC6C0F);
    font-size: 1rem;
}

.card-dashboard .card-header .action {
    font-size: 0.7rem;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.card-dashboard .card-header .action:hover {
    color: var(--pibts-orange, #FC6C0F);
}

.card-dashboard .card-body {
    padding: 1.25rem;
}

.card-dashboard .card-footer {
    background: transparent;
    border-top: 1px solid rgba(0,0,0,0.04);
    padding: 0.625rem 1.25rem;
}

/* Activity Items */
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.activity-item:last-child { border-bottom: none; }
.activity-item:hover { padding-left: 0.5rem; }

.activity-item .icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm, 8px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.activity-item .icon.success { background: rgba(0, 172, 105, 0.08); color: #00ac69; }
.activity-item .icon.warning { background: rgba(244, 161, 0, 0.08); color: #f4a100; }
.activity-item .icon.danger { background: rgba(232, 21, 0, 0.08); color: #e81500; }
.activity-item .icon.info { background: rgba(0, 207, 213, 0.08); color: #00cfd5; }
.activity-item .icon.primary { background: rgba(252, 108, 15, 0.1); color: #FC6C0F; }

.activity-item .content { flex: 1; min-width: 0; }
.activity-item .content .title { font-weight: 600; font-size: 0.85rem; color: #1a1a2e; }
.activity-item .content .desc { font-size: 0.75rem; color: #6c757d; }
.activity-item .content .time { font-size: 0.65rem; color: #a7aeb8; display: flex; align-items: center; gap: 0.5rem; }

/* Badge Status */
.badge-status {
    font-size: 0.55rem;
    padding: 0.1rem 0.5rem;
    border-radius: var(--radius-full, 9999px);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.badge-status.bg-success-soft { background: rgba(0, 172, 105, 0.1); color: #00ac69; }
.badge-status.bg-danger-soft { background: rgba(232, 21, 0, 0.1); color: #e81500; }
.badge-status.bg-warning-soft { background: rgba(244, 161, 0, 0.1); color: #f4a100; }
.badge-status.bg-info-soft { background: rgba(0, 207, 213, 0.1); color: #00cfd5; }
.badge-status.bg-primary-soft { background: rgba(252, 108, 15, 0.1); color: #FC6C0F; }
.badge-status.bg-secondary-soft { background: rgba(108, 117, 125, 0.08); color: #6c757d; }

/* Chart */
.chart-container {
    position: relative;
    height: 260px;
}

/* Quick Stats */
.quick-stat {
    background: #f8f9fc;
    border-radius: var(--radius-sm, 8px);
    padding: 0.75rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    height: 100%;
}

.quick-stat:hover {
    background: #fff;
    border-color: rgba(252, 108, 15, 0.08);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04));
}

.quick-stat .value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a2e;
}

.quick-stat .label {
    font-size: 0.6rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.quick-stat .sub-info {
    font-size: 0.6rem;
    color: #a7aeb8;
    margin-top: 0.1rem;
}

/* Table Modern */
.table-modern {
    margin-bottom: 0;
}

.table-modern thead th {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    font-weight: 700;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding: 0.5rem 0.75rem;
}

.table-modern tbody td {
    padding: 0.5rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0,0,0,0.02);
    font-size: 0.8rem;
}

.table-modern tbody tr:hover {
    background: rgba(252, 108, 15, 0.02);
}

/* Utility */
.text-pibts { color: var(--pibts-orange, #FC6C0F) !important; }
.bg-pibts-orange { background-color: var(--pibts-orange, #FC6C0F) !important; color: #fff !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

/* Animations */
@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.stat-card { animation: slideUpFade 0.5s ease forwards; }
.stat-card:nth-child(2) { animation-delay: 0.05s; }
.stat-card:nth-child(3) { animation-delay: 0.1s; }
.stat-card:nth-child(4) { animation-delay: 0.15s; }

/* Responsive */
@media (max-width: 992px) {
    .stat-card .stat-number { font-size: 1.5rem; }
    .chart-container { height: 200px; }
}

@media (max-width: 576px) {
    .stat-card { padding: 1rem; }
    .stat-card .stat-number { font-size: 1.2rem; }
    .stat-card .stat-label { font-size: 0.65rem; }
    .stat-card .stat-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .card-dashboard .card-header { flex-direction: column; align-items: flex-start; }
    .quick-stat .value { font-size: 0.9rem; }
}

/* ============================================
   ADMIN LAYOUT - STYLES
   ============================================ */

/* Admin Wrapper */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: var(--sidebar-width, 280px);
    background: var(--pibts-gradient);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    padding: 0;
    transition: var(--transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 4px 0 40px rgba(0,0,0,0.1);
}

.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }

.sidebar-brand {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

.sidebar-brand .brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sidebar-brand .brand-logo .logo-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius-md, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #FFD700;
}

.sidebar-brand h3 {
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0;
    letter-spacing: -0.5px;
}

.sidebar-brand h3 span { color: #FFD700; }
.sidebar-brand .brand-sub {
    color: rgba(255,255,255,0.4);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.1rem;
}

.sidebar-user {
    padding: 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-user .avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md, 12px);
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.08);
    position: relative;
}

.sidebar-user .avatar .online-dot {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #00ac69;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.9);
}

.sidebar-user .info .name { color: #fff; font-weight: 600; font-size: 0.9rem; line-height: 1.2; }
.sidebar-user .info .role {
    color: rgba(255,255,255,0.4);
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.sidebar-user .info .role .dot { width: 6px; height: 6px; border-radius: 50%; background: #00ac69; display: inline-block; }

.sidebar-nav { padding: 0.75rem 0.75rem 1.5rem; }
.sidebar-nav .nav-label {
    color: rgba(255,255,255,0.25);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.75rem 1rem 0.5rem;
    font-weight: 700;
}

.sidebar-nav .nav-item { list-style: none; }

.sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    color: rgba(255,255,255,0.55);
    border-radius: var(--radius-sm, 8px);
    transition: var(--transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    gap: 0.75rem;
    position: relative;
    cursor: pointer;
}

.sidebar-nav .nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.sidebar-nav .nav-link.active { color: #fff; background: rgba(255,255,255,0.08); }
.sidebar-nav .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 28px;
    background: #FFD700;
    border-radius: 0 4px 4px 0;
}
.sidebar-nav .nav-link i { width: 20px; font-size: 1rem; text-align: center; flex-shrink: 0; }
.sidebar-nav .nav-link .badge { margin-left: auto; background: rgba(255,255,255,0.12); color: #fff; font-size: 0.6rem; padding: 0.15rem 0.5rem; border-radius: var(--radius-full, 9999px); font-weight: 600; }
.sidebar-nav .nav-link .fa-angle-left { transition: var(--transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1)); margin-left: auto; }

.sidebar-nav .nav-treeview {
    padding-left: 2.5rem;
    display: none;
    animation: slideDown 0.3s ease;
}

.sidebar-nav .nav-item.open > .nav-treeview { display: block; }
.sidebar-nav .nav-item.open > .nav-link .fa-angle-left { transform: rotate(-90deg); }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Admin Main */
.admin-main { margin-left: var(--sidebar-width, 280px); min-height: 100vh; width: 100%; }

/* Admin Header */
.admin-header {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    padding: 0 2rem;
    height: var(--header-height, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1040;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.admin-header .header-left { display: flex; align-items: center; gap: 1rem; }
.admin-header .header-left .sidebar-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #4a515b;
    padding: 0.5rem;
    border-radius: var(--radius-sm, 8px);
    transition: var(--transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
    display: none;
    cursor: pointer;
}
.admin-header .header-left .sidebar-toggle:hover { 
    background: rgba(252, 108, 15, 0.08); 
    color: var(--pibts-orange, #FC6C0F); 
}

.admin-header .header-left .page-title h4 { 
    margin: 0; 
    font-weight: 800; 
    font-size: 1.1rem; 
    color: #1a1a2e; 
    letter-spacing: -0.3px; 
}
.admin-header .header-left .page-title small { 
    color: #6c757d; 
    font-size: 0.7rem; 
    font-weight: 400; 
}

.admin-header .header-right { display: flex; align-items: center; gap: 0.5rem; }
.admin-header .header-right .header-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md, 12px);
    border: 1px solid transparent;
    background: transparent;
    color: #4a515b;
    font-size: 1.1rem;
    transition: var(--transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.admin-header .header-right .header-btn:hover { 
    background: rgba(252, 108, 15, 0.08); 
    border-color: rgba(252,108,15,0.1); 
    color: var(--pibts-orange, #FC6C0F); 
}
.admin-header .header-right .header-btn .badge-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e81500;
    border: 2px solid #fff;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot { 
    0%, 100% { transform: scale(1); } 
    50% { transform: scale(1.3); } 
}

.admin-header .header-right .divider { 
    width: 1px; 
    height: 30px; 
    background: #e9ecef; 
    margin: 0 0.5rem; 
}

.admin-header .header-right .user-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem 0.25rem 0.25rem;
    border-radius: var(--radius-full, 9999px);
    background: transparent;
    border: 1px solid transparent;
    transition: var(--transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1));
    cursor: pointer;
}
.admin-header .header-right .user-dropdown:hover { 
    background: rgba(252, 108, 15, 0.08); 
    border-color: rgba(252,108,15,0.1); 
}
.admin-header .header-right .user-dropdown .avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm, 8px);
    background: var(--pibts-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
}
.admin-header .header-right .user-dropdown .user-info { text-align: left; }
.admin-header .header-right .user-dropdown .user-info .name { font-weight: 600; font-size: 0.85rem; color: #1a1a2e; line-height: 1.2; }
.admin-header .header-right .user-dropdown .user-info .role { font-size: 0.6rem; color: #6c757d; }
.admin-header .header-right .user-dropdown .chevron { font-size: 0.6rem; color: #6c757d; transition: var(--transition, all 0.3s cubic-bezier(0.4, 0, 0.2, 1)); }
.admin-header .header-right .user-dropdown.show .chevron { transform: rotate(180deg); }

/* Admin Content */
.admin-content { padding: 1.5rem 2rem 2rem; }

/* Responsive Admin */
@media (max-width: 992px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.show { transform: translateX(0); }
    .admin-main { margin-left: 0; }
    .admin-header .header-left .sidebar-toggle { display: block; }
    .admin-content { padding: 1rem; }
    .admin-header { padding: 0 1rem; }
}

@media (max-width: 576px) {
    .admin-header .header-right .user-dropdown .user-info { display: none; }
    .admin-header .header-right .divider { display: none; }
}

/* ============================================
   ADMIN SIDEBAR - NAVIGATION
   ============================================ */

/* Sous-menus */
.sidebar-nav .nav-treeview {
    padding-left: 2rem;
    display: none;
    animation: slideDown 0.3s ease;
}

.sidebar-nav .nav-item.open > .nav-treeview {
    display: block;
}

.sidebar-nav .nav-item.open > .nav-link .fa-angle-left {
    transform: rotate(-90deg);
}

.sidebar-nav .nav-link.has-submenu .fa-angle-left {
    transition: transform 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-nav .nav-treeview .nav-link {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.sidebar-nav .nav-treeview .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.sidebar-nav .nav-treeview .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.sidebar-nav .nav-treeview .nav-link i {
    font-size: 0.4rem;
    width: 16px;
    text-align: center;
}

.sidebar-nav .nav-treeview .nav-link .badge {
    font-size: 0.5rem;
    padding: 0.1rem 0.4rem;
    margin-left: auto;
}

/* ============================================
   ADMIN ADMISSIONS - STYLES
   ============================================ */

/* Stats Cards pour admissions */
.stat-card.pending { background: #fff; border-radius: var(--radius-lg, 16px); padding: 1.25rem 1.5rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid rgba(0,0,0,0.03); position: relative; overflow: hidden; box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04)); height: 100%; }
.stat-card.pending::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #f4a100; border-radius: 0 0 4px 4px; }
.stat-card.pending .stat-icon { background: rgba(244, 161, 0, 0.1); color: #f4a100; }

.stat-card.reviewing { background: #fff; border-radius: var(--radius-lg, 16px); padding: 1.25rem 1.5rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid rgba(0,0,0,0.03); position: relative; overflow: hidden; box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04)); height: 100%; }
.stat-card.reviewing::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #3498db; border-radius: 0 0 4px 4px; }
.stat-card.reviewing .stat-icon { background: rgba(52, 152, 219, 0.1); color: #3498db; }

.stat-card.accepted { background: #fff; border-radius: var(--radius-lg, 16px); padding: 1.25rem 1.5rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid rgba(0,0,0,0.03); position: relative; overflow: hidden; box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04)); height: 100%; }
.stat-card.accepted::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #00ac69; border-radius: 0 0 4px 4px; }
.stat-card.accepted .stat-icon { background: rgba(0, 172, 105, 0.1); color: #00ac69; }

.stat-card.rejected { background: #fff; border-radius: var(--radius-lg, 16px); padding: 1.25rem 1.5rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid rgba(0,0,0,0.03); position: relative; overflow: hidden; box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04)); height: 100%; }
.stat-card.rejected::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #e81500; border-radius: 0 0 4px 4px; }
.stat-card.rejected .stat-icon { background: rgba(232, 21, 0, 0.1); color: #e81500; }

.stat-card.waitlisted { background: #fff; border-radius: var(--radius-lg, 16px); padding: 1.25rem 1.5rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid rgba(0,0,0,0.03); position: relative; overflow: hidden; box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04)); height: 100%; }
.stat-card.waitlisted::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #8e44ad; border-radius: 0 0 4px 4px; }
.stat-card.waitlisted .stat-icon { background: rgba(142, 68, 173, 0.1); color: #8e44ad; }

.stat-card .stat-trend { font-size: 0.6rem; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: var(--radius-full, 9999px); display: inline-flex; align-items: center; gap: 0.2rem; }
.stat-card .stat-trend.up { background: rgba(0, 172, 105, 0.1); color: #00ac69; }
.stat-card .stat-trend.down { background: rgba(232, 21, 0, 0.1); color: #e81500; }
.stat-card .stat-trend.neutral { background: rgba(108, 117, 125, 0.08); color: #6c757d; }

/* Filter Section */
.filter-section {
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04));
    border: 1px solid rgba(0,0,0,0.03);
}

.filter-section .filter-label {
    font-weight: 600;
    font-size: 0.7rem;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.filter-section .filter-label i { color: var(--pibts-orange, #FC6C0F); }

.filter-section .form-control,
.filter-section .form-select {
    border-radius: var(--radius-sm, 8px);
    border: 2px solid #e9ecef;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.filter-section .form-control:focus,
.filter-section .form-select:focus {
    border-color: var(--pibts-orange, #FC6C0F);
    box-shadow: 0 0 0 3px rgba(252, 108, 15, 0.08);
    background: #fff;
}

.filter-section .quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.04);
}

.filter-section .quick-filters .label {
    font-size: 0.65rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-right: 0.25rem;
}

.filter-section .quick-filters .badge-filter {
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.65rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: #f8f9fc;
    color: #6c757d;
    border-color: #e9ecef;
}

.filter-section .quick-filters .badge-filter:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.filter-section .quick-filters .badge-filter.active {
    background: var(--pibts-gradient);
    color: #fff;
    border-color: var(--pibts-orange, #FC6C0F);
}

.filter-section .quick-filters .badge-filter.reset:hover {
    background: #e9ecef;
    color: #1a1a2e;
}

/* Avatar Premium */
.avatar-premium {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--pibts-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Status Badge Premium */
.status-badge-premium {
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.65rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid transparent;
}

.status-badge-premium.draft { background: rgba(108,117,125,0.08); color: #6c757d; border-color: rgba(108,117,125,0.12); }
.status-badge-premium.submitted { background: rgba(244,161,0,0.08); color: #f4a100; border-color: rgba(244,161,0,0.12); }
.status-badge-premium.reviewing { background: rgba(52,152,219,0.08); color: #3498db; border-color: rgba(52,152,219,0.12); }
.status-badge-premium.documents-required { background: rgba(244,161,0,0.08); color: #f4a100; border-color: rgba(244,161,0,0.12); }
.status-badge-premium.accepted { background: rgba(0,172,105,0.08); color: #00ac69; border-color: rgba(0,172,105,0.12); }
.status-badge-premium.rejected { background: rgba(232,21,0,0.08); color: #e81500; border-color: rgba(232,21,0,0.12); }
.status-badge-premium.enrolled { background: rgba(0,207,213,0.08); color: #00cfd5; border-color: rgba(0,207,213,0.12); }
.status-badge-premium.waitlisted { background: rgba(142,68,173,0.08); color: #8e44ad; border-color: rgba(142,68,173,0.12); }
.status-badge-premium.cancelled { background: rgba(108,117,125,0.08); color: #6c757d; border-color: rgba(108,117,125,0.12); }

/* Action Buttons */
.action-buttons-premium {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.action-buttons-premium .btn {
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    border-radius: var(--radius-sm, 8px);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-weight: 600;
}

.action-buttons-premium .btn:hover {
    transform: translateY(-2px);
}

.btn-view-premium { background: rgba(108,117,125,0.08); color: #6c757d; border-color: rgba(108,117,125,0.08); }
.btn-view-premium:hover { background: #6c757d; color: #fff; border-color: #6c757d; box-shadow: 0 2px 8px rgba(108,117,125,0.2); }

.btn-review-premium { background: rgba(52,152,219,0.08); color: #3498db; border-color: rgba(52,152,219,0.08); }
.btn-review-premium:hover { background: #3498db; color: #fff; border-color: #3498db; box-shadow: 0 2px 8px rgba(52,152,219,0.2); }

.btn-accept-premium { background: rgba(0,172,105,0.08); color: #00ac69; border-color: rgba(0,172,105,0.08); }
.btn-accept-premium:hover { background: #00ac69; color: #fff; border-color: #00ac69; box-shadow: 0 2px 8px rgba(0,172,105,0.2); }

.btn-reject-premium { background: rgba(232,21,0,0.08); color: #e81500; border-color: rgba(232,21,0,0.08); }
.btn-reject-premium:hover { background: #e81500; color: #fff; border-color: #e81500; box-shadow: 0 2px 8px rgba(232,21,0,0.2); }

.btn-outline-pibts {
    border: 2px solid var(--pibts-orange, #FC6C0F);
    color: var(--pibts-orange, #FC6C0F);
    background: transparent;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-sm, 8px);
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.btn-outline-pibts:hover {
    background: var(--pibts-gradient);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252,108,15,0.2);
}

/* Modal Premium */
.modal-premium .modal-content {
    border-radius: var(--radius-lg, 16px);
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
}

.modal-premium .modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding: 1rem 1.5rem;
    background: #f8f9fc;
}

.modal-premium .modal-header .modal-title {
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a1a2e;
}

.modal-premium .modal-body { padding: 1.5rem; }
.modal-premium .modal-footer {
    border-top: 1px solid rgba(0,0,0,0.04);
    padding: 0.75rem 1.5rem;
    gap: 0.5rem;
    background: #f8f9fc;
}

.modal-premium .form-control,
.modal-premium .form-select {
    border-radius: var(--radius-sm, 8px);
    border: 2px solid #e9ecef;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.modal-premium .form-control:focus,
.modal-premium .form-select:focus {
    border-color: var(--pibts-orange, #FC6C0F);
    box-shadow: 0 0 0 3px rgba(252, 108, 15, 0.08);
}

.modal-premium .form-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: #1a1a2e;
}

.modal-premium .alert {
    border-radius: var(--radius-sm, 8px);
    border-left: 4px solid;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}
.modal-premium .alert-info { border-left-color: #3498db; background: #E3F2FD; color: #1a5276; }
.modal-premium .alert-success { border-left-color: #00ac69; background: #E8F5E9; color: #1a6e3a; }
.modal-premium .alert-danger { border-left-color: #e81500; background: #FFEBEE; color: #a31500; }

/* Responsive */
@media (max-width: 992px) {
    .filter-section .row { gap: 0.5rem; }
    .action-buttons-premium { flex-direction: column; align-items: center; }
    .action-buttons-premium .btn { width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
    .stat-card .stat-number { font-size: 1.2rem; }
    .stat-card .stat-label { font-size: 0.65rem; }
    .stat-card .stat-icon { width: 32px; height: 32px; font-size: 0.8rem; }
    .filter-section { padding: 1rem; }
    .filter-section .quick-filters { justify-content: center; }
}

/* ============================================
   ADMIN ADMISSION SHOW - STYLES
   ============================================ */

/* Profile Header */
.profile-header-premium {
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04));
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

.profile-header-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--pibts-gradient);
    opacity: 0.6;
}

.profile-header-premium .profile-avatar-premium {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--pibts-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(252,108,15,0.2);
    transition: all 0.3s ease;
}

.profile-header-premium .profile-avatar-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-header-premium .profile-info-premium {
    flex: 1;
    min-width: 150px;
}

.profile-header-premium .profile-info-premium .name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.profile-header-premium .profile-info-premium .subtitle {
    color: #6c757d;
    font-size: 0.8rem;
    margin: 0.05rem 0;
}

.profile-header-premium .profile-info-premium .subtitle i {
    color: var(--pibts-orange);
    width: 16px;
    font-size: 0.75rem;
}

.profile-header-premium .profile-status-premium {
    text-align: right;
    min-width: 120px;
}

.profile-header-premium .profile-status-premium .reference {
    font-size: 0.7rem;
    color: #6c757d;
    margin-top: 0.15rem;
}

.profile-header-premium .profile-status-premium .reference strong {
    color: var(--pibts-orange);
}

/* Detail Cards */
.detail-card-premium {
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04));
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.detail-card-premium .card-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(252,108,15,0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.detail-card-premium .card-title i { color: var(--pibts-orange); }
.detail-card-premium .card-title .badge-count {
    background: var(--pibts-gradient);
    color: #fff;
    padding: 0.1rem 0.5rem;
    border-radius: var(--radius-full, 9999px);
    font-size: 0.6rem;
    font-weight: 700;
}

.detail-grid-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem 1rem;
}

.detail-item-premium {
    display: flex;
    flex-direction: column;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.detail-item-premium .label {
    font-size: 0.6rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-item-premium .value {
    font-size: 0.85rem;
    color: #1a1a2e;
    font-weight: 500;
    margin-top: 0.05rem;
    word-break: break-word;
}

/* Action Card */
.action-card-premium {
    background: #fff;
    border-radius: var(--radius-lg, 16px);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.04));
    border: 1px solid rgba(0,0,0,0.03);
}

.action-card-premium .card-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(252,108,15,0.08);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-card-premium .card-title i { color: var(--pibts-orange); }

.action-grid-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.action-grid-premium .btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
    border-radius: 6px;
    font-weight: 600;
    border: none;
    color: #fff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    text-align: center;
    white-space: nowrap;
}

.action-grid-premium .btn:hover { transform: translateY(-1px); }
.action-grid-premium .btn-success { background: #00ac69; }
.action-grid-premium .btn-danger { background: #e81500; }
.action-grid-premium .btn-warning { background: #f4a100; color: #fff; }
.action-grid-premium .btn-info { background: #3498db; }
.action-grid-premium .btn-purple { background: #8e44ad; }
.action-grid-premium .btn-secondary { background: #6c757d; }
.action-grid-premium .btn i { font-size: 0.7rem; }

/* File Viewer */
.file-viewer-premium {
    background: #f8f9fc;
    border-radius: var(--radius-sm, 8px);
    padding: 0.75rem;
    margin-top: 0.4rem;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.file-viewer-premium .file-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.file-viewer-premium .file-header .file-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.file-viewer-premium .file-header .file-name i { color: var(--pibts-orange); }

.file-viewer-premium .file-header .file-actions {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.file-viewer-premium .file-header .file-actions .btn {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.file-viewer-premium .file-preview {
    min-height: 120px;
    max-height: 250px;
    overflow: auto;
    background: #fff;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.05);
}

.file-viewer-premium .file-preview img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 6px;
}

.file-viewer-premium .file-preview .pdf-preview {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 6px;
}

.file-viewer-premium .file-preview .file-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    color: #6c757d;
    min-height: 120px;
}

.file-viewer-premium .file-preview .file-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    color: #d4dae3;
}

.file-viewer-premium .file-preview .file-placeholder p {
    font-size: 0.8rem;
    margin: 0;
}

.file-viewer-premium .file-preview .file-placeholder small {
    font-size: 0.65rem;
}

/* Timeline */
.timeline-premium {
    position: relative;
    padding-left: 1.5rem;
}

.timeline-premium::before {
    content: '';
    position: absolute;
    left: 0.4rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0,0,0,0.06);
}

.timeline-item {
    position: relative;
    padding: 0.3rem 0 0.3rem 1rem;
    margin-bottom: 0.2rem;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.timeline-item .timeline-dot {
    position: absolute;
    left: -1.6rem;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.timeline-item .timeline-dot.success { background: #00ac69; }
.timeline-item .timeline-dot.danger { background: #e81500; }
.timeline-item .timeline-dot.warning { background: #f4a100; }
.timeline-item .timeline-dot.info { background: #3498db; }
.timeline-item .timeline-dot.primary { background: var(--pibts-orange); }
.timeline-item .timeline-dot.cancelled { background: #6c757d; }

.timeline-item .timeline-time {
    font-size: 0.65rem;
    color: #6c757d;
    font-weight: 500;
}

.timeline-item .timeline-content {
    font-size: 0.8rem;
    color: #1a1a2e;
}

.timeline-item .timeline-content .badge {
    font-size: 0.6rem;
    padding: 0.1rem 0.4rem;
}

/* Modals */
.modal-premium .modal-content {
    border-radius: var(--radius-lg, 16px);
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
}

.modal-premium .modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding: 1rem 1.5rem;
    background: #f8f9fc;
}

.modal-premium .modal-header .modal-title {
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a1a2e;
}

.modal-premium .modal-body { padding: 1.5rem; }
.modal-premium .modal-footer {
    border-top: 1px solid rgba(0,0,0,0.04);
    padding: 0.75rem 1.5rem;
    gap: 0.5rem;
    background: #f8f9fc;
}

.modal-premium .form-control,
.modal-premium .form-select {
    border-radius: var(--radius-sm, 8px);
    border: 2px solid #e9ecef;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.modal-premium .form-control:focus,
.modal-premium .form-select:focus {
    border-color: var(--pibts-orange);
    box-shadow: 0 0 0 4px rgba(252,108,15,0.08);
}

.modal-premium .form-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: #1a1a2e;
}

.modal-premium .alert {
    border-radius: var(--radius-sm, 8px);
    border-left: 4px solid;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}

.modal-premium .alert-info { border-left-color: #3498db; background: #E3F2FD; color: #1a5276; }
.modal-premium .alert-success { border-left-color: #00ac69; background: #E8F5E9; color: #1a6e3a; }
.modal-premium .alert-danger { border-left-color: #e81500; background: #FFEBEE; color: #a31500; }
.modal-premium .alert-warning { border-left-color: #f4a100; background: #FFF8E1; color: #7a5a00; }
.modal-premium .alert-purple { border-left-color: #8e44ad; background: #F3E5F5; color: #4a235a; }
.modal-premium .alert-cancel { border-left-color: #dc3545; background: #F8D7DA; color: #721c24; }

/* Responsive */
@media (max-width: 992px) {
    .detail-grid-premium { grid-template-columns: 1fr; }
    .action-grid-premium { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .profile-header-premium {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    .profile-header-premium .profile-status-premium { text-align: center; margin-left: 0; }
    .file-viewer-premium .file-header { flex-direction: column; align-items: flex-start; }
    .file-viewer-premium .file-header .file-actions { width: 100%; }
    .file-viewer-premium .file-header .file-actions .btn { flex: 1; text-align: center; }
    .file-viewer-premium .file-preview { min-height: 100px; max-height: 200px; }
    .file-viewer-premium .file-preview .pdf-preview { height: 200px; }
    .action-grid-premium { grid-template-columns: 1fr 1fr; }
    .timeline-premium { padding-left: 1rem; }
    .timeline-premium::before { left: 0; }
    .timeline-item { padding-left: 0.5rem; }
    .timeline-item .timeline-dot { left: -1rem; width: 8px; height: 8px; }
}

@media (max-width: 576px) {
    .profile-header-premium .profile-avatar-premium { width: 56px; height: 56px; font-size: 1.2rem; }
    .profile-header-premium .profile-info-premium .name { font-size: 1rem; }
    .detail-card-premium { padding: 0.75rem; }
    .action-card-premium { padding: 0.75rem; }
    .action-grid-premium { grid-template-columns: 1fr; }
    .action-grid-premium .btn { padding: 0.3rem 0.5rem; font-size: 0.7rem; white-space: normal; }
    .file-viewer-premium { padding: 0.5rem; }
    .file-viewer-premium .file-preview { min-height: 80px; max-height: 150px; }
    .file-viewer-premium .file-preview .pdf-preview { height: 150px; }
    .modal-premium .modal-header { padding: 0.75rem 1rem; }
    .modal-premium .modal-body { padding: 1rem; }
    .modal-premium .modal-footer { padding: 0.5rem 1rem; flex-direction: column; }
    .modal-premium .modal-footer .btn { width: 100%; }
}

@media print {
    .no-print { display: none !important; }
    .profile-header-premium { border: 1px solid #ddd !important; box-shadow: none !important; }
    .detail-card-premium { border: 1px solid #ddd !important; box-shadow: none !important; break-inside: avoid; }
    .status-badge-premium { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    .file-viewer-premium .file-preview { min-height: auto !important; max-height: none !important; }
    .file-viewer-premium .file-preview .pdf-preview { height: auto !important; }
}