/** Auth pages — champs, boutons submit, pwd toggle */
.auth-card label,
.card label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"],
.card input[type="email"],
.card input[type="password"],
.card input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    font-size: 1rem;
    background: var(--gray-50);
    font-family: inherit;
}

.auth-card input:focus,
.card input:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 2px rgba(0, 110, 185, 0.2);
}

.auth-card .pwd-wrap,
.card .pwd-wrap {
    position: relative;
    margin-bottom: 16px;
}

.auth-card .pwd-wrap input,
.card .pwd-wrap input {
    margin-bottom: 0;
    padding-right: 40px;
}

.auth-alert,
.auth-card .error,
.auth-card .success,
.card .error,
.card .success {
    font-size: 0.9rem;
    margin-bottom: 12px;
    border-radius: var(--radius-lg);
    padding: 10px 14px;
}

.auth-alert--error,
.auth-card .error,
.card .error {
    color: var(--color-danger-text);
    background: var(--color-danger-bg);
    border: 1px solid var(--color-danger-border);
}

.auth-alert--info {
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
}

.auth-alert--success,
.auth-card .success,
.card .success {
    color: var(--color-success);
    background: var(--color-success-bg);
    border: 1px solid var(--color-success-border);
}

.auth-card button[type="submit"],
.card button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: var(--brand-blue);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    font-family: inherit;
}

.auth-card button[type="submit"]:hover,
.card button[type="submit"]:hover {
    background: var(--brand-blue-hover);
}
