/* Neuraphic Auth — Bone White Theme */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-body: #f8f5f0;
    --bg-card: #ffffff;
    --bg-card-hover: #fdfcfa;
    --bg-sidebar: #ffffff;
    --bg-input: #ffffff;
    --primary: #1a1a2e;
    --primary-hover: #2a2a40;
    --primary-subtle: rgba(26, 26, 46, 0.05);
    --danger: #dc2626;
    --danger-subtle: rgba(220, 38, 38, 0.08);
    --success: #16a34a;
    --success-subtle: rgba(22, 163, 74, 0.08);
    --warning: #d97706;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border: #e8e5df;
    --border-hover: #d5d1ca;
    --radius: 16px;
    --radius-md: 10px;
    --radius-sm: 8px;
    --radius-badge: 6px;
    --radius-full: 9999px;
    --link-color: #3b82f6;
    --transition: all 0.15s ease;
    --transition-transform: all 0.2s ease;
    --shadow: 0 1px 3px rgba(26,26,46,0.06), 0 1px 2px rgba(26,26,46,0.04);
    --shadow-lg: 0 4px 24px rgba(26,26,46,0.08);
    --shadow-hover: 0 4px 16px rgba(26,26,46,0.1);
    --focus-ring: 0 0 0 3px rgba(59,130,246,0.1);
}

body {
    background: var(--bg-body);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color 0.15s ease; }

h1 { font-size: 32px; font-weight: 700; color: #1a1a1a; letter-spacing: -0.03em; }
h2 { font-size: 24px; font-weight: 600; color: #1a1a1a; letter-spacing: -0.02em; }
h3 { font-size: 18px; font-weight: 600; color: #1a1a1a; letter-spacing: -0.01em; }
h4 { font-size: 15px; font-weight: 600; color: #1a1a1a; }

/* ─── Top Navigation ─── */

.topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 40px;
    height: 64px;
    background: rgba(248,245,240,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e8e5df;
}

.topnav-brand {
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.03em;
    margin-right: 40px;
    font-family: Georgia, 'Times New Roman', serif;
}

.topnav-links {
    display: flex;
    gap: 8px;
}

.topnav-links a {
    padding: 6px 14px;
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s;
}

.topnav-links a:hover {
    color: #1a1a1a;
    background: rgba(0,0,0,0.03);
}

.topnav-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.topnav-btn-outline {
    padding: 8px 18px;
    font-size: 14px;
    color: #1a1a2e;
    background: transparent;
    border: 1px solid #e8e5df;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.15s ease;
    font-weight: 500;
}

.topnav-btn-outline:hover {
    background: rgba(26,26,46,0.04);
    border-color: #d5d1ca;
    box-shadow: 0 1px 4px rgba(26,26,46,0.06);
}

.topnav-btn-solid {
    padding: 8px 18px;
    font-size: 14px;
    color: #ffffff;
    background: #1a1a2e;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.15s ease;
}

.topnav-btn-solid:hover {
    background: #2a2a40;
    box-shadow: 0 2px 8px rgba(26,26,46,0.15);
}

/* ─── Landing / Split Layout ─── */

.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.landing-body {
    display: flex;
    flex: 1;
    padding-top: 64px;
    position: relative;
    overflow: hidden;
}

.landing-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px 60px 80px;
    max-width: 640px;
    animation: leftIn 0.6s ease both;
}

@keyframes leftIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.signin-step { display: none; animation: stepIn 0.35s ease; }
.signin-step.active { display: block; }
@keyframes stepIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }

.landing-headline {
    font-size: 58px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    font-family: Georgia, 'Times New Roman', serif;
}

.landing-headline em {
    font-style: italic;
    font-weight: 400;
    font-size: 0.92em;
    color: #6b7280;
}

.landing-sub-accent {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 44px;
    line-height: 1.6;
}

.landing-card {
    background: #ffffff;
    border: 1px solid #e8e5df;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 2px 12px rgba(26,26,46,0.06);
}

.landing-card-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.text-muted { color: #9ca3af; }

.link-underline {
    color: #3b82f6;
    margin-left: 4px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(59,130,246,0.4);
    transition: all 0.15s ease;
}

.link-underline:hover { color: #2563eb; text-decoration-color: #2563eb; }

.link-muted {
    color: #6b7280;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #d5d1ca;
    font-size: 14px;
    transition: all 0.15s ease;
}

.link-muted:hover { color: #1a1a2e; text-decoration-color: #1a1a2e; }

.landing-card-legal {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e8e5df;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.8;
    text-align: center;
}

.landing-card-legal a {
    color: #6b7280;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.landing-card-legal a:hover { color: #1a1a1a; }

.landing-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 60px 60px;
    position: relative;
}

/* ─── New Utility Classes (Landing Left Content) ─── */

.gauth-logo-sm {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.left-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.left-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 20px;
}

.email-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f5f3ef;
    border: 1px solid #e8e5df;
    border-radius: 9999px;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

.chip-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3b82f6;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.link-accent {
    color: #3b82f6;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.link-accent:hover {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.show-pw-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 20px;
    font-size: 13px;
    color: #6b7280;
}

.show-pw-row input {
    accent-color: #3b82f6;
}

.step-info {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 16px;
}

.terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #6b7280;
}

.terms-check input[type="checkbox"] {
    margin-top: 2px;
    accent-color: #3b82f6;
}

.terms-check a {
    color: #3b82f6;
    text-decoration: underline;
}

.dob-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.dob-row select,
.dob-row input {
    flex: 1;
    padding: 14px 16px;
    background: #f5f3ef;
    border: 1px solid #e8e5df;
    border-radius: 10px;
    color: #1a1a1a;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.15s ease;
}

.dob-row select:focus,
.dob-row input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

/* Ambient glow — covers full page background */
.landing-glow-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0;
    animation: glowFade 1.5s ease forwards, glowFloat 25s ease-in-out infinite;
}

.glow-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 70%);
    top: -15%; right: 15%;
}

.glow-2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(139,92,246,0.13), transparent 70%);
    top: 40%; right: 35%;
    animation-delay: 0.4s, 0.4s;
}

.glow-3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.10), transparent 70%);
    top: 20%; right: 55%;
    animation-delay: 0.8s, 0.8s;
}

@keyframes glowFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(25px, -15px); }
    66% { transform: translate(-15px, 10px); }
}

/* ─── Showcase (right side) ─── */

.showcase {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 540px;
    height: 500px;
    transform: scale(0.85);
    transform-origin: top center;
    animation: showcaseIn 0.8s ease forwards;
}

@keyframes showcaseIn {
    from { opacity: 0; transform: scale(0.82) translateY(20px); }
    to { opacity: 1; transform: scale(0.85) translateY(0); }
}

@keyframes windowIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.float-progress {
    animation: floatIn 0.5s ease 0.6s both;
}

.float-context {
    animation: floatIn 0.5s ease 0.8s both;
}

@keyframes floatIn {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ─── App Window ─── */

.app-window {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: #ffffff;
    border: 1px solid #e8e5df;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(26,26,46,0.1);
    animation: windowIn 0.6s ease 0.2s both;
}

.app-chrome {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #e8e5df;
    gap: 20px;
}

.app-dots { display: flex; gap: 7px; }
.app-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d5d1ca; display: block; }

.app-switcher {
    display: flex;
    background: #f5f3ef;
    border-radius: 9px;
    padding: 3px;
    margin-left: auto;
}

.app-sw-btn {
    padding: 7px 22px;
    font-size: 13px;
    color: #9ca3af;
    border-radius: 7px;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.15s;
}

.app-sw-btn:hover { color: #6b7280; }
.app-sw-btn.active { background: #ffffff; color: #1a1a2e; box-shadow: 0 1px 3px rgba(26,26,46,0.08); }

.app-view { display: none; padding: 20px; animation: fadeIn 0.25s ease; }
.app-view.active { display: block; }

@keyframes fadeIn { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:translateY(0); } }

/* View hero header */
.av-hero {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fdfcfa;
    border: 1px solid #e8e5df;
    border-radius: 12px;
    margin-bottom: 16px;
}

.av-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.av-icon--blue { background: rgba(59,130,246,0.12); color: #3b82f6; }
.av-icon--red { background: rgba(239,68,68,0.12); color: #ef4444; }
.av-icon--green { background: rgba(34,197,94,0.12); color: #22c55e; }

.av-name { font-size: 15px; font-weight: 600; color: #1a1a1a; }
.av-desc { font-size: 12px; color: #9ca3af; }

.av-badge {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.av-badge--blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.av-badge--red { background: rgba(239,68,68,0.1); color: #f87171; }
.av-badge--green { background: rgba(34,197,94,0.1); color: #4ade80; }

/* Card grid */
.av-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.av-card {
    padding: 16px;
    background: #fdfcfa;
    border: 1px solid #e8e5df;
    border-radius: 12px;
    transition: all 0.15s;
    cursor: default;
}

.av-card:hover {
    background: #f8f5f0;
    border-color: #d5d1ca;
    transform: translateY(-1px);
}

.av-card-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
}

.av-ci--blue { background: rgba(59,130,246,0.1); color: #3b82f6; }
.av-ci--red { background: rgba(239,68,68,0.1); color: #ef4444; }
.av-ci--green { background: rgba(34,197,94,0.1); color: #22c55e; }

.av-card-text { font-size: 13px; font-weight: 600; color: #1a1a1a; margin-bottom: 2px; }
.av-card-sub { font-size: 11px; color: #9ca3af; }

/* ─── Floating Panels ─── */

.float-panel {
    position: absolute;
    background: #ffffff;
    border: 1px solid #e8e5df;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 4px 24px rgba(26,26,46,0.08);
    min-width: 220px;
}

.float-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.float-title { font-size: 14px; font-weight: 600; color: #1a1a1a; }
.float-chevron { color: #9ca3af; font-size: 12px; }

.float-progress {
    bottom: -30px;
    left: 20px;
    width: 230px;
}

.float-checklist { display: flex; flex-direction: column; gap: 6px; }

.float-check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #9ca3af;
    padding: 3px 0;
}

.float-check.done { color: #6b7280; }

.ck {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1d4ed8;
    flex-shrink: 0;
    position: relative;
}

.ck::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    width: 4px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.float-context {
    top: 50px;
    right: -60px;
    width: 190px;
}

.float-list { display: flex; flex-direction: column; gap: 4px; }

.float-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6b7280;
    padding: 6px 4px;
    border-radius: 6px;
    transition: all 0.15s;
}

.float-list-item:hover { background: #f8f5f0; }

.fl-ico {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.fl-ico--red { background: rgba(239,68,68,0.15); color: #ef4444; }
.fl-ico--blue { background: rgba(59,130,246,0.15); color: #3b82f6; }
.fl-ico--cyan { background: rgba(6,182,212,0.15); color: #06b6d4; }
.fl-ico--green { background: rgba(34,197,94,0.15); color: #22c55e; }
.fl-ico--purple { background: rgba(168,85,247,0.15); color: #a855f7; }
.fl-ico--orange { background: rgba(249,115,22,0.15); color: #f97316; }

/* ─── Footer ─── */

.gauth-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid #e8e5df;
}

.gauth-footer-left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    cursor: default;
}

.gauth-footer-left svg {
    color: #9ca3af;
}

.gauth-footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.gauth-footer-right a {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    transition: var(--transition);
}

.gauth-footer-right a:hover {
    color: #1a1a2e;
}

/* ─── Buttons ─── */

.btn {
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    line-height: 1;
}

.btn:active {
    transform: scale(0.98);
}

.btn-white {
    background: #1a1a2e;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.btn-white:hover {
    background: #2a2a40;
    box-shadow: 0 4px 12px rgba(26,26,46,0.2);
    transform: translateY(-1px);
}

.btn-white:active {
    transform: translateY(0) scale(0.98);
    box-shadow: none;
}

.btn-primary {
    background: #fff;
    color: #1a1a2e;
    font-weight: 600;
    border: 1px solid #e8e5df;
}

.btn-primary:hover {
    background: #f8f5f0;
    border-color: #d5d1ca;
    box-shadow: 0 2px 8px rgba(26,26,46,0.06);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 1px 4px rgba(26,26,46,0.06);
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
    box-shadow: 0 2px 8px rgba(220,38,38,0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(0,0,0,0.03);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-full {
    width: 100%;
}

.btn-cancel {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-cancel:hover {
    background: var(--bg-body);
    color: var(--text-primary);
}

/* ─── Form Fields ─── */

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.field input,
.field select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 15px;
    outline: none;
    transition: all 0.15s ease;
    font-family: inherit;
}

.field input::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.field input:focus,
.field select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.field select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.field-row {
    display: flex;
    gap: 12px;
}

.field-row .field {
    flex: 1;
}

.field-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: -12px;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Password strength meter */
.pw-meter { height: 4px; background: #e8e5df; border-radius: 2px; margin-top: -12px; margin-bottom: 4px; overflow: hidden; }
.pw-meter-fill { height: 100%; width: 0; border-radius: 2px; transition: all 0.3s ease; }
.pw-meter-label { font-size: 11px; margin-bottom: 12px; color: #6b7280; }

/* ─── Alerts ─── */

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.alert-error {
    background: var(--danger-subtle);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.alert-success {
    background: var(--success-subtle);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #16a34a;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #d97706;
}

/* ─── Links ─── */

.link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ─── Account Layout ─── */

.account-container {
    display: flex;
    min-height: 100vh;
}

.account-nav {
    width: 280px;
    background: var(--bg-sidebar);
    padding: 28px 20px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.account-nav .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 0 12px;
}

.account-nav .nav-brand h2 {
    font-size: 18px;
    color: #1a1a1a;
}

.account-nav .nav-brand span {
    font-size: 14px;
    color: var(--text-muted);
}

.account-nav ul {
    list-style: none;
    margin-top: 20px;
}

.account-nav li a {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    margin-bottom: 2px;
    transition: all 0.15s ease;
    font-size: 14px;
}

.account-nav li a:hover {
    background: rgba(26,26,46,0.04);
    color: #1a1a1a;
}

.account-nav li.active a {
    background: rgba(59,130,246,0.08);
    color: #1a1a2e;
    font-weight: 500;
}

.account-nav .nav-footer {
    margin-top: auto;
    padding: 16px 12px 0;
    border-top: 1px solid var(--border);
}

.account-nav .nav-footer .user-name {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
}

.account-nav .nav-footer .user-email {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 2px;
}

.account-nav .nav-footer .sign-out {
    display: inline-block;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 13px;
}

.account-nav .nav-footer .sign-out:hover {
    color: var(--danger);
}

.account-main {
    flex: 1;
    padding: 48px;
    max-width: 800px;
}

.account-main h2 { margin-bottom: 8px; }
.account-main .subtitle { color: var(--text-secondary); margin-bottom: 32px; }

.account-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.account-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26,26,46,0.06);
}

.account-card h3 { margin-bottom: 8px; }
.account-card p { color: var(--text-secondary); font-size: 14px; }

/* ─── Admin Layout ─── */

.admin-container { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 260px;
    background: var(--bg-sidebar);
    padding: 24px 16px;
    border-right: 1px solid var(--border);
}

.admin-sidebar .sidebar-title {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 28px;
    font-weight: 600;
    padding: 0 12px;
}

.admin-sidebar nav a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    margin-bottom: 2px;
    font-size: 14px;
    transition: var(--transition);
}

.admin-sidebar nav a:hover {
    background: rgba(26,26,46,0.04);
    color: #1a1a1a;
}

.admin-sidebar nav a.active {
    background: rgba(59,130,246,0.08);
    color: #1a1a2e;
    font-weight: 500;
}

.admin-main {
    flex: 1;
    padding: 40px;
}

.admin-main h2 { margin-bottom: 24px; }

/* ─── Tools ─── */

.tools-search { margin-bottom: 28px; }

.search-form input {
    width: 100%;
    padding: 16px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.search-form input::placeholder { color: var(--text-muted); opacity: 0.8; }
.search-form input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.1); }

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.tool-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.tool-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,26,46,0.06);
}

.tool-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-subtle);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.tool-info h3 { font-size: 14px; margin-bottom: 4px; }
.tool-info p { font-size: 13px; color: var(--text-secondary); line-height: 1.4; }

.tool-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--primary-subtle);
    color: var(--primary);
    border-radius: 6px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-top: 6px;
}

.tools-count { margin-top: 20px; color: var(--text-muted); font-size: 13px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 48px; color: var(--text-muted); }

/* ─── Stats ─── */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.stat-card .value { font-size: 36px; font-weight: 700; color: #1a1a1a; letter-spacing: -0.02em; }
.stat-card .label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* ─── Tables ─── */

.sessions-table,
.members-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.sessions-table th,
.members-table th {
    text-align: left;
    padding: 12px 16px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border);
}

.sessions-table td,
.members-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e8e5df;
    font-size: 14px;
}

.sessions-table tr:hover td,
.members-table tr:hover td {
    background: #f8f5f0;
}

/* ─── Badges ─── */

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
}

.badge-success { background: var(--success-subtle); color: var(--success); }
.badge-muted { background: rgba(26,26,46,0.06); color: var(--text-muted); }

/* ─── Sections ─── */

.section { margin-bottom: 36px; }
.section h3 { margin-bottom: 14px; }

/* ─── Toast ─── */

.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 14px;
    z-index: 1000;
    animation: slideIn 0.25s ease;
    box-shadow: var(--shadow-lg);
}

.toast-success { background: #16a34a; }
.toast-error { background: var(--danger); }
.toast-info { background: #2563eb; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ─── Modal ─── */

.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 26, 46, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 40px rgba(26,26,46,0.12);
}

.modal-box p { margin-bottom: 28px; color: var(--text-primary); font-size: 15px; line-height: 1.6; }
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; }

/* ─── Responsive ─── */

@media (max-width: 1024px) {
    .landing-body { flex-direction: column; }
    .landing-left { padding: 40px 32px; max-width: 100%; }
    .landing-right { display: none; }
    .landing-headline { font-size: 42px; }
    .topnav-links { display: none; }
}

@media (max-width: 768px) {
    .account-container, .admin-container { flex-direction: column; }
    .account-nav, .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
    .account-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
    .account-main, .admin-main { padding: 24px; }
    .field-row { flex-direction: column; gap: 0; }
    .dob-row { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
    .gauth-footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px 24px;
    }
}

@media (max-width: 640px) {
    .topnav { padding: 0 20px; }
    .topnav-actions { gap: 6px; }
    .topnav-btn-outline { display: none; }
    .landing-left { padding: 30px 20px; }
    .landing-headline { font-size: 34px; }
    .landing-card { padding: 24px; }
}

/* ============================================================
   Account Panel — Google Account style
   ============================================================ */

.acct { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg-body); }
.acct-header { display: flex; align-items: center; padding: 12px 24px; border-bottom: 1px solid #e8e5df; gap: 20px; }
.acct-header-brand { font-size: 18px; font-weight: 600; color: #1a1a1a; white-space: nowrap; }
.acct-header-search { flex: 1; max-width: 600px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #f5f3ef; border: 1px solid #e8e5df; border-radius: 24px; }
.acct-header-search input { background: none; border: none; color: #1a1a1a; font-size: 14px; outline: none; width: 100%; }
.acct-header-search input::placeholder { color: #9ca3af; }
.acct-header-search svg { color: #6b7280; flex-shrink: 0; }
.acct-header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.acct-header-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #6b7280; font-size: 16px; font-weight: 600; text-decoration: none; }
.acct-header-icon:hover { background: rgba(0,0,0,0.03); }
.acct-header-avatar { width: 36px; height: 36px; border-radius: 50%; background: #3b82f6; color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; text-transform: uppercase; text-decoration: none; }

.acct-body { display: flex; flex: 1; }
.acct-sidebar { width: 280px; padding: 16px 12px; border-right: 1px solid #e8e5df; flex-shrink: 0; }
.acct-nav { display: flex; align-items: center; gap: 14px; padding: 12px 16px; color: #6b7280; font-size: 14px; text-decoration: none; border-radius: 8px; margin-bottom: 2px; transition: all 0.15s ease; }
.acct-nav:hover { background: rgba(26,26,46,0.04); color: #1a1a2e; }
.acct-nav.active { background: rgba(59,130,246,0.1); color: #1a1a1a; }
.acct-nav-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acct-nav-icon--blue { background: rgba(59,130,246,0.15); color: #3b82f6; }
.acct-nav-icon--green { background: rgba(34,197,94,0.15); color: #22c55e; }
.acct-nav-icon--yellow { background: rgba(234,179,8,0.15); color: #eab308; }
.acct-nav-icon--teal { background: rgba(20,184,166,0.15); color: #14b8a6; }
.acct-nav-icon--purple { background: rgba(168,85,247,0.15); color: #a855f7; }
.acct-nav-icon--orange { background: rgba(249,115,22,0.15); color: #f97316; }
.acct-nav-icon--peach { background: rgba(244,162,97,0.15); color: #f4a261; }

.acct-main { flex: 1; padding: 32px 48px; max-width: 900px; }
.acct-welcome h1 { font-size: 28px; font-weight: 400; color: #1a1a1a; margin-bottom: 8px; }
.acct-welcome p { font-size: 14px; color: #6b7280; margin-bottom: 32px; }
.acct-welcome a { color: #3b82f6; }

.acct-card { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: #ffffff; border: 1px solid #e8e5df; border-radius: 12px; margin-bottom: 16px; }
.acct-card--highlight { border-color: rgba(34,197,94,0.2); }
.acct-card-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acct-card-icon--green { background: rgba(34,197,94,0.15); color: #22c55e; }
.acct-card-title { font-size: 15px; font-weight: 500; color: #1a1a1a; }
.acct-card-sub { font-size: 13px; color: #6b7280; margin-top: 2px; }

.acct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 24px; }
.acct-summary-card { padding: 24px; background: #ffffff; border: 1px solid #e8e5df; border-radius: 12px; text-decoration: none; color: inherit; transition: all 0.2s ease; }
.acct-summary-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,26,46,0.06); }
.acct-summary-card h3 { font-size: 15px; color: #1a1a1a; margin: 12px 0 6px; font-weight: 500; }
.acct-summary-card p { font-size: 13px; color: #6b7280; line-height: 1.5; }
.acct-summary-icon { width: 36px; height: 36px; color: #3b82f6; }

/* Info rows (Personal info, Security) */
.acct-section { margin-bottom: 32px; }
.acct-section-title { font-size: 12px; font-weight: 600; color: #9ca3af; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.acct-row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: #ffffff; border: 1px solid #e8e5df; margin-bottom: -1px; text-decoration: none; color: inherit; transition: all 0.15s; cursor: pointer; }
.acct-row:first-child { border-radius: 12px 12px 0 0; }
.acct-row:last-child { border-radius: 0 0 12px 12px; margin-bottom: 0; }
.acct-row:only-child { border-radius: 12px; }
.acct-row:hover { background: #f8f5f0; }
.acct-row-icon { width: 24px; height: 24px; color: #6b7280; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.acct-row-content { flex: 1; min-width: 0; }
.acct-row-title { font-size: 14px; color: #1a1a1a; }
.acct-row-value { font-size: 13px; color: #6b7280; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-row-chevron { color: #d5d1ca; flex-shrink: 0; display: flex; align-items: center; }
.acct-row-badge { padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 500; }
.acct-row-badge--on { background: rgba(34,197,94,0.1); color: #22c55e; }
.acct-row-badge--off { background: rgba(113,113,122,0.1); color: #6b7280; }

.acct-footer { display: flex; gap: 24px; padding: 16px 24px; border-top: 1px solid #e8e5df; margin-top: auto; }
.acct-footer a { font-size: 13px; color: #9ca3af; text-decoration: none; }
.acct-footer a:hover { color: #6b7280; }

/* Account panel responsive */
@media (max-width: 768px) {
    .acct-header { padding: 10px 16px; gap: 12px; }
    .acct-header-search { display: none; }
    .acct-body { flex-direction: column; }
    .acct-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #e8e5df; display: flex; overflow-x: auto; padding: 8px; gap: 4px; }
    .acct-nav { white-space: nowrap; padding: 8px 14px; font-size: 13px; gap: 8px; }
    .acct-nav-icon { width: 26px; height: 26px; }
    .acct-main { padding: 24px 16px; }
    .acct-grid { grid-template-columns: 1fr; }
}
