/* Plan 006: auth.css — Authentication shell and login card
   Extracted from frontend/styles.css on 2026-04-03 (Milestone 19) */

/* ── Auth shell ── */
.auth-view {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-view .login-shell {
    min-height: calc(100vh - 40px);
    align-items: center;
    justify-items: center;
    width: 100%;
}

.login-card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
    padding: 24px;
    width: 400px;
    max-width: 90%;
}

.login-card h2 {
    margin-bottom: 14px;
}

.password-input-wrap {
    position: relative;
    width: 100%;
    height: 40px;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280;
    border-radius: 4px;
}

.password-toggle-btn:hover {
    color: #374151;
}

.password-toggle-btn .eye-closed {
    display: none;
}

.password-toggle-btn.is-visible .eye-open {
    display: none;
}

.password-toggle-btn.is-visible .eye-closed {
    display: block;
}

.password-toggle-btn .eye-icon {
    width: 18px;
    height: 18px;
}
