/* ================= AUTH WRAPPER ================= */
.auth-wrapper {
    min-height: calc(100vh - 220px);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================= AUTH BOX ================= */
.auth-box {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    padding: 28px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* ================= TITLE ================= */
.auth-box h2 {
    text-align: center;
    margin-bottom: 22px;
    font-size: 26px;
    font-weight: 700;
    color: #1f2a44;
}

/* ================= ERROR ================= */
.error-box {
    background: #ffe6e6;
    color: #b00020;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* ================= FORM ================= */
.auth-box label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.auth-box input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.auth-box input:focus {
    outline: none;
    border-color: #2874f0;
    box-shadow: 0 0 0 2px rgba(40,116,240,0.15);
}

/* ================= BUTTON ================= */
.auth-box button {
    width: 100%;
    padding: 12px;
    background: #2874f0;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s ease;
}

.auth-box button:hover {
    background: #1f5ed6;
}

/* ================= LINKS ================= */
.auth-links {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
}

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

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

.auth-links span {
    margin: 0 8px;
    color: #999;
}
/* ================= OTP / LOGIN CENTER FIX ================= */
/* This overrides earlier layout rules safely */

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 220px); /* header + footer */
}

/* Ensure auth boxes are centered */
.auth-box {
    margin: 0 auto !important;
    float: none !important;
    position: relative !important;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 480px) {
    .auth-box {
        padding: 22px 20px;
    }
}
