/* =========================================
   BASIC SETTINGS
========================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    font-family: Arial, sans-serif;

    background-color: #eaf4fb;

    color: #333333;
}


/* =========================================
   AUTH PAGE
========================================= */

.auth-page {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 40px 20px;
}


/* =========================================
   AUTH CARD
========================================= */

.auth-card {
    width: 100%;

    max-width: 480px;

    padding: 40px 35px;

    background-color: #ffffff;

    border: 1px solid #dfe8ef;

    border-radius: 10px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);
}


/* =========================================
   BRAND
========================================= */

.auth-brand {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin-bottom: 25px;

    color: #163a59;

    text-decoration: none;

    font-size: 22px;

    font-weight: 700;
}

.auth-logo {
    width: 105px;

    height: 48px;

    object-fit: contain;

    display: block;
}


/* =========================================
   HEADINGS
========================================= */

.auth-card h1 {
    margin: 0 0 10px;

    color: #163a59;

    font-size: 30px;

    text-align: center;
}

.auth-intro {
    margin: 0 0 30px;

    color: #666666;

    text-align: center;

    line-height: 1.6;
}


/* =========================================
   FORM
========================================= */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 7px;

    color: #163a59;

    font-size: 15px;

    font-weight: 600;
}

.form-group input {
    width: 100%;

    padding: 12px 13px;

    border: 1px solid #cfdbe5;

    border-radius: 6px;

    font-family: Arial, sans-serif;

    font-size: 15px;

    color: #333333;

    background-color: #ffffff;

    outline: none;
}

.form-group input:focus {
    border-color: #1677c8;

    box-shadow:
        0 0 0 2px rgba(22, 119, 200, 0.10);
}


/* =========================================
   AUTH BUTTON
========================================= */

.auth-button {
    width: 100%;

    padding: 13px 20px;

    border: none;

    border-radius: 6px;

    background-color: #1677c8;

    color: #ffffff;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: background-color 0.2s ease;
}

.auth-button:hover {
    background-color: #0f5f9f;
}

.auth-button:disabled {
    opacity: 0.7;

    cursor: not-allowed;
}


/* =========================================
   FORM MESSAGES
========================================= */

.form-message {
    display: none;

    margin-bottom: 18px;

    padding: 12px 14px;

    border-radius: 6px;

    font-size: 14px;

    line-height: 1.5;
}

.form-message.success,
.form-message.error {
    display: block;
}

.form-message.success {
    background-color: #e8f7ef;

    color: #16834b;

    border: 1px solid #b9e5ca;
}

.form-message.error {
    background-color: #fff1f1;

    color: #b42318;

    border: 1px solid #f0c2c2;
}


/* =========================================
   FOOTER TEXT
========================================= */

.auth-footer-text {
    margin: 25px 0 0;

    text-align: center;

    color: #666666;

    font-size: 14px;
}

.auth-footer-text a {
    color: #1677c8;

    font-weight: 600;

    text-decoration: none;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 500px) {

    .auth-page {
        padding: 25px 15px;
    }

    .auth-card {
        padding: 30px 20px;
    }

    .auth-card h1 {
        font-size: 26px;
    }

    .auth-logo {
        width: 95px;

        height: 44px;
    }

}