/* ===== AUTH CSS ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background: #121212;
    font-family: 'Circular', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.auth-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}
.auth-box {
    background: #282828;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
}
.logo { margin-bottom: 24px; }
.logo svg { display: inline-block; }
h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #fff;
}
.alert {
    background: #e91429;
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
    text-align: left;
}
.form-group {
    text-align: left;
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.form-group input {
    width: 100%;
    padding: 14px 16px;
    background: #3e3e3e;
    border: 1px solid #535353;
    border-radius: 4px;
    color: #fff;
    font-size: 16px; /* ≥16px = pas de zoom auto sur iOS */
    outline: none;
    transition: border-color 0.2s;
}
.form-group input:focus {
    border-color: #fff;
}
.btn-primary {
    width: 100%;
    padding: 14px;
    background: #1DB954;
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    margin-top: 8px;
    transition: transform 0.1s, background 0.2s;
}
.btn-primary:hover { background: #1ed760; transform: scale(1.02); }
.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #535353;
    font-size: 13px;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #535353;
}
.divider span { padding: 0 16px; }
.auth-link {
    font-size: 14px;
    color: #a7a7a7;
    margin-top: 16px;
}
.auth-link a { color: #fff; text-decoration: underline; }
.auth-link a:hover { color: #1DB954; }
