body.page-login {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f4f7;
}

.login-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex: 1;
    padding: 90px 20px 40px;
    box-sizing: border-box;
}

.login-card {
    background: #ffffff;
    border: 1px solid #e4e4ee;
    border-radius: 6px;
    padding: 56px 52px 52px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    animation: fadeIn 1s ease;
}

.login-brand {
    margin-bottom: 44px;
}

.login-brand-name {
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-signature-blue);
    font-family: var(--cursive);
    text-transform: capitalize;
}

.login-brand-tag {
    display: block;
    font-size: clamp(28px, 5vw, 38px);
    font-weight: 300;
    letter-spacing: -1.5px;
    background-image: linear-gradient(to right, #b4b4b4, #111111);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    font-family: serif;
    margin-top: 4px;
}

.login-welcome {
    font-size: 13px;
    color: #999;
    margin: 0 0 28px;
    line-height: 1.6;
}

.login-welcome b {
    color: var(--text-color);
    font-weight: 600;
}

.login-field {
    margin-bottom: 14px;
}

.login-field input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #e0e0ea;
    border-radius: 4px;
    font-size: 14px;
    background: #fafafa;
    color: var(--text-color);
    transition: border-color 0.18s, background 0.18s;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    -webkit-appearance: none;
}

.login-field input:focus {
    border-color: var(--brand-signature-blue);
    background: #fff;
}

.login-field input::placeholder {
    color: #bbb;
}

.login-actions {
    margin-top: 8px;
}

#loginBtn {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: var(--brand-signature-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.18s;
    font-family: inherit;
    -webkit-appearance: none;
    box-sizing: border-box;
}

#loginBtn:hover { opacity: 0.86; }
#loginBtn.success { background-color: #00b894; }
#loginBtn.error { background-color: #d63031; }

.login-home-link {
    display: block;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: var(--brand-signature-blue);
    text-decoration: none;
}

.login-home-link:hover {
    text-decoration: underline;
}
