/* =====================================================================
   ExpertMED - css/connexion.css
   Les ecrans d'ENTREE du medecin expert et du secretariat (10-10-2026,
   demande d'Aurelien : aligner sur les ecrans d'entree du patient) :
   login.php, forgot_password.php, reset_password.php. Meme carte que
   l'espace patient (css/espace_patient.css, section « ecrans d'entree ») :
   la marque DANS la carte, rayon 24, contenu centre, texte lisible (plus de
   petites capitales de 10 px), mention de pied de carte. La couleur est
   celle du CABINET (--pro, posee par la page depuis brandingColor()), le
   patient garde son bleu.
   ===================================================================== */
.cx-body {
    margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 32px 16px 10vh; box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1a2a3a; -webkit-font-smoothing: antialiased;
}
.cx-carte {
    width: 100%; max-width: 420px; box-sizing: border-box; background: #fff;
    border-radius: 24px; padding: 36px 32px 22px; border: 1px solid rgba(255,255,255,.6);
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.cx-marque { text-align: center; margin-bottom: 26px; }
.cx-marque img { height: 40px; max-width: 220px; width: auto; object-fit: contain; display: block; margin: 0 auto 12px; }
.cx-marque-t { font-size: 15px; font-weight: 600; color: #1a2a3a; }
.cx-marque-c { font-size: 11px; color: #94a3b8; text-transform: uppercase; letter-spacing: .16em; margin-top: 4px; }

.cx-ico {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 14px; background: color-mix(in srgb, var(--pro) 12%, #fff); color: var(--pro);
}
.cx-ico svg { width: 22px; height: 22px; }
.cx-ico--attente { background: #fef3c7; color: #b45309; }
.cx-ico--stop { background: #fee2e2; color: #b91c1c; }
.cx-ico--ok { background: #dcfce7; color: #15803d; }
.cx-t { font-size: 20px; font-weight: 700; text-align: center; margin: 0 0 8px; color: #1a2a3a; }
.cx-p { font-size: 14px; line-height: 1.6; color: #475569; text-align: center; margin: 0 0 18px; }

.cx-lbl { display: block; font-size: 12px; font-weight: 600; color: #475569; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 6px; }
.cx-input {
    width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: #1a2a3a;
    border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; background: #fff;
}
.cx-input:focus { outline: none; border-color: var(--pro); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pro) 18%, transparent); }
.cx-code { text-align: center; font-size: 24px; font-weight: 600; letter-spacing: .45em; padding-left: .45em; }

.cx-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; box-sizing: border-box;
    font: inherit; font-size: 15px; font-weight: 600; padding: 13px 16px; border-radius: 12px; border: 1px solid transparent;
    cursor: pointer; text-decoration: none; text-align: center;
}
.cx-btn svg { width: 18px; height: 18px; }
.cx-btn-p { background: var(--pro); color: #fff; }
.cx-btn-p:hover { background: color-mix(in srgb, var(--pro) 85%, #000); }
.cx-btn-s { background: #fff; color: #1a2a3a; border-color: #e2e8f0; }
.cx-btn-s:hover { background: #f8fafc; }
.cx-btn:disabled { opacity: .55; cursor: default; }

.cx-liens { margin-top: 16px; text-align: center; display: flex; flex-direction: column; gap: 8px; }
.cx-lien { background: none; border: 0; padding: 2px; font: inherit; font-size: 13.5px; color: var(--pro); text-decoration: underline; cursor: pointer; }
.cx-lien--doux { color: #64748b; }

.cx-note { border-radius: 12px; padding: 12px 14px; font-size: 13.5px; line-height: 1.55; margin: 0 0 18px; text-align: left; }
.cx-note-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.cx-note-wait { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.cx-note-ok { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.cx-statut { min-height: 1em; font-size: 13px; color: #b91c1c; text-align: center; margin: 10px 0 0; }

.cx-mention {
    margin: 24px 0 0; padding-top: 16px; border-top: 1px solid #e8eaee;
    display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: #94a3b8;
}
.cx-mention svg { width: 13px; height: 13px; }
.cx-pied { margin: 18px 0 0; text-align: center; font-size: 12px; }
.cx-pied a { color: rgba(255,255,255,.85); }
.cx-col { width: 100%; max-width: 420px; }

@media (max-width: 480px) { .cx-carte { padding: 28px 20px 18px; border-radius: 20px; } }
