/* ============================================================
   LittleAssisi — login page styles
   Centered card, no header / no footer. Matches the site palette.
   ============================================================ */
:root {
    --mint: #6ec9b3;
    --mint-dark: #1f5e4e;
    --teal-grad-a: #7ed0bb;
    --teal-grad-b: #4fae97;
    --ink: #1f2a37;
    --body: #5b6571;
    --muted: #8a94a1;
    --line: #e7eaee;
    --bg: #f4f6f7;
    --card: #ffffff;
    --error-bg: #fdecea;
    --error-line: #f3c2bd;
    --error-ink: #a8342a;
    --radius: 14px;
    --radius-lg: 18px;
    --shadow: 0 10px 30px rgba(31, 42, 55, .08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    line-height: 1.55;
    background:
        radial-gradient(at 0% 0%, rgba(126, 208, 187, .18) 0, transparent 45%),
        radial-gradient(at 100% 100%, rgba(244, 185, 173, .16) 0, transparent 45%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 38px 34px;
}

.login-brand {
    text-align: center;
    font-weight: 800;
    font-size: 1.45rem;
    color: var(--mint-dark);
    letter-spacing: -.3px;
    margin-bottom: 4px;
}
.login-brand span { color: var(--ink); }

.login-head {
    text-align: center;
    margin-bottom: 26px;
}
.login-head h1 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 14px 0 4px;
}
.login-head p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

.field { margin-bottom: 16px; }
.field label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--body);
    margin-bottom: 7px;
    padding-left: 2px;
}
.field input[type="text"],
.field input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    font: inherit;
    font-size: .92rem;
    color: var(--ink);
    background: #f7f9fa;
    border: 1px solid var(--line);
    border-radius: 11px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus {
    background: #fff;
    border-color: var(--mint);
    box-shadow: 0 0 0 3px rgba(110, 201, 179, .25);
}

.password-wrap { position: relative; }
.password-wrap input { padding-right: 44px; }
.toggle-pw {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    padding: 6px;
    display: inline-flex;
    border-radius: 8px;
}
.toggle-pw:hover { color: var(--mint-dark); }

.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 18px;
}
.remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    color: var(--body);
    cursor: pointer;
    user-select: none;
}
.remember input { width: 16px; height: 16px; accent-color: var(--mint-dark); }
.link-muted { font-size: .82rem; color: var(--teal-grad-b); font-weight: 600; }
.link-muted:hover { text-decoration: underline; }

.btn-login {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: var(--mint-dark);
    color: #fff;
    font: inherit;
    font-weight: 700;
    font-size: .98rem;
    cursor: pointer;
    transition: background .15s ease, transform .12s ease;
}
.btn-login:hover { background: #18493c; }
.btn-login:active { transform: scale(.985); }

.alert {
    background: var(--error-bg);
    border: 1px solid var(--error-line);
    color: var(--error-ink);
    font-size: .85rem;
    padding: 11px 14px;
    border-radius: 11px;
    margin-bottom: 18px;
}

.login-foot {
    text-align: center;
    margin-top: 22px;
    font-size: .85rem;
    color: var(--muted);
}
.login-foot a { color: var(--mint-dark); font-weight: 600; }
.login-foot a:hover { text-decoration: underline; }

a { text-decoration: none; }
