/* ============================================================
   UNO MANAGEMENT — LOGIN PAGE STYLESHEET
   Used by: /public/login.php
   Standalone page (no sidebar, no topbar).
   Loaded after global.css.
   ============================================================ */


/* ============================================================
   DESKTOP
   ============================================================ */


/* -- 1. Page Layout ------------------------------------------ */
body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-wrap {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}


/* -- 2. Login Card ------------------------------------------- */
.login-card {
    background: var(--color-white);
    border-radius: var(--radius-large);
    padding: 40px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}


/* -- 3. Brand (logo + title + subtitle) ---------------------- */
.login-logo {
    width: 56px;
    height: 56px;
    background: var(--color-blue);
    border-radius: var(--radius-large);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--font-size-4xl);
    color: white;
    letter-spacing: 1px;
    margin: 0 auto 20px;
}

.login-title {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4px;
}

.login-sub {
    font-size: 15px;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 28px;
}


/* -- 4. Form Fields ------------------------------------------ */
.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 5px;
}

.field input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-small);
    font-family: var(--font-family-main);
    font-size: var(--font-size-lg);
    color: var(--color-text);
    outline: none;
    transition: border-color 0.15s;
}

.field input:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(61,107,158,0.1);
}


/* -- 5. Error Message ---------------------------------------- */
.error {
    background: var(--color-red-light);
    color: var(--color-red);
    padding: 10px 14px;
    border-radius: var(--radius-small);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}


/* -- 6. Submit Button ---------------------------------------- */
.login-card .btn {
    width: 100%;
    padding: 12px;
    background: var(--color-blue);
    color: white;
    border: none;
    border-radius: var(--radius-small);
    font-family: var(--font-family-main);
    font-size: var(--font-size-lg);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    box-shadow: 0 2px 8px rgba(61,107,158,0.25);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card .btn:hover {
    background: var(--color-blue-hover);
}


/* -- 7. Footer ----------------------------------------------- */
.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--color-text-muted);
}


/* ============================================================
   END DESKTOP
   ============================================================ */




/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {

    /* Prevent Safari iOS zoom on input focus — requires font-size >= 16px */
    .field input {
        font-size: var(--font-size-2xl);
    }

}
/* ============================================================
   END MOBILE
   ============================================================ */
