/* ============================================================
   SOUNDTEST.PRO — Account Page CSS
   Split-screen auth layout + dashboard + slide-in panels
   ============================================================ */

/* ── Auth Layout (unauthenticated) ── */
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--ink-950);
}

/* Left brand panel */
.auth-brand {
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(145deg, var(--ink-850) 0%, var(--ink-900) 60%, var(--ink-950) 100%);
  border-right: 1px solid var(--ink-border);
  display: flex;
  flex-direction: column;
  padding: 36px 48px;
  overflow-y: auto;
}

.auth-brand .brand {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-strong);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: auto;
}

.auth-brand .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: url("icon.svg") center / cover no-repeat, linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 1px rgba(44, 240, 193, 0.4), 0 0 22px rgba(44, 240, 193, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.auth-brand-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 40px 0;
}

.auth-brand-headline h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-strong);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.auth-brand-headline h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-brand-headline p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.auth-value-props {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.auth-value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--text);
}

.auth-value-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(44, 240, 193, 0.08);
  border: 1px solid rgba(44, 240, 193, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(44, 240, 193, 0.12);
}

.auth-value-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 4px;
}

.auth-value-item span {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.auth-brand-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.auth-brand-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 200ms;
}

.auth-brand-link:hover { opacity: 0.8; }

/* Right form panel */
.auth-form-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Auth tabs */
.auth-tabs {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-border);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 36px;
  gap: 0;
}

.auth-tab {
  flex: 1;
  height: 42px;
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  transition: color 250ms var(--ease), background 250ms var(--ease);
  position: relative;
  z-index: 1;
}

.auth-tab.active {
  color: var(--ink-950);
}

.auth-tab-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--accent);
  border-radius: 10px;
  transition: transform 300ms var(--ease-spring);
  z-index: 0;
  box-shadow: 0 2px 12px rgba(44, 240, 193, 0.35);
}

.auth-tab[data-auth-tab="register"].active ~ .auth-tab-indicator,
.auth-tabs:has([data-auth-tab="register"].active) .auth-tab-indicator {
  transform: translateX(100%);
}

/* Form */
.auth-form-wrap {
  animation: formFadeIn 300ms var(--ease) both;
}

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

.auth-form-wrap form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-group { display: flex; flex-direction: column; gap: 6px; }

.field {
  position: relative;
}

.field input {
  width: 100%;
  height: 54px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--ink-border);
  border-radius: 12px;
  padding: 20px 44px 8px 16px;
  color: var(--text-strong);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
  box-sizing: border-box;
}

.field input:focus {
  border-color: var(--accent);
  background: rgba(44, 240, 193, 0.04);
  box-shadow: 0 0 0 3px rgba(44, 240, 193, 0.15);
}

.field label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--soft);
  pointer-events: none;
  transition: all 200ms var(--ease);
  transform-origin: left center;
}

.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label {
  top: 12px;
  transform: translateY(0) scale(0.75);
  color: var(--accent);
  font-weight: 600;
}

.field-hint {
  font-size: 11.5px;
  color: var(--soft);
  margin-top: 4px;
  line-height: 1.5;
  display: block;
}

.field-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--soft);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 200ms;
}

.field-toggle:hover { color: var(--text-strong); }

/* Password strength */
.password-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -2px;
}

.strength-bars {
  display: flex;
  gap: 4px;
}

.strength-bars .bar {
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink-border);
  transition: background 300ms var(--ease);
}

.strength-bars .bar.active:nth-child(1) { background: #ff6276; }
.strength-bars .bar.active:nth-child(2) { background: #ffb858; }
.strength-bars .bar.active:nth-child(3) { background: #9ee7d6; }
.strength-bars .bar.active:nth-child(4) { background: var(--accent); }

.strength-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--soft);
  transition: color 300ms;
}

.strength-label[data-strength="weak"]  { color: #ff6276; }
.strength-label[data-strength="fair"]  { color: #ffb858; }
.strength-label[data-strength="good"]  { color: #9ee7d6; }
.strength-label[data-strength="strong"]{ color: var(--accent); }

.field-error {
  font-size: 12px;
  color: #ff8f9a;
  min-height: 16px;
  padding-left: 4px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--accent), #7c9bff);
  color: #04101a;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), filter 180ms;
  box-shadow: 0 4px 20px rgba(44, 240, 193, 0.25);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 8px 28px rgba(44, 240, 193, 0.35); }
.btn-primary:active { transform: translateY(0); }

.btn-primary.btn-full { width: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid var(--ink-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms var(--ease);
  text-decoration: none;
}

.btn-ghost:hover { border-color: var(--ink-rim-strong); background: rgba(255, 255, 255, 0.08); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(44, 240, 193, 0.3);
  background: rgba(44, 240, 193, 0.05);
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms var(--ease);
  text-decoration: none;
}

.btn-outline:hover { background: rgba(44, 240, 193, 0.1); border-color: var(--accent); }

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 98, 118, 0.3);
  background: rgba(255, 98, 118, 0.06);
  color: #ff8f9a;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 200ms var(--ease);
}

.btn-danger:hover { background: rgba(255, 98, 118, 0.12); border-color: #ff6276; }

.btn-sm { height: 34px; padding: 0 12px; font-size: 12.5px; }

.auth-form-note {
  text-align: center;
  font-size: 13px;
  color: var(--soft);
  margin: -4px 0 0;
}

.auth-form-note a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-form-note a:hover { opacity: 0.8; }

.auth-form-global {
  text-align: center;
  font-size: 13px;
  margin: 12px 0 0;
  min-height: 20px;
  color: #9ee7d6;
}

.auth-form-global[data-error] { color: #ff8f9a; }

.auth-mvp-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ink-border);
  border-radius: 12px;
  font-size: 12px;
  color: var(--soft);
  line-height: 1.6;
}

.auth-mvp-note svg { flex-shrink: 0; margin-top: 2px; color: var(--soft); }

/* ── Dashboard (authenticated) ── */
.dashboard {
  min-height: 100vh;
  background: var(--ink-950);
}

.dashboard-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 24, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid var(--ink-border);
}

.dashboard-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-header .brand {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-strong);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.dashboard-header .brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: url("icon.svg") center / cover no-repeat, linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 1px rgba(44, 240, 193, 0.4), 0 0 18px rgba(44, 240, 193, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.dashboard-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ink-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.plan-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--soft);
}

.dashboard-plan-badge[data-plan="pro"] .plan-dot    { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.dashboard-plan-badge[data-plan="team"] .plan-dot  { background: var(--accent-2); box-shadow: 0 0 6px var(--accent-2); }
.dashboard-plan-badge[data-plan="lifetime"] .plan-dot { background: var(--amber); box-shadow: 0 0 6px var(--amber); }

.dashboard-plan-badge[data-plan="pro"]    { color: var(--accent); border-color: rgba(44, 240, 193, 0.25); }
.dashboard-plan-badge[data-plan="team"]   { color: var(--accent-2); border-color: rgba(124, 155, 255, 0.25); }
.dashboard-plan-badge[data-plan="lifetime"] { color: var(--amber); border-color: rgba(255, 184, 88, 0.25); }

/* Dashboard body */
.dashboard-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Profile card */
.dash-profile-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-border);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}

.dash-profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #04101a;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(44, 240, 193, 0.3);
}

.dash-profile-info { flex: 1; min-width: 0; }

.dash-profile-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0 0 4px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.dash-profile-email {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-profile-since {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--soft);
  margin: 0;
}

/* Stats row */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.dash-stat-card {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ink-border);
  border-radius: 16px;
  text-align: center;
  transition: border-color 200ms, background 200ms;
}

.dash-stat-card:hover { border-color: var(--ink-rim); background: rgba(255, 255, 255, 0.05); }

.dash-stat-value {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-strong), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 6px;
}

.dash-stat-label {
  font-size: 12px;
  color: var(--soft);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dashboard grid */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dash-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ink-border);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  transition: border-color 200ms;
}

.dash-card:hover { border-color: rgba(255, 255, 255, 0.12); }

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.dash-card-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0;
}

.dash-card-header h3 svg { color: var(--accent); }

.dash-card-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--soft);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ink-border);
  border-radius: 999px;
  padding: 3px 10px;
}

/* Subscription card */
.subscription-plan-display {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ink-border);
  border-radius: 14px;
  margin-bottom: 16px;
}

.plan-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(44, 240, 193, 0.08);
  border: 1px solid rgba(44, 240, 193, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.plan-info { flex: 1; }

.plan-tier {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0 0 6px;
}

.plan-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.subscription-upsell {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(44, 240, 193, 0.05), rgba(124, 155, 255, 0.05));
  border: 1px solid rgba(44, 240, 193, 0.12);
  border-radius: 14px;
}

.subscription-upsell p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.prodactive-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(44, 240, 193, 0.12);
  border: 1px solid rgba(44, 240, 193, 0.3);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.prodactive-tier {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 6px;
}

.prodactive-note {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.6;
}

/* Settings card */
.dash-settings-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink-border);
  gap: 16px;
}

.setting-row:last-child { border-bottom: none; padding-bottom: 0; }
.setting-row:first-child { padding-top: 0; }

.setting-row-info { flex: 1; min-width: 0; }

.setting-row-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 3px;
}

.setting-row-info span {
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* Activity card */
.dash-activity-card {}

.activity-list { }

.activity-empty {
  text-align: center;
  padding: 32px 20px;
  color: var(--muted);
}

.activity-empty svg { color: var(--soft); margin-bottom: 14px; }

.activity-empty p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 16px;
  color: var(--soft);
}

/* ── Slide-in panels ── */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 13, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  animation: overlayIn 250ms var(--ease) both;
  display: none;
}

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

.panel-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 420px;
  max-width: 100vw;
  background: var(--ink-850);
  border-left: 1px solid var(--ink-border);
  z-index: 201;
  display: none;
  flex-direction: column;
  animation: drawerIn 350ms var(--ease-spring) both;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

@keyframes drawerIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--ink-border);
}

.panel-header h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0;
}

.panel-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--ink-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms;
}

.panel-close:hover { border-color: var(--ink-rim-strong); color: var(--text-strong); }

.panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-global-error {
  font-size: 13px;
  color: #ff8f9a;
  text-align: center;
  margin: -8px 0 0;
  min-height: 18px;
}

.panel-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding-top: 8px;
  border-top: 1px solid var(--ink-border);
  margin-top: 8px;
}

.panel-actions .btn-primary,
.panel-actions .btn-ghost { min-width: 110px; }

/* ── Toast notifications ── */
.toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--ink-800);
  border: 1px solid var(--ink-border);
  border-radius: 14px;
  font-size: 13.5px;
  color: var(--text);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  animation: toastIn 300ms var(--ease-spring) both;
  pointer-events: all;
  max-width: 360px;
  line-height: 1.5;
}

.toast.success { border-color: rgba(44, 240, 193, 0.3); }
.toast.success .toast-icon { color: var(--accent); }

.toast.error { border-color: rgba(255, 98, 118, 0.3); }
.toast.error .toast-icon { color: #ff6276; }

.toast-icon { flex-shrink: 0; }

.toast[data-autodismiss="true"] {
  animation: toastIn 300ms var(--ease-spring) both, toastOut 300ms var(--ease) 2.7s both;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

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

/* ── Responsive ── */
@media (max-width: 900px) {
  .auth-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-brand {
    position: static;
    height: auto;
    padding: 28px 24px 20px;
    border-right: none;
    border-bottom: 1px solid var(--ink-border);
  }

  .auth-brand-content { padding: 24px 0; gap: 24px; }
  .auth-brand-footer { display: none; }

  .auth-form-panel {
    padding: 36px 24px 48px;
    max-width: 100%;
  }

  .dash-stats-row { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .dash-profile-card { flex-wrap: wrap; }
  .dash-profile-card .btn-outline { width: 100%; justify-content: center; }
  .dash-stats-row { grid-template-columns: 1fr 1fr; }
  .panel-drawer { width: 100vw; }
}
