.page {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    padding: 36px 32px 32px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
}

.logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.logo {
    width: min(220px, 70vw);
    height: auto;
    animation: logo-glow 4s ease-in-out infinite;
}

.login-title {
    margin: 0 0 8px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.login-subtitle {
    margin: 0 0 28px;
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.login-card label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.88);
}

.field {
    margin-bottom: 18px;
}

.login-card input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 12px;
    background: rgba(3, 8, 24, 0.72);
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-card input::placeholder {
    color: rgba(148, 163, 184, 0.7);
}

.login-card input:focus {
    border-color: rgba(0, 168, 255, 0.55);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.btn-login {
    width: 100%;
    margin-top: 8px;
    padding: 14px 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue-glow), var(--blue));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
    box-shadow: 0 10px 28px rgba(0, 102, 255, 0.28);
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(0, 102, 255, 0.35);
}

.btn-login:active {
    transform: translateY(0);
}

.login-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 107, 122, 0.12);
    border: 1px solid rgba(255, 107, 122, 0.35);
    color: #ffb4bc;
    font-size: 0.9rem;
    text-align: center;
}

.footer-note {
    margin-top: 22px;
    text-align: center;
    font-size: 0.78rem;
    color: rgba(148, 163, 184, 0.75);
}
