/* =====================================================
   AUTHENTICATION
   LOGIN + REGISTER
===================================================== */

* {
    box-sizing: border-box;
}


/* =====================================================
   PAGE
===================================================== */

.auth-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 20px;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.35),
            rgba(0, 0, 0, 0.35)
        ),
        url("../images/miso_bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* =====================================================
   CARD
===================================================== */

.auth-card {
    width: 100%;
    max-width: 450px;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.05);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.20);

    overflow: hidden;
}


/* =====================================================
   HEADER
===================================================== */

.auth-header {

    text-align: center;

    padding: 30px 30px 20px;

    color: var(--text-light);

}


.auth-header > i {

    display: inline-block;

    margin-bottom: 12px;

    font-size: 42px;

    color: var(--secondary);

}


.auth-header h3 {

    color: var(--text-light);

    font-weight: 700;

}


.auth-header p {

    color: rgba(255, 255, 255, 0.85);

}

/* =====================================================
   MISO PTMS SYSTEM BRANDING
===================================================== */

.auth-logo {

    display: flex;

    flex-direction: column;

    align-items: center;

    margin-bottom: 20px;

    text-align: center;

    line-height: 1.2;
}


.auth-logo strong {

    font-size: 1.75rem;

    font-weight: 800;

    letter-spacing: 0.3px;

    color: #ffffff;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.30);
}


.auth-logo span {

    margin-top: 8px;

    font-size: 1.20rem;

    font-weight: 700;

    letter-spacing: 2.5px;

    color: #FFD700;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.25);
}
/* =====================================================
   BODY
===================================================== */

.auth-body {

    padding: 10px 30px 30px;

}


/* =====================================================
   LABELS
===================================================== */

.auth-body .form-label {

    color: var(--text-light);

    font-weight: 600;

    font-size: 14px;

}


/* =====================================================
   INPUT GROUP
===================================================== */

.auth-body .input-group-text {

    min-width: 44px;

    justify-content: center;

    background: rgba(255, 255, 255, 0.85);

    border-color: rgba(255, 255, 255, 0.40);

    color: var(--primary-dark);

}


.auth-body .form-control {

    min-height: 44px;

    background: rgba(255, 255, 255, 0.90);

    border-color: rgba(255, 255, 255, 0.40);

    color: var(--text-dark);

}


.auth-body .form-control::placeholder {

    color: var(--text-muted);

}


.auth-body .form-control:focus {

    background: #ffffff;

    border-color: var(--secondary);

    box-shadow:
        0 0 0 0.2rem rgba(255, 215, 0, 0.20);

}


/* =====================================================
   PRIMARY BUTTON
===================================================== */
/* =====================================================
   AUTH BUTTON
===================================================== */

.auth-submit-btn {

    min-height: 44px;

    border: 1px solid #1E6031 !important;
    border-radius: 8px;

    background-color: #1E6031 !important;

    color: #ffffff !important;

    font-weight: 700;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.auth-submit-btn:hover {

    background-color: #FFD700 !important;

    border-color: #FFD700 !important;

    color: #333333 !important;

    transform: translateY(-1px);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.20);
}


.auth-submit-btn:active {

    background-color: #FFD700 !important;

    border-color: #FFD700 !important;

    transform: translateY(0);

}

/* =====================================================
   MESSAGES
===================================================== */

.auth-body .alert {

    border-radius: 8px;

    font-size: 13px;

}


/* =====================================================
   BOTTOM LINKS
===================================================== */

.auth-bottom-links {

    margin-top: 20px;

    text-align: center;

}


.auth-bottom-links p {

    color: rgba(255, 255, 255, 0.85);

    font-size: 14px;

}


.auth-bottom-links a {

    color: var(--secondary);

    font-weight: 600;

    text-decoration: none;

}


.auth-bottom-links a:hover {

    color: var(--accent);

    text-decoration: underline;

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 576px) {

    .auth-page {

        padding: 20px 15px;

    }


    .auth-card {

        max-width: 100%;

        border-radius: 12px;

    }


    .auth-header {

        padding: 25px 20px 15px;

    }


    .auth-body {

        padding: 10px 20px 25px;

    }

}


/* =====================================================
   SHORT SCREEN
===================================================== */

@media (max-height: 700px) {

    .auth-page {

        align-items: flex-start;

        overflow-y: auto;

    }


    .auth-card {

        margin-top: 20px;

        margin-bottom: 20px;

    }

}

@media (max-width: 768px) {

    .auth-page {

        justify-content: center;

        padding: 20px 15px;

        background-position: center;

    }

}