.login-page {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

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

.login-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.login-brand {
    text-align: center;
    margin-bottom: 28px;
}

.login-brand .brand-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
}

.login-brand .brand-name {
    font-size: 1.75rem;
}

.login-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.login-form .form-group {
    margin-bottom: 16px;
}

.password-wrap {
    position: relative;
}

.password-wrap .input {
    padding-right: 48px;
}

.toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
}

.toggle-pw svg {
    width: 20px;
    height: 20px;
}

.login-error {
    color: var(--red);
    font-size: 0.85rem;
    margin-bottom: 14px;
    padding: 10px 12px;
    background: rgba(251, 113, 133, 0.1);
    border: 1px solid rgba(251, 113, 133, 0.25);
    border-radius: var(--radius-sm);
}

.login-error.hidden {
    display: none;
}

#loginBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
