:root {
    --brand: #ff6b2b; /* Orange vif harmonisé */
    --brand-hover: #f06424;
    --text-main: #000000;
    --text-muted: #667085;
    --border-color: #f0f0f0;
    --bg-light: #fcfcfc;
    --bg-visual: #f9f9fb;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* --- Base Layout --- */
.auth-section {
    background: #fdfdfd;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 40px 0; */
    /* font-family: 'Inter', sans-serif; */
}

.auth-card {
    display: flex;
    background: #fff;
    /* border-radius: 24px; */
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 1180px;
    width: 100%;
    margin: auto;
}

/* --- Left Banner (Visual) --- */
.auth-visual, .auth-card__left {
    flex: 1;
    background: var(--bg-visual);
    display: flex;
    /* align-items: center;
    justify-content: center;
    padding: 40px; */
}

.auth-visual img, .auth-card__left img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- Right Content (Form) --- */
.auth-body, .auth-card__right {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* --- Stepper (Register only) --- */
.stepper {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.step-dot {
    height: 6px;
    flex: 1;
    background: #e5e7eb;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.step-dot.active {
    background: var(--brand);
}

/* --- Typography --- */
.g-title, .d-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 5px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
}

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

.form-label {
    display: block;
    /* font-weight: 700; */
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-main);
}

.form-label.required::after, .form-label .required {
    content: " *";
    color: #ff4d4d;
}

.input-wrap { position: relative; }

.form-control, .form-select {
    width: 100%;
    height: 50px;
    border: 1px solid var(--border-color);
    /* background: var(--bg-light); */
    border-radius: 10px;
    /* padding: 0 15px; */
    font-size: 14px;
    transition: all 0.2s;
    outline: none;
}

.country-select {
   text-align: center;
}

.form-control:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 107, 43, 0.1);
}

/* --- Buttons --- */
.btn-submit, .btn-step, .btn-next {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    color: #fff;
}

/* État désactivé (Gris) */
.btn-submit, .btn-next { background: #d1d5db; }

/* État activé (Orange) */
.btn-submit.enabled, .btn-next.enabled, .btn-submit[type="submit"] {
    background: var(--brand);
    box-shadow: 0 4px 12px rgba(255, 107, 43, 0.2);
}

.btn-back {
    background: transparent;
    border: 1px solid #e5e7eb;
    color: var(--text-main);
    width: 30%;
}

.btn-google {
    width: 100%;
    height: 52px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-main);
    font-weight: 500;
    text-decoration: none;
    margin-top: 15px;
}

/* Utils */
.right-ico {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--text-main);
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .auth-visual, .auth-card__left { display: none; }
    .auth-body, .auth-card__right { padding: 30px; }
    .btn-back {    width: 100%;}
}
