/* ==========================================================
   LAAU
   Student & Executive Portal

   File      : login.css
   Version   : 1.1.0
   Status    : ACTIVE

   Purpose
   ----------------------------------------------------------
   Shared Login Experience Styling

   Responsibilities
   ✓ Login Page Layout
   ✓ Authentication Card
   ✓ Branding
   ✓ Form Styling
   ✓ Responsive Behaviour

   Non Responsibilities
   ✗ Authentication Logic
   ✗ Session Management
   ✗ Firebase
   ✗ Business Rules

   Governance
   • Authentication Experience
   • Presentation Layer Only
   • Design Token Driven
   • Enterprise Portal Standard
========================================================== */

/* ==========================================================
   PAGE
========================================================== */

.login-page {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: #f5f7fb;
    font-family: var(--font-family, Arial, sans-serif);
}

/* ==========================================================
   CARD
========================================================== */

.login-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    text-align: center;
}

/* ==========================================================
   LOGO
========================================================== */

.login-logo {
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto 20px;
}

/* ==========================================================
   TITLES
========================================================== */

.login-title {
    margin: 0 0 24px;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1e293b;
}

.login-subtitle {
    margin-top: 12px;
    margin-bottom: 36px;
    color: #64748b;
    line-height: 1.6;
}

/* ==========================================================
   FORM
========================================================== */

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.login-form input {
    width: 100%;
    height: 52px;
    padding: 0 18px;
    border: 1px solid #d7dee8;
    border-radius: 12px;
    font-size: 15px;
    box-sizing: border-box;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

.login-form input:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15);
}

/* ==========================================================
   BUTTON
========================================================== */

.login-button {
    height: 54px;
    border: none;
    border-radius: 12px;
    background: #1e3a8a;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.15s;
}

.login-button:hover {
    background: #16317a;
}

.login-button:active {
    transform: scale(0.98);
}

/* ==========================================================
   MESSAGE
========================================================== */

.login-message {
    min-height: 24px;
    margin-top: 20px;
    color: #dc2626;
    font-size: 14px;
}

/* ==========================================================
   FOOTER
========================================================== */

.login-footer {
    margin-top: 36px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 640px) {
    .login-page {
        padding: 20px;
    }

    .login-card {
        padding: 32px 24px;
    }

    .login-title {
        font-size: 1.75rem;
    }
}