.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 76vh;
    padding: 24px;
}

.auth-box {
    background: #fff;
    border: 1px solid #dbe4f8;
    border-radius: 24px;
    padding: 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.auth-box h2 {
    font-size: 2rem;
    margin-bottom: 18px;
    color: #0f172a;
    text-align: center;
}

.auth-form {
    margin-top: 24px;
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    color: #334155;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #f8fbff;
    color: #0f172a;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

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

.form-group small {
    color: #64748b;
    font-size: 0.85rem;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #2874f0 0%, #3b82f6 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(40, 116, 240, 0.24);
}

.alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 12px;
    font-weight: 500;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #34d399;
    color: #065f46;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #ef4444;
    color: #b91c1c;
}

.auth-link {
    text-align: center;
    margin-top: 18px;
    color: #475569;
}

.auth-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-box {
        padding: 24px;
    }

    .auth-box h2 {
        font-size: 1.6rem;
    }
}
