/* ── Login / Signup Page Styles ── */

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

.login-wrapper {
  width: 100%;
  max-width: 420px;
}

/* Brand header */
.brand {
  text-align: center;
  margin-bottom: 32px;
}
.brand-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.brand-icon svg {
  width: 24px; height: 24px;
  stroke: #fff; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.brand-name {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--text);
  letter-spacing: -0.3px;
}
.brand-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 300;
}

/* Card body */
.login-card { padding: 36px; }

/* Tabs */
.tabs {
  display: flex;
  background: var(--bg);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.tab {
  flex: 1;
  padding: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--sans);
  text-align: center;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.tab.active {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(28,25,20,0.08);
}

/* Forgot password link */
.forgot-link {
  display: block;
  text-align: right;
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  margin-top: -10px;
  margin-bottom: 22px;
  transition: color var(--transition);
}
.forgot-link:hover { color: var(--accent-hover); }

/* Trial badge */
.trial-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--accent-light);
  border: 1px solid #C2D9C9;
  border-radius: 8px;
  padding: 10px 16px;
  margin-top: 20px;
}
.trial-badge svg {
  width: 16px; height: 16px;
  stroke: var(--accent); fill: none;
  stroke-width: 2; stroke-linecap: round;
  flex-shrink: 0;
}
.trial-badge span {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

/* Forgot password screen */
.forgot-overlay { display: none; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color var(--transition);
}
.back-link:hover { color: var(--text); }
.back-link svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round;
}
.forgot-title {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 6px;
}
.forgot-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Success screen */
.success-screen {
  display: none;
  text-align: center;
  padding: 12px 0;
}
.success-icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.success-icon svg {
  width: 26px; height: 26px;
  stroke: var(--accent); fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.success-title {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 8px;
}
.success-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
