/* ===== Brand CSS Variables (from index.html) ===== */
[x-cloak] { display: none !important; }

:root {
    --brand-bg: #f9f9f9;
    --brand-surface: #ffffff;
    --brand-text: #1a1c1c;
    --brand-muted: #50453b;
    --brand-border: #d4c4b7;
    --brand-primary: #7d562f;
    --brand-accent: #7d562f;
    --brand-highlight: #f0bd8d;
    --brand-success: #364a46;
    --brand-warning: #7d562f;
    --brand-error: #ba1a1a;
    --brand-amber: #c99a2e;

    /* Sunrise Inspiration Design System */
    --primary: #7d562f;
    --primary-container: #ffcb9a;
    --secondary: #6a5e2b;
    --tertiary: #4e635e;
    --background: #f9f9f9;
    --surface: #ffffff;
    --on-surface: #1a1c1c;
    --outline: #82756a;
    --surface-container-high: #e8e8e8;
    --surface-container-low: #f3f3f3;
    --error: #ba1a1a;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--brand-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--brand-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-muted);
}

/* ===== Tab Highlight Animations ===== */
@keyframes tabHighlight {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); border-color: rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); border-color: rgba(16, 185, 129, 0.8); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); border-color: rgba(16, 185, 129, 0.4); }
}

.tab-completed-highlight {
    animation: tabHighlight 2s infinite;
    background-color: rgba(16, 185, 129, 0.05);
    color: var(--brand-text);
}

.tab-completed-highlight-amber {
    animation: tabHighlightAmber 2s infinite;
    background-color: rgba(245, 158, 11, 0.05);
}
@keyframes tabHighlightAmber {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); border-color: rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0); border-color: rgba(245, 158, 11, 0.8); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); border-color: rgba(245, 158, 11, 0.4); }
}

.tab-completed-highlight-sky {
    animation: tabHighlightSky 2s infinite;
    background-color: rgba(14, 165, 233, 0.05);
}
@keyframes tabHighlightSky {
    0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); border-color: rgba(14, 165, 233, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(14, 165, 233, 0); border-color: rgba(14, 165, 233, 0.8); }
    100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); border-color: rgba(14, 165, 233, 0.4); }
}

.tab-completed-highlight-emerald {
    animation: tabHighlightEmerald 2s infinite;
    background-color: rgba(16, 185, 129, 0.05);
}
@keyframes tabHighlightEmerald {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); border-color: rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); border-color: rgba(16, 185, 129, 0.8); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); border-color: rgba(16, 185, 129, 0.4); }
}

.tab-completed-highlight-rose {
    animation: tabHighlightRose 2s infinite;
    background-color: rgba(244, 63, 94, 0.05);
}
@keyframes tabHighlightRose {
    0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4); border-color: rgba(244, 63, 94, 0.4); }
    50% { box-shadow: 0 0 0 4px rgba(244, 63, 94, 0); border-color: rgba(244, 63, 94, 0.8); }
    100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); border-color: rgba(244, 63, 94, 0.4); }
}

/* ===== Login Page Styles ===== */
.sunrise-gradient {
    background: linear-gradient(180deg, #ffcb9a 0%, #f3e2a2 100%);
}
.soft-ambient-shadow {
    box-shadow: 0 20px 40px rgba(125, 86, 47, 0.05);
}
.canvas-grid {
    background-image: radial-gradient(#d0e7e1 1px, transparent 1px);
    background-size: 24px 24px;
}
.glass-nav {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
/* Sidebar group connector */
.sidebar-group {
    position: relative;
}
.sidebar-group::before {
    content: '';
    position: absolute;
    left: 2.2rem;
    top: 2.8rem;
    bottom: 0.8rem;
    width: 2px;
    background: linear-gradient(180deg, #ffcb9a 0%, #f3e2a2 100%);
    border-radius: 1px;
    opacity: 0.8;
}
.sidebar-group.sidebar-group-child-only::before {
    top: 1.75rem;
    bottom: 0.6rem;
}
.sidebar-child {
    padding-left: 3rem !important;
    position: relative;
}
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===== Sunrise Inspiration Design System ===== */

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--on-surface);
  line-height: 1.6;
}

/* Card Styling */
.card-sunrise {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 32px;
  border: none;
}

/* Input Fields */
.input-sunrise {
  background: #f3f3f3;
  border: 1px solid #d4c4b7;
  border-radius: 0.5rem;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.input-sunrise:focus {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(125, 86, 47, 0.1);
  outline: none;
}

/* Buttons */
.btn-sunrise-primary {
  background: linear-gradient(180deg, var(--primary-container) 0%, #efbd8d 100%);
  color: #2c1600;
  border-radius: 0.5rem;
  padding: 12px 24px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-sunrise-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Spacing */
.section-padding {
  padding-top: 64px;
  padding-bottom: 64px;
}

.grid-fluid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Sunrise gradient button — selaras dengan .sunrise-gradient (index.html) */
.sunrise-gradient-btn {
  background: linear-gradient(180deg, #ffcb9a 0%, #f3e2a2 100%);
  color: #2c1600;
}

/* Fade-in entrance animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeIn 0.4s ease-out;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Thin brand-aligned scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--outline);
  border-radius: 9999px;
  opacity: 0.5;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: var(--outline) transparent;
}

/* Landing page */
.landing-shell {
  background:
    radial-gradient(circle at 18% 9%, rgba(255, 220, 191, 0.34), transparent 30%),
    radial-gradient(circle at 92% 20%, rgba(208, 231, 225, 0.35), transparent 28%),
    radial-gradient(circle at 50% 78%, rgba(243, 226, 162, 0.24), transparent 32%),
    var(--background);
}

.landing-shell .glass-nav {
  background: rgba(249, 249, 249, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.54);
}

.landing-mockup,
.landing-card,
.landing-price-card,
.landing-cta {
  box-shadow: 0 28px 70px rgba(125, 86, 47, 0.075);
}

.landing-card,
.landing-price-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(212, 196, 183, 0.32);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}

.landing-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 3px solid #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(125, 86, 47, 0.12);
}

.landing-brand {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.landing-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-icon .material-symbols-outlined {
  font-size: 28px;
}

.landing-stat {
  text-align: center;
  padding: 0 18px;
}

.landing-stat-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 16px;
  border-radius: 9999px;
  background: rgba(255, 220, 191, 0.55);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-stat strong {
  display: block;
  color: var(--brand-primary);
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.landing-stat p {
  margin-top: 12px;
  color: var(--on-surface);
  font-size: 14px;
  font-weight: 600;
}

.landing-creator-card {
  min-width: 0;
}

.landing-creator-photo {
  aspect-ratio: 0.86 / 1;
  border-radius: 14px;
  background-image: linear-gradient(145deg, var(--tw-gradient-stops));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 -30px 60px rgba(125, 86, 47, 0.08);
}

.landing-creator-photo span {
  width: 88px;
  height: 88px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  box-shadow: 0 24px 54px rgba(125, 86, 47, 0.14);
}

.landing-price-card {
  padding: 32px;
}

.landing-price-card h3 {
  color: var(--on-surface);
  font-size: 22px;
  font-weight: 800;
}

.landing-price-subtitle {
  margin-top: 8px;
  color: var(--on-surface-variant);
  font-size: 14px;
}

.landing-price {
  margin-top: 32px;
  color: var(--on-surface);
  font-size: clamp(34px, 4vw, 42px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.landing-price span {
  color: var(--on-surface-variant);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.landing-price-list {
  margin-top: 28px;
  display: grid;
  gap: 15px;
  color: var(--on-surface);
  font-size: 14px;
  font-weight: 600;
}

.landing-price-list li {
  position: relative;
  padding-left: 24px;
}

.landing-price-list li::before {
  content: "check";
  position: absolute;
  left: 0;
  top: 1px;
  font-family: 'Material Symbols Outlined';
  color: var(--brand-primary);
  font-size: 16px;
  line-height: 1;
}

.landing-price-button {
  width: 100%;
  margin-top: 48px;
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--on-primary-fixed);
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.landing-price-button:hover {
  transform: translateY(-1px);
}

.landing-cta {
  background: linear-gradient(100deg, rgba(243, 226, 162, 0.58) 0%, rgba(255, 255, 255, 0.72) 48%, rgba(255, 203, 154, 0.62) 100%);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

/* Social proof notification */
.social-proof {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 40px rgba(125, 86, 47, 0.12);
  max-width: 320px;
  pointer-events: none;
}

.social-proof-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #5d4037;
  flex-shrink: 0;
}

.social-proof-text {
  font-size: 13px;
  line-height: 1.5;
  color: #5d4037;
}

.social-proof-text strong {
  font-weight: 800;
}

.social-proof-text span {
  color: #8a7a6a;
}

.login-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(80, 69, 59, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.login-popup-panel {
  position: relative;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border-radius: 24px;
  background: #ffffff;
  padding: 36px 32px 32px;
  box-shadow: 0 34px 110px rgba(125, 86, 47, 0.16);
}

.login-popup-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--outline);
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.login-popup-close:hover {
  color: var(--on-surface);
  background: var(--surface-container-low);
  transform: rotate(6deg);
}

.login-popup-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px 24px 16px 6px;
  background: linear-gradient(135deg, #ffcb9a 0%, #f3e2a2 50%, #d0e7e1 100%);
  box-shadow: 14px 16px 0 -3px rgba(208, 231, 225, 0.65);
}

.login-provider-button {
  position: relative;
  width: 100%;
  min-height: 52px;
  border: 1.5px solid var(--outline-variant);
  border-radius: 12px;
  background: #ffffff;
  color: var(--on-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.login-provider-button:hover {
  border-color: var(--primary);
  background: var(--primary-fixed);
  transform: translateY(-1px);
}

.login-provider-primary {
  border-color: var(--primary);
  background: rgba(255, 203, 154, 0.18);
}

.login-provider-button em {
  position: absolute;
  right: -12px;
  top: -12px;
  border: 1.5px solid var(--primary);
  border-radius: 10px;
  background: var(--primary-fixed);
  color: var(--on-primary-fixed);
  padding: 5px 10px;
  font-size: 11px;
  line-height: 1;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 14px rgba(125, 86, 47, 0.16);
}

.login-popup-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: var(--outline);
}

.login-popup-divider span {
  height: 1px;
  background: var(--outline-variant);
}

.login-popup-divider strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.login-popup-input {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid var(--outline-variant);
  border-radius: 12px;
  background: var(--surface-container-low);
  padding: 0 20px;
  color: var(--on-surface);
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.login-popup-input::placeholder {
  color: var(--outline);
  opacity: 1;
}

.login-popup-input:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(125, 86, 47, 0.1);
}

.login-popup-submit {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffcb9a 0%, #f3e2a2 100%);
  color: var(--on-primary-fixed);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(125, 86, 47, 0.14);
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.login-popup-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.login-popup-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.login-popup-sso {
  border-top: 1px solid var(--outline-variant);
  color: var(--outline);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.35;
}

.login-popup-sso a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Signup page */
.auth-sunrise-shell {
  background-color: #f8f8f7;
  background-image: radial-gradient(rgba(181, 203, 197, 0.64) 1.25px, transparent 1.25px);
  background-size: 30px 30px;
}

.auth-signup-card {
  min-height: min(860px, calc(100vh - 4rem));
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 28px 80px rgba(80, 69, 59, 0.12);
}

.auth-signup-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(140deg, #ffc590 0%, #f4dfa2 100%);
}

.auth-signup-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.17;
  background-image: radial-gradient(rgba(125, 86, 47, 0.42) 1px, transparent 1px);
  background-size: 36px 36px;
}

.auth-signup-panel > * {
  position: relative;
  z-index: 1;
}

.auth-creator-avatar {
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  border: 4px solid #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5c3717;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(92, 55, 23, 0.18);
}

.auth-label {
  display: block;
  margin-bottom: 8px;
  color: #50453b;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.auth-input {
  width: 100%;
  min-height: 64px;
  border: 1.5px solid rgba(125, 86, 47, 0.34);
  border-radius: 10px;
  background: #f1f1f1;
  padding: 0 22px;
  color: #1a1c1c;
  font-size: 20px;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input::placeholder {
  color: #677183;
  opacity: 1;
}

.auth-input:focus {
  background: #ffffff;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(125, 86, 47, 0.1);
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: #50453b;
}

.auth-divider span {
  height: 1.5px;
  background: rgba(125, 86, 47, 0.27);
}

.auth-divider strong {
  font-size: 16px;
  font-weight: 800;
}

.auth-social-button {
  min-height: 58px;
  border-radius: 10px;
  border: 1.5px solid rgba(125, 86, 47, 0.32);
  background: rgba(255, 255, 255, 0.72);
  color: var(--on-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 900;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.auth-social-button:hover {
  background: #ffffff;
  border-color: rgba(125, 86, 47, 0.56);
  transform: translateY(-1px);
}

.auth-social-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 767px) {
  .landing-price-card {
    padding: 28px 24px;
  }

  .landing-stat {
    padding: 0 8px;
  }

  .login-popup-panel {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .login-popup-mark {
    width: 44px;
    height: 44px;
  }

  .login-provider-button,
  .login-popup-input,
  .login-popup-submit {
    min-height: 48px;
    font-size: 14px;
  }

  .login-provider-button em {
    right: -6px;
    top: -10px;
    font-size: 10px;
    padding: 4px 8px;
  }

  .login-popup-sso {
    align-items: flex-start;
    font-size: 12px;
  }

  .auth-signup-card {
    min-height: auto;
  }

  .auth-signup-panel {
    min-height: 320px;
  }

  .auth-input {
    min-height: 58px;
    font-size: 17px;
  }
}

/* Onboarding modal redesign */
.onboarding-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.22), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.16), transparent 28%),
    rgba(31, 31, 31, 0.58);
  backdrop-filter: blur(10px);
}

.onboarding-modal {
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.onboarding-hero {
  position: relative;
  padding: 28px 44px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #ffcb9a 0%, #f3e2a2 100%);
}

.onboarding-field-label {
  display: block;
  margin-bottom: 8px;
  color: #2f2923;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.onboarding-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #f1f1f1;
  color: #111827;
  padding: 10px 16px;
  font-size: 15px;
  line-height: 1.35;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.onboarding-input::placeholder { color: #b8b8b8; }
.onboarding-input:focus {
  background: #ffffff;
  border-color: #d7a75f;
  box-shadow: 0 0 0 3px rgba(215, 167, 95, 0.18);
}

.field-empty-indicator > label:first-of-type::after,
.field-empty-indicator label:first-of-type::after {
  content: " *";
  color: var(--error);
  font-size: 0.85em;
  font-weight: 900;
  line-height: 1;
}

.onboarding-textarea { min-height: 80px; resize: vertical; }

.insight-textarea {
  min-height: 80px;
  field-sizing: content;
  line-height: 1.55;
  padding: 0.95rem 1rem;
  white-space: pre-wrap;
}

.onboarding-section-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffd790;
  color: #5a2d12;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.onboarding-primary-btn {
  min-width: 200px;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc48d 0%, #f6df97 100%);
  color: #4a260f;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(135, 77, 26, 0.18);
  transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}

.onboarding-primary-btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.onboarding-primary-btn:disabled { opacity: .55; transform: none; cursor: not-allowed; }

.onboarding-secondary-btn {
  min-height: 42px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #e1ddd7;
  color: #6b6259;
  font-weight: 700;
  font-size: 14px;
  background: #ffffff;
  transition: background .2s ease, color .2s ease;
}

.onboarding-secondary-btn:hover { background: #faf5eb; color: #5a2d12; }

@media (max-width: 768px) {
  .onboarding-backdrop { align-items: flex-start; padding: 1rem; }
  .onboarding-modal { width: 100%; max-height: calc(100vh - 2rem); border-radius: 18px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .onboarding-modal > div:last-child { flex: none; overflow-y: visible; }
  .onboarding-hero { padding: 22px 24px; overflow: visible; }
  .onboarding-input { font-size: 14px; padding: 9px 14px; }
  .onboarding-primary-btn { width: 100%; min-width: 0; }
}
