/* auth-page.css */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.auth-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, var(--primary-light), transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(184,134,11,0.06), transparent 50%);
    pointer-events: none;
}
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}
.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-logo a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.auth-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}
.auth-subtitle {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.9375rem;
    color: var(--text-secondary);
}
.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.auth-footer a:hover { text-decoration: underline; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Stepper pour inscription 2 étapes */
.auth-stepper {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}
.auth-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.auth-step-num {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8125rem;
    border: 2px solid var(--border);
    color: var(--text-muted);
}
.auth-step.active .auth-step-num {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-color: var(--primary);
}
.auth-step.done .auth-step-num {
    background: var(--success);
    color: #fff;
    border-color: var(--success);
}
.auth-step-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.auth-step.active .auth-step-label { color: var(--primary); font-weight: 600; }
.auth-step.done .auth-step-label { color: var(--success); }
.auth-step-line {
    width: 40px;
    height: 2px;
    background: var(--border);
    margin: 0 0.75rem;
}
.auth-step-line.done { background: var(--success); }

/* Sélecteur de plan dans inscription */
.plan-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.plan-option {
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}
.plan-option:hover { border-color: var(--primary); }
.plan-option.selected {
    border-color: var(--primary);
    background: var(--primary-light);
}
.plan-option input[type="radio"] { display: none; }
.plan-option-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.plan-option-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}
.plan-option-price span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}
.plan-option-limit {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Password strength indicator */
.password-strength {
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    margin-top: 0.5rem;
    overflow: hidden;
}
.password-strength-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s, background 0.3s;
    width: 0%;
}
.password-strength-text {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

@media (max-width: 767px) {
    .auth-card { padding: 2rem 1.5rem; }
    .plan-selector { grid-template-columns: 1fr; }
    .auth-step-label { display: none; }
}
