@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@500;600;700&display=swap');

body.is-auth {
    background:
        radial-gradient(circle at 18% 12%, rgba(255,255,255,.07), transparent 24%),
        radial-gradient(circle at 82% 84%, rgba(255,255,255,.05), transparent 28%),
        #070707;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 22px;
}

.login-card {
    width: min(100%, 360px);
    padding: 28px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0,0,0,.5);
}

.login-card h1 {
    margin: 0 0 22px;
    color: #080808;
    font-family: 'Geologica', 'Manrope', system-ui, sans-serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 650;
    letter-spacing: -.045em;
}

.login-form label {
    display: block;
    margin: 13px 0 6px;
    color: #111;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.login-form input {
    width: 100%;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid #d7d7d1;
    border-radius: 12px;
    outline: none;
    background: #f5f5f2;
    color: #0b0b0b;
    font-size: 13px;
    font-family: inherit;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.login-form input:focus {
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

.login-form button {
    width: 100%;
    min-height: 44px;
    margin-top: 20px;
    border-radius: 12px;
    font-size: 13px;
}

.auth-content .flash-list {
    position: fixed;
    left: 50%;
    top: 18px;
    z-index: 20;
    width: min(360px, calc(100% - 28px));
    transform: translateX(-50%);
}

@media (max-width: 520px) {
    .login-page { padding: 14px; }
    .login-card { padding: 24px; border-radius: 20px; }
    .login-card h1 { font-size: 26px; }
}
