/* public/css/extranet.css */

/* ---------------------------------------------------------
   1. POLICES DE CARACTÈRES AUTO-HÉBERGÉES (100% OFF-LINE)
   --------------------------------------------------------- */
@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/Quicksand-VariableFont_wght.ttf') format('truetype');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* ---------------------------------------------------------
   2. CHARTE GRAPHIQUE ET STYLE DE BASE GLOBAL
   --------------------------------------------------------- */
body {
    background-color: #287380 !important; /* Couleur canard officielle de l'entreprise */
    font-family: 'Quicksand', sans-serif !important;
    color: #485b5c;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Forçage d'une harmonie de police sur les contrôles de formulaire */
input, select, textarea, button, h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif !important;
}

/* ---------------------------------------------------------
   3. VOLET GAUCHE INTERACTIF GLOBAL (SIDEBAR)
   --------------------------------------------------------- */
/* Volet gauche gris clair */
.sidebar-left {
    background-color: #f7f9fa;
    border-right: 1px solid #eef1f2;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    width: 250px;
    min-width: 250px;
}

/* Items interactifs de la sidebar gauche (UX Moderne) */
.sidebar-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 18px;
    border-radius: 12px;
    width: 100%;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

/* Effet de survol sur toute la barre (Doux fond plum/rose de marque) */
.sidebar-item:hover, .sidebar-item.active {
    background-color: rgba(164, 44, 95, 0.08) !important;
    transform: translateX(4px);
}

.sidebar-item:active {
    background-color: rgba(164, 44, 95, 0.15) !important;
}

/* Liens de navigation gauche */
.nav-sidebar-link {
    color: #a42c5f !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}

/* ---------------------------------------------------------
   4. BOUTONS RÉUTILISABLES AUX COULEURS DE LA MARQUE
   --------------------------------------------------------- */
.btn-brand-teal {
    background-color: #287380 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    border: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease !important;
}
.btn-brand-teal:hover {
    transform: translateY(-1px);
    opacity: 0.95;
    box-shadow: 0 4px 12px rgba(26, 100, 112, 0.2);
}

.btn-brand-plum {
    background-color: #a42c5f !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    border: none !important;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease !important;
}
.btn-brand-plum:hover {
    transform: translateY(-1px);
    opacity: 0.95;
    box-shadow: 0 4px 12px rgba(164, 44, 95, 0.2);
}

/* ---------------------------------------------------------
   5. BLOC DE VALIDATION PAR SMS (REPRODUCTION EXACTE DE SMS.PNG)
   --------------------------------------------------------- */
.sms-validation-container {
    width: 100%;
    max-width: 680px;
    margin: 40px auto;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid #e9eef0;
}

/* Partie haute blanche */
.sms-top-section {
    padding: 35px 20px;
    text-align: center;
    background-color: #ffffff;
}

/* Bouton d'envoi SMS pilule d'après l'image */
.btn-pill-sms {
    background-color: #287380 !important;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 30px !important;
    padding: 14px 35px !important;
    font-size: 13.5px !important;
    text-transform: none !important;
    border: none !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(26, 100, 112, 0.15);
    transition: all 0.2s ease !important;
    display: inline-block;
}
.btn-pill-sms:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(26, 100, 112, 0.25);
    opacity: 0.95;
}

/* Texte cliquable de renvoi */
.sms-renvoi-text {
    font-size: 13px;
    color: #555;
    margin-top: 20px;
    line-height: 1.6;
    font-weight: 500;
}
.sms-renvoi-text a {
    color: #287380 !important;
    text-decoration: underline !important;
    font-weight: 600;
}

/* Partie basse gris clair/bleuté */
.sms-bottom-section {
    background-color: #f4f8f9;
    padding: 35px 20px;
    text-align: center;
    border-top: 1px solid #e9eef0;
}

/* Label centré gras */
.sms-label-centered {
    font-weight: 700;
    font-size: 14px;
    color: #000000 !important;
    margin-bottom: 12px;
    display: block;
}

/* Input large, gris clair et épuré */
.sms-input-field {
    background-color: #e6eff1 !important;
    border: none !important;
    border-radius: 6px !important;
    width: 100%;
    max-width: 320px;
    height: 44px;
    text-align: center;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #287380 !important;
    margin: 0 auto;
    display: block;
    outline: none !important;
    box-shadow: none !important;
}
.sms-input-field::placeholder {
    letter-spacing: 0px;
    font-weight: normal;
    font-size: 13px;
    color: #8fa4a6;
}
