/* ================= WRAPPER ================= */
.auth-wrapper {
    min-height: calc(100vh - 140px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background: linear-gradient(180deg, #f4f6f9, #eef1f6);
}

/* ================= CARD ================= */
.auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    padding: 40px 36px;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
}

/* ================= HEADER ================= */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 6px;
}

.auth-header p {
    font-size: 14px;
    color: #6b7280;
}

/* ================= FORM ================= */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid #dcdfe6;
    font-size: 14px;
    background: #f9fafc;
    transition: all 0.25s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2874f0;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.15);
}

/* ================= BUTTON ================= */
.auth-btn {
    padding: 14px;
    background: linear-gradient(135deg, #2874f0, #1f5ed6);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 116, 240, 0.35);
}

/* ================= ERROR ================= */
.form-error {
    background: #fff1f2;
    color: #b91c1c;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
}

/* ================= SUCCESS ================= */
.form-success {
    background: #ecfdf5;
    color: #065f46;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
}

/* ================= FOOTER ================= */
.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
}

.auth-footer a {
    color: #2874f0;
    font-weight: 600;
    text-decoration: none;
}

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

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
    .auth-card {
        padding: 26px 22px;
        border-radius: 14px;
    }

    .auth-header h2 {
        font-size: 22px;
    }
}
