/* ============================================================
   AUTH LAYOUT — Pages connexion/inscription
   Fichier : public/assets/css/pages/auth.css
   ============================================================ */

.km-auth-body {
    background: #F9FDFF;
    min-height: 100vh;
    font-family: var(--km-font);
    margin: 0;
}

/* ── En-tête ── */
.km-auth-header {
    border-bottom: 1.098px solid #E5E7EB;
    background: #F9FDFF;
}

.km-auth-header__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.km-auth-header__logo img {
    width: 158px;
    height: 52px;
    display: block;
}

.km-auth-header__back {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6B7280;
    text-align: center;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    text-decoration: none;
    transition: color .2s ease;
}
.km-auth-header__back:hover {
    color: #704B38;
}

/* ── Contenu principal ── */
.km-auth-main {
    display: flex;
    justify-content: center;
    padding: 40px 20px 64px;
}

/* Responsive */
@media (max-width: 640px) {
    .km-auth-header__inner { padding: 16px 20px; }
    .km-auth-header__logo img { width: 130px; height: 43px; }
}

/* ============================================================
   LOGIN
   ============================================================ */

.km-login {
    width: 100%;
    max-width: 578px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ── Carte principale ── */
.km-login-card {
    display: flex;
    width: 100%;
    padding: 40px 40px 0 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    border: 1.098px solid #E5E7EB;
    background: #F9FDFF;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10);
    border-radius: 12px;
    padding-bottom: 40px;
}

/* En-tête (icône + titre + sous-titre) */
.km-login-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.km-login-icon {
    display: flex;
    width: 79.987px;
    height: 79.987px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 999px;
    background: #F6A936;
    box-shadow: 0 4px 20px 0 rgba(240, 81, 42, 0.20);
}

.km-login-icon--profile {
    width: 55.994px;
    height: 55.994px;
    box-shadow: 0 4px 12px 0 rgba(240, 81, 42, 0.30);
}

.km-login-card__title {
    color: #704B38;
    text-align: center;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 120%;
    letter-spacing: -0.42px;
}

.km-login-card__subtitle {
    color: #6B7280;
    text-align: center;
    font-family: var(--km-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 22.5px;
}

/* Séparateur */
.km-login-separator {
    width: 100%;
    border: none;
    border-top: 1.098px solid #E5E7EB;
    margin: 0;
}

.km-login-separator--footer {
    max-width: 578px;
}

/* ── Onglets méthode connexion ── */
.km-login-tabs {
    display: flex;
    width: 100%;
    gap: 8px;
}

.km-login-tab {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 17.081px 15.984px;
    border: 1.098px solid #E5E7EB;
    background: #FFF;
    color: #6B7280;
    text-align: center;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.km-login-tab--active {
    background: #F6A936;
    color: #FFF;
    border-color: #F6A936;
    box-shadow: 0 2px 8px 0 rgba(240, 81, 42, 0.20);
}

/* ── Formulaire ── */
.km-login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.km-login-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.km-login-label {
    color: #704B38;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
}

.km-login-input-wrap {
    position: relative;
    width: 100%;
}

.km-login-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(10,10,10,.5);
    pointer-events: none;
}

.km-login-input {
    width: 100%;
    height: 56.646px;
    padding: 16px 16px 16px 48px;
    border: 1.098px solid #E5E7EB;
    border-radius: 6px;
    color: rgba(10,10,10,.85);
    font-family: var(--km-font);
    font-size: 15px;
    font-weight: 400;
    outline: none;
    transition: border-color .2s ease;
}
.km-login-input::placeholder {
    color: rgba(10,10,10,.5);
}
.km-login-input:focus {
    border-color: #F6A936;
}
.km-login-input--error {
    border-color: #EF4444;
}

.km-login-error {
    color: #EF4444;
    font-family: var(--km-font);
    font-size: 12px;
    font-weight: 400;
}

/* Mot de passe oublié */
.km-login-forgot {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
}

.km-login-forgot__link {
    color: #F6A936;
    text-align: right;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    text-decoration: none;
    transition: opacity .2s ease;
}
.km-login-forgot__link:hover { opacity: .8; }

/* Bouton se connecter */
.km-login-submit {
    display: flex;
    width: 100%;
    padding: 14.081px 24px 17.879px 24px;
    justify-content: center;
    align-items: center;
    gap: 7.992px;
    background: #F6A936;
    color: #FFF;
    text-align: center;
    font-family: var(--km-font);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px 0 rgba(240, 81, 42, 0.30);
    transition: filter .2s ease, transform .15s ease;
}
.km-login-submit:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}
.km-login-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
    box-shadow: none;
}

.km-login-note {
    color: #6B7280;
    text-align: center;
    font-family: var(--km-font);
    font-size: 13px;
    font-weight: 400;
}

/* Séparateur OU */
.km-login-or {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.km-login-or__line {
    flex: 1;
    height: 1.098px;
    background: #E5E7EB;
}

.km-login-or__text {
    color: #6B7280;
    font-family: var(--km-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 18.571px;
}

/* Bouton connexion entreprise */
.km-login-business-btn {
    display: flex;
    width: 100%;
    height: 55.154px;
    padding: 17.276px 24px 16.877px 24px;
    justify-content: center;
    align-items: center;
    gap: 7.992px;
    background: #704B38;
    color: #FFF;
    text-align: center;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 6px;
    transition: filter .2s ease;
}
.km-login-business-btn:hover { filter: brightness(1.1); }


/* ============================================================
   CARTE PROFIL ACTIF
   ============================================================ */
.km-login-card--profile {
    padding: 33.082px 33.082px 33.082px 33.082px;
}

/* Grille profils */
.km-login-profiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.km-login-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11.988px;
    padding: 25.09px 24px;
    border: 1.098px solid #E5E7EB;
    background: #F9FDFF;
    border-radius: 8px;
    cursor: pointer;
    color: #704B38;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.km-login-profile:hover {
    border-color: #F6A936;
}

.km-login-profile--active {
    background: #F6A936;
    border-color: #F6A936;
    color: #FFF;
}

.km-login-profile__name {
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 600;
}

.km-login-profile__desc {
    font-family: var(--km-font);
    font-size: 12px;
    font-weight: 400;
    opacity: .85;
    text-align: center;
}

/* Note info */
.km-login-info {
    display: flex;
    width: 100%;
    padding: 15.984px 0 15.984px 15.984px;
    align-items: flex-start;
    gap: 11.988px;
    background: #704B38;
}

.km-login-info__icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.km-login-info__text {
    color: #F9FDFF;
    font-family: var(--km-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 20.8px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.km-login-footer {
    color: #6B7280;
    text-align: center;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    padding-top: 20px;
}

.km-login-footer__link {
    color: #F6A936;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    text-decoration: none;
}
.km-login-footer__link:hover { text-decoration: underline; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
    .km-login-card { padding: 24px 20px 24px 20px; gap: 24px; }
    .km-login-card--profile { padding: 24px 20px; }
    .km-login-card__title { font-size: 22px; }
    .km-login-tabs { flex-direction: column; }
    .km-login-profiles { grid-template-columns: 1fr; }
    .km-login-business-btn,
    .km-login-submit { font-size: 13px; padding-left: 12px; padding-right: 12px; }
}

/* ============================================================
   SÉCURITÉ ET CONFIDENTIALITÉ
   ============================================================ */
.km-security {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: #F9FDFF;
    padding: 56px 20px;
    margin-top: 40px;
    border-top: 1.098px solid #E5E7EB;
}

.km-security__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.km-security__title {
    color: #704B38;
    text-align: center;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 110%;
    letter-spacing: -0.42px;
}

.km-security__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
}

.km-security__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.km-security__icon {
    display: flex;
    width: 63.986px;
    height: 63.986px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 999px;
    background: #F6A936;
    box-shadow: 0 4px 12px 0 rgba(240, 81, 42, 0.20);
}

.km-security__item-title {
    color: #704B38;
    text-align: center;
    font-family: var(--km-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.km-security__item-text {
    color: #6B7280;
    text-align: center;
    font-family: var(--km-font);
    font-size: 13px;
    font-weight: 400;
    line-height: 20.8px;
}

/* Responsive */
@media (max-width: 900px) {
    .km-security__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .km-security__title { font-size: 32px; }
}

@media (max-width: 640px) {
    .km-security { padding: 40px 20px; margin-top: 24px; }
    .km-security__title { font-size: 26px; }
}


/* ============================================================
   INSCRIPTION — Wizard multi-étapes (register.blade.php)
   ============================================================ */

.km-wizard-page {
    background: #F8FAFC;
    margin: -40px -20px -64px;
    padding: 56px 20px 64px;
}

.km-wizard {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.km-wizard-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #E5E7EB;
    background: #FFF;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10);
    border-radius: 12px;
    overflow: hidden;
}

.km-wizard-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 40px 32px;
    text-align: center;
}

.km-wizard-card__body {
    padding: 32px 40px 40px;
    border-top: 1.098px solid #E5E7EB;
}

/* ── Stepper 1—2—3 ── */
.km-wizard-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.km-wizard-step {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 600;
    background: #E5E7EB;
    color: #9CA3AF;
    flex-shrink: 0;
    transition: background .25s ease, color .25s ease;
}
.km-wizard-step--active,
.km-wizard-step--done {
    background: #F6A936;
    color: #FFF;
}

.km-wizard-step-line {
    width: 40px;
    height: 2px;
    background: #E5E7EB;
    transition: background .25s ease;
}
.km-wizard-step-line--done { background: #F6A936; }

/* ── Titre de section (à l'intérieur de la carte) ── */
.km-wizard-section-title {
    color: #704B38;
    text-align: center;
    font-family: 'Nexa', 'Inter', system-ui, sans-serif;
    font-size: 22px;
    font-weight: 900;
    line-height: 120%;
    letter-spacing: -0.33px;
    margin-bottom: 20px;
}

/* ── Étape 1 : sélection du type de compte ── */
.km-wizard-roles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.km-wizard-role {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 26px 26px 22px;
    border: 2px solid #E5E7EB;
    background: #FFF;
    border-radius: 10px;
    cursor: pointer;
    text-align: left;
    transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.km-wizard-role:hover { border-color: #F6A936; transform: translateY(-1px); }
.km-wizard-role--active { border-color: #F6A936; box-shadow: 0 4px 16px 0 rgba(240, 81, 42, 0.14); }

.km-wizard-role__icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(246, 169, 54, 0.14);
    color: #F6A936;
    flex-shrink: 0;
}
.km-wizard-role__icon svg { width: 24px; height: 24px; }
.km-wizard-role__icon--green { background: rgba(0, 166, 62, 0.12); color: #00A63E; }

.km-wizard-role__title {
    color: #704B38;
    font-family: var(--km-font);
    font-size: 17px;
    font-weight: 500;
    line-height: 25.5px;
}

.km-wizard-role__desc {
    color: #6B7280;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

/* ── Badge "Profil sélectionné" ── */
.km-wizard-badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 9px 17px;
    border: 1px solid #F6A936;
    background: #FFF8F5;
    color: #F6A936;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
    border-radius: 6px;
    margin-bottom: 24px;
}

/* ── Grille 2 colonnes (Nom / Prénom, etc.) ── */
.km-wizard-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Champs (variantes des classes .km-login-*) ── */
.km-wizard-input { height: 50.5px; padding: 12px 16px; }
.km-wizard-input--icon { padding-left: 48px; }

textarea.km-login-input { height: auto; min-height: 90px; padding: 12px 16px; resize: vertical; }

select.km-login-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.km-login-pwd-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
}
.km-login-pwd-toggle:hover { color: #6B7280; }

/* ── Case à cocher conditions ── */
.km-wizard-terms {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #F8FAFC;
    border-radius: 6px;
}
.km-wizard-terms input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #F6A936;
    flex-shrink: 0;
    cursor: pointer;
}
.km-wizard-terms label { color: #6B7280; font-family: var(--km-font); font-size: 13px; line-height: 19.5px; cursor: pointer; }
.km-wizard-terms a { color: #F6A936; text-decoration: none; }
.km-wizard-terms a:hover { text-decoration: underline; }

/* ── Boutons de navigation ── */
.km-wizard-actions { display: flex; gap: 12px; margin-top: 24px; }

.km-wizard-btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #E5E7EB;
    background: #FFF;
    color: #6B7280;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
}
.km-wizard-btn-back:hover { border-color: #9CA3AF; color: #374151; }

.km-wizard-btn-next {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    background: #F6A936;
    color: #FFF;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px 0 rgba(240, 81, 42, 0.30);
    transition: filter .2s ease, transform .15s ease;
}
.km-wizard-btn-next:hover { filter: brightness(1.05); transform: translateY(-1px); }
.km-wizard-btn-next:disabled,
.km-wizard-btn-back:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── Bouton final "Créer mon compte" (vert) ── */
.km-wizard-submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 24px;
    background: #00A63E;
    color: #FFF;
    font-family: var(--km-font);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px 0 rgba(0, 166, 62, 0.30);
    transition: filter .2s ease, transform .15s ease;
    margin-top: 8px;
}
.km-wizard-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }
.km-wizard-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── Notice SMS ── */
.km-wizard-sms-notice {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #FFF5F0;
    border-left: 3px solid #F6A936;
    border-radius: 6px;
    margin-bottom: 20px;
}
.km-wizard-sms-notice__icon { flex-shrink: 0; color: #F6A936; margin-top: 2px; }
.km-wizard-sms-notice__title { color: #704B38; font-family: var(--km-font); font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.km-wizard-sms-notice__text { color: #6B7280; font-family: var(--km-font); font-size: 13px; line-height: 19.5px; }

/* ── Saisie code OTP ── */
.km-wizard-otp { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.km-wizard-otp input {
    width: 44px;
    height: 52px;
    text-align: center;
    font-family: var(--km-font);
    font-size: 20px;
    font-weight: 600;
    color: #704B38;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    outline: none;
    transition: border-color .2s ease;
}
.km-wizard-otp input:focus { border-color: #F6A936; }

.km-wizard-otp-text { color: #6B7280; font-family: var(--km-font); font-size: 13px; text-align: center; }

/* ── Documents à uploader (ligne + bouton) ── */
.km-wizard-doc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
}
.km-wizard-doc-row + .km-wizard-doc-row { margin-top: 10px; }
.km-wizard-doc-row--done { border-color: #00A63E; background: #F0FDF4; }

.km-wizard-doc-row__label { display: flex; align-items: center; gap: 10px; color: #374151; font-family: var(--km-font); font-size: 14px; font-weight: 500; }
.km-wizard-doc-row__label svg { color: #9CA3AF; flex-shrink: 0; }
.km-wizard-doc-row__name { color: #9CA3AF; font-size: 12px; font-weight: 400; display: block; margin-top: 2px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.km-wizard-doc-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #F6A936;
    color: #FFF;
    font-family: var(--km-font);
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    transition: filter .2s ease;
}
.km-wizard-doc-btn:hover { filter: brightness(1.05); }
.km-wizard-doc-btn--done { background: #00A63E; }

/* ── Dropzone image (photo véhicule, portfolio) ── */
.km-wizard-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 16px;
    border: 2px dashed #E5E7EB;
    border-radius: 8px;
    background: #FAFAFA;
    color: #9CA3AF;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.km-wizard-dropzone:hover,
.km-wizard-dropzone--drag { border-color: #F6A936; background: #FFF8F5; }
.km-wizard-dropzone__text { font-family: var(--km-font); font-size: 13px; color: #6B7280; }

.km-wizard-portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 12px; }
.km-wizard-portfolio-thumb { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1px solid #E5E7EB; }
.km-wizard-portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; }
.km-wizard-portfolio-thumb__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(0,0,0,.6);
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

/* ── Écran de succès ── */
.km-wizard-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 48px 40px; }
.km-wizard-success__icon {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    background: #00A63E;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px 0 rgba(0, 166, 62, 0.25);
    margin-bottom: 8px;
}
.km-wizard-success__title { color: #704B38; font-family: 'Nexa', 'Inter', system-ui, sans-serif; font-size: 26px; font-weight: 900; line-height: 120%; }
.km-wizard-success__text { color: #6B7280; font-family: var(--km-font); font-size: 15px; margin-bottom: 20px; }
.km-wizard-success__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #F6A936;
    color: #FFF;
    font-family: var(--km-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 12px 0 rgba(240, 81, 42, 0.30);
    transition: filter .2s ease;
}
.km-wizard-success__cta:hover { filter: brightness(1.05); }

/* ── Footer ── */
.km-wizard-footer { color: #6B7280; text-align: center; font-family: var(--km-font); font-size: 14px; padding-top: 4px; }
.km-wizard-footer a { color: #F6A936; font-weight: 500; text-decoration: none; }
.km-wizard-footer a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 640px) {
    .km-wizard-page { padding: 32px 16px 48px; }
    .km-wizard-card__header { padding: 28px 20px 24px; }
    .km-wizard-card__body { padding: 24px 20px 28px; }
    .km-wizard-roles { grid-template-columns: 1fr; }
    .km-wizard-grid-2 { grid-template-columns: 1fr; }
    .km-wizard-actions { flex-direction: column-reverse; }
    .km-wizard-btn-back { width: 100%; }
    .km-wizard-step-line { width: 22px; }
    .km-wizard-otp { gap: 6px; }
    .km-wizard-otp input { width: 38px; height: 46px; font-size: 17px; }
    .km-wizard-doc-row { flex-direction: column; align-items: stretch; }
    .km-wizard-doc-btn { justify-content: center; }
    .km-wizard-success { padding: 36px 20px; }
}