/* ===== TawTaw Store — Auth Pages Premium Design System ===== */

/* ——————— Animations keyframes ——————— */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-6px);
    }

    40%,
    80% {
        transform: translateX(6px);
    }
}

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

/* ——————— Page Background ——————— */
body.auth-page {
    margin: 0;
    min-height: 100vh;
    font-family: 'Nunito', sans-serif;
    background: #f0f4f8;
    overflow-x: hidden;
}

.auth-page-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ——————— Split-screen : Panneau Illustratif (gauche) ——————— */
.auth-illustration-panel {
    flex: 0 0 420px;
    background: linear-gradient(160deg, var(--tawtaw-blue-dark, #004A87) 0%, var(--tawtaw-blue, #0D67B7) 60%, #1a7fd4 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    animation: slideInLeft 0.6s ease-out;
}

.auth-illustration-panel::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 102, 0, 0.15);
}

.auth-illustration-panel::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.auth-illustration-panel .panel-logo {
    margin-bottom: 40px;
    z-index: 1;
}

.auth-illustration-panel .panel-logo img {
    max-height: 72px;
    filter: brightness(0) invert(1);
}

.auth-illustration-panel .panel-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 12px;
    z-index: 1;
}

.auth-illustration-panel .panel-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    line-height: 1.6;
    z-index: 1;
    max-width: 300px;
}

.auth-illustration-panel .panel-decoration {
    position: absolute;
    bottom: 40px;
    display: flex;
    gap: 8px;
    z-index: 1;
}

.auth-illustration-panel .panel-decoration .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.auth-illustration-panel .panel-decoration .dot.active {
    background: var(--tawtaw-orange, #FF6600);
    width: 24px;
    border-radius: 4px;
}

/* ——————— Panneau formulaire (droite) ——————— */
.auth-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: radial-gradient(circle at top left, rgba(13, 103, 183, 0.06), transparent 50%),
        radial-gradient(circle at bottom right, rgba(255, 102, 0, 0.06), transparent 50%),
        #f7f9fc;
    overflow-y: auto;
    animation: fadeInUp 0.5s ease-out;
}

/* Mode centré (login, forgot password) — pas de split */
.auth-page-wrapper.centered {
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top left, rgba(13, 103, 183, 0.1), transparent 50%),
        radial-gradient(circle at bottom right, rgba(255, 102, 0, 0.12), transparent 50%),
        #f0f4f8;
}

.auth-page-wrapper.centered .auth-form-panel {
    background: none;
    max-width: 500px;
    width: 100%;
}

/* ——————— Logo (pour mode centré) ——————— */
.auth-logo {
    margin-bottom: 28px;
    text-align: center;
}

.auth-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(13, 103, 183, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-logo a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(13, 103, 183, 0.2);
}

.auth-logo img {
    max-height: 56px;
}

/* ——————— Carte d'authentification ——————— */
.auth-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(13, 103, 183, 0.08);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
    background: #ffffff;
    position: relative;
    animation: fadeInUp 0.5s ease-out;
    max-width: 1100px;
    width: 100%;
}

/* Barre décorative gradient en haut */
.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tawtaw-blue, #0D67B7) 0%, var(--tawtaw-orange, #FF6600) 100%);
    z-index: 2;
}

.auth-card-body {
    padding: 40px 48px 48px;
}

@media (max-width: 576px) {
    .auth-card-body {
        padding: 28px 20px 32px;
    }
}

/* ——————— Header texte ——————— */
.auth-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(13, 103, 183, 0.08);
}

.auth-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--tawtaw-blue-dark, #004A87);
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--tawtaw-gray, #64748b);
    margin: 0;
    line-height: 1.6;
}

/* ——————— Stepper ——————— */
.auth-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
    padding: 0 20px;
}

.auth-stepper .step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-stepper .step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid #cbd5e1;
    color: #94a3b8;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.auth-stepper .step.active .step-number {
    border-color: var(--tawtaw-orange, #FF6600);
    background: var(--tawtaw-orange, #FF6600);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.3);
}

.auth-stepper .step.completed .step-number {
    border-color: var(--tawtaw-success, #4CAF50);
    background: var(--tawtaw-success, #4CAF50);
    color: #fff;
}

.auth-stepper .step-label {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
}

.auth-stepper .step.active .step-label {
    color: var(--tawtaw-blue-dark, #004A87);
}

.auth-stepper .step.completed .step-label {
    color: var(--tawtaw-success, #4CAF50);
}

.auth-stepper .step-line {
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin: 0 12px;
    min-width: 30px;
    position: relative;
}

.auth-stepper .step-line.completed {
    background: var(--tawtaw-success, #4CAF50);
}

/* ——————— Form Inputs ——————— */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: var(--tawtaw-gray-dark, #334155);
    margin-bottom: 8px;
    font-size: 13px;
    display: block;
    letter-spacing: 0.2px;
}

.form-control {
    width: 100%;
    border-radius: 12px;
    padding: 13px 16px;
    border: 1.5px solid #e2e8f0;
    transition: all 0.25s ease;
    background-color: #fff;
    font-size: 14px;
    color: #334155;
    box-sizing: border-box;
}

.form-control:hover {
    border-color: rgba(13, 103, 183, 0.35);
}

.form-control:focus {
    border-color: var(--tawtaw-blue, #0D67B7);
    box-shadow: 0 0 0 3px rgba(13, 103, 183, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #94a3b8;
}

/* ——— Input avec icône ——— */
.input-icon-group {
    position: relative;
}

.input-icon-group .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
    transition: color 0.25s ease;
    z-index: 2;
    pointer-events: none;
}

.input-icon-group .form-control {
    padding-left: 42px;
}

.input-icon-group:focus-within .input-icon {
    color: var(--tawtaw-blue, #0D67B7);
}

/* ——— Validation visuelle ——— */
.form-control.field-valid {
    border-color: var(--tawtaw-success, #4CAF50) !important;
}

.form-control.field-invalid {
    border-color: var(--tawtaw-error, #E74C3C) !important;
    animation: shake 0.4s ease;
}

.field-feedback {
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.field-feedback.success {
    color: var(--tawtaw-success, #4CAF50);
}

.field-feedback.error {
    color: var(--tawtaw-error, #E74C3C);
}

.field-feedback i {
    font-size: 11px;
}

/* ——————— Password Toggle ——————— */
.password-group {
    position: relative;
}

.password-group input {
    padding-right: 48px;
}

.password-group.has-icon input {
    padding-left: 42px;
}

.password-toggle-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    padding: 4px;
    color: #94a3b8;
    font-size: 16px;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 5;
}

.password-toggle-btn:hover {
    color: var(--tawtaw-blue, #0D67B7);
}

/* ——————— Password Strength Bar ——————— */
.password-strength {
    margin-top: 10px;
}

.password-strength-bar {
    height: 4px;
    border-radius: 2px;
    background: #e2e8f0;
    overflow: hidden;
    margin-bottom: 8px;
}

.password-strength-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
    width: 0;
}

.password-strength-fill.weak {
    width: 25%;
    background: var(--tawtaw-error, #E74C3C);
}

.password-strength-fill.fair {
    width: 50%;
    background: var(--tawtaw-warning, #F39C12);
}

.password-strength-fill.good {
    width: 75%;
    background: #8ecae6;
}

.password-strength-fill.strong {
    width: 100%;
    background: var(--tawtaw-success, #4CAF50);
}

.password-strength-text {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

.password-strength-text.weak {
    color: var(--tawtaw-error, #E74C3C);
}

.password-strength-text.fair {
    color: var(--tawtaw-warning, #F39C12);
}

.password-strength-text.good {
    color: #0D67B7;
}

.password-strength-text.strong {
    color: var(--tawtaw-success, #4CAF50);
}

/* ——————— Buttons ——————— */
.btn-auth-primary {
    background: linear-gradient(135deg, var(--tawtaw-orange, #FF6600), #ff8533);
    border: none;
    color: #fff;
    border-radius: 14px;
    padding: 15px 28px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 102, 0, 0.4);
    background: linear-gradient(135deg, #ff8533, var(--tawtaw-orange, #FF6600));
}

.btn-auth-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
}

/* Loading state */
.btn-auth-primary.btn-loading {
    pointer-events: none;
    opacity: 0.85;
}

.btn-auth-primary.btn-loading .btn-text {
    opacity: 0;
}

.btn-auth-primary.btn-loading::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.btn-auth-outline {
    background: #fff;
    border: 1.5px solid var(--tawtaw-blue, #0D67B7);
    color: var(--tawtaw-blue, #0D67B7);
    border-radius: 14px;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 15px;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.btn-auth-outline:hover {
    background: rgba(13, 103, 183, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(13, 103, 183, 0.12);
}

/* ——————— Links ——————— */
.auth-link {
    font-size: 13px;
    color: var(--tawtaw-blue, #0D67B7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-link:hover {
    color: var(--tawtaw-orange, #FF6600);
    text-decoration: underline;
}

/* ——————— Tabs (Login) ——————— */
.auth-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    background: rgba(13, 103, 183, 0.04);
    padding: 5px;
    border-radius: 14px;
}

.auth-tab {
    flex: 1;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--tawtaw-gray, #64748b);
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth-tab i {
    font-size: 14px;
}

.auth-tab:hover {
    background: rgba(255, 255, 255, 0.6);
    color: var(--tawtaw-blue, #0D67B7);
}

.auth-tab.active {
    background: #fff;
    color: var(--tawtaw-blue, #0D67B7);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* ——————— Country Selector & Phone Input ——————— */
.phone-input-group {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    overflow: visible;
    transition: all 0.25s ease;
    background: #fff;
}

.phone-input-group:focus-within {
    border-color: var(--tawtaw-blue, #0D67B7);
    box-shadow: 0 0 0 3px rgba(13, 103, 183, 0.1);
}

.country-select-wrapper {
    width: 140px;
    flex-shrink: 0;
    border-right: 1px solid #e2e8f0;
    background: rgba(13, 103, 183, 0.02);
    border-radius: 12px 0 0 12px;
    position: relative;
}

.country-select-wrapper .select2-container {
    width: 100% !important;
    position: relative !important;
    left: auto !important;
    top: auto !important;
}

.country-select-wrapper .select2-selection--single {
    height: 48px !important;
    border: none !important;
    background: transparent !important;
    display: flex;
    align-items: center;
}

.country-select-wrapper .select2-selection__rendered {
    padding-left: 12px !important;
    color: var(--tawtaw-blue-dark, #004A87) !important;
    font-weight: 600;
    line-height: 48px !important;
}

.phone-input-field {
    flex: 1;
    border: none !important;
    border-radius: 0 12px 12px 0 !important;
    padding: 13px 16px !important;
    box-shadow: none !important;
    font-size: 14px;
}

/* ——————— Registration Grid ——————— */
.register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

@media (max-width: 991px) {
    .register-grid {
        grid-template-columns: 1fr;
    }
}

.register-section {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid #e8eef4;
    height: 100%;
    transition: box-shadow 0.3s ease;
}

.register-section:hover {
    box-shadow: 0 8px 24px rgba(13, 103, 183, 0.06);
}

.register-section.secondary {
    border-color: #f0e8e0;
}

.register-section.secondary:hover {
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.06);
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--tawtaw-blue-dark, #004A87);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(13, 103, 183, 0.12);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--tawtaw-orange, #FF6600);
    font-size: 18px;
}

.section-title.secondary {
    border-bottom-color: rgba(255, 102, 0, 0.12);
}

/* ——————— Avatar Upload ——————— */
.avatar-upload-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.avatar-upload {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px dashed rgba(13, 103, 183, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(13, 103, 183, 0.03), rgba(255, 102, 0, 0.03));
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.avatar-upload:hover {
    border-color: var(--tawtaw-blue, #0D67B7);
    background: rgba(13, 103, 183, 0.06);
    transform: scale(1.03);
}

.avatar-upload .avatar-placeholder {
    text-align: center;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.avatar-upload:hover .avatar-placeholder {
    color: var(--tawtaw-blue, #0D67B7);
}

.avatar-upload .avatar-placeholder i {
    font-size: 28px;
    margin-bottom: 4px;
    display: block;
}

.avatar-upload .avatar-placeholder span {
    font-size: 11px;
    font-weight: 600;
}

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

.avatar-upload-label {
    font-size: 12px;
    color: var(--tawtaw-gray, #64748b);
}

/* Fallback: classic image upload (keep compat) */
.image-upload-preview {
    width: 100%;
    height: 180px;
    border: 2px dashed rgba(13, 103, 183, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(13, 103, 183, 0.02);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.image-upload-preview:hover {
    background: rgba(13, 103, 183, 0.06);
    border-color: var(--tawtaw-blue, #0D67B7);
}

.image-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-upload-placeholder {
    text-align: center;
    color: #94a3b8;
}

.image-upload-placeholder i {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--tawtaw-blue, #0D67B7);
    opacity: 0.5;
}

/* ——————— Messages d'erreur / succès ——————— */
.register-messages {
    margin-bottom: 24px;
}

.error_top,
.alert-danger {
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 13px;
    border: 1px solid rgba(231, 76, 60, 0.2);
    background: rgba(231, 76, 60, 0.06);
    color: var(--tawtaw-error, #E74C3C);
}

.alert-success {
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 13px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    background: rgba(76, 175, 80, 0.06);
    color: var(--tawtaw-success, #4CAF50);
}

/* ——————— Form Actions ——————— */
.form-actions {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e8eef4;
}

/* ——————— Form text / help ——————— */
.form-text {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-text i {
    color: var(--tawtaw-blue, #0D67B7);
    opacity: 0.5;
}

/* ——————— Validations ——————— */
.invalid-feedback {
    font-size: 12px;
    color: var(--tawtaw-error, #E74C3C);
    margin-top: 6px;
    display: block;
}

.is-invalid {
    border-color: var(--tawtaw-error, #E74C3C) !important;
}

/* ——————— Forgot Password Link ——————— */
.forgot-password {
    text-align: right;
}

.forgot-password .auth-link {
    font-size: 13px;
    font-weight: 500;
}

/* ——————— Error display ——————— */
.error {
    color: var(--tawtaw-error, #E74C3C);
    font-size: 13px;
    margin-top: 8px;
    text-align: center;
}

/* ——————— Page Overlay / Spinner ——————— */
.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-text {
    text-align: center;
}

.overlay-text img {
    width: 48px;
}

/* ——————— Select2 Dropdown Global Overrides ——————— */
.select2-dropdown {
    min-width: 280px !important;
    z-index: 9999 !important;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.select2-dropdown .select2-search--dropdown {
    display: block !important;
    padding: 10px;
}

.select2-dropdown .select2-search__field {
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    box-sizing: border-box;
    transition: border-color 0.25s ease;
}

.select2-dropdown .select2-search__field:focus {
    border-color: var(--tawtaw-blue, #0D67B7);
    outline: none;
}

.select2-container--open {
    z-index: 9999 !important;
}

.select2-results__option {
    padding: 10px 14px;
    font-size: 13px;
    transition: background 0.15s ease;
}

.select2-results__option--highlighted {
    background-color: rgba(13, 103, 183, 0.08) !important;
    color: var(--tawtaw-blue-dark, #004A87) !important;
}

.select2-results__option .img-flag,
.select2-selection__rendered .img-flag {
    width: 20px;
    height: 14px;
    margin-right: 8px;
    vertical-align: middle;
    border-radius: 2px;
    object-fit: cover;
}

/* ——————— Responsive ——————— */
@media (max-width: 991px) {
    .auth-illustration-panel {
        display: none;
    }

    .auth-page-wrapper {
        justify-content: center;
    }

    .auth-form-panel {
        padding: 24px 16px;
    }

    .auth-card-body {
        padding: 28px 24px 32px;
    }

    .register-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .auth-stepper {
        padding: 0;
    }

    .auth-stepper .step-label {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .auth-card-body {
        padding: 20px 16px 24px;
    }

    .auth-title {
        font-size: 22px;
    }

    .register-section {
        padding: 20px 16px;
    }

    .btn-auth-primary,
    .btn-auth-outline {
        padding: 13px 20px;
        font-size: 14px;
    }

    .auth-stepper .step-number {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* ——————— Champs stacked dans register-section (compat legacy) ——————— */
.register-section .form-group.row {
    display: block;
    margin-bottom: 20px;
}

.register-section .form-group .control-label,
.register-section .form-group .col-3 {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 8px;
    padding-top: 0;
}

.register-section .form-group .col-7 {
    display: block;
    width: 100%;
    max-width: 100%;
    flex: none;
}