/* ==========================================================
   HPP ADMISSION ADMIN
   Authentication Pages
   ========================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: #f6f7f9;
    color: #172033;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.auth-card {
    width: 100%;
    max-width: 440px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.08);

    overflow: hidden;
}

.auth-header {
    text-align: center;
    padding: 35px 30px 20px;
}

.auth-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.auth-header h1 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
}

.auth-header p {
    margin: 8px 0 0;
    color: #667085;
    font-size: 14px;
}

.auth-body {
    padding: 10px 30px 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 7px;

    font-size: 14px;
    font-weight: 600;
    color: #344054;
}

.form-control {
    width: 100%;
    height: 48px;

    padding: 0 14px;

    border: 1px solid #d0d5dd;
    border-radius: 8px;

    background: #ffffff;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #971b45;

    box-shadow:
        0 0 0 3px rgba(151, 27, 69, 0.12);
}

.auth-button {
    width: 100%;
    height: 48px;

    border: 0;
    border-radius: 8px;

    background: #971b45;
    color: #ffffff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: background 0.2s ease;
}

.auth-button:hover {
    background: #7d1539;
}

.auth-footer {
    text-align: center;

    padding: 20px 30px 30px;

    font-size: 14px;
}

.auth-footer a {
    color: #971b45;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-alert {
    margin-bottom: 20px;

    padding: 12px 14px;

    border-radius: 8px;

    font-size: 14px;
}

.auth-alert.error {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
}

.auth-alert.success {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abefc6;
}

@media (max-width: 480px) {

    .auth-page {
        padding: 20px 15px;
    }

    .auth-header {
        padding: 30px 20px 15px;
    }

    .auth-body {
        padding: 10px 20px 25px;
    }

    .auth-logo {
        width: 85px;
        height: 85px;
    }
}