:root {
  --bg: #050816;
  --bg-elevated: rgba(15, 23, 42, 0.9);
  --bg-soft: rgba(15, 23, 42, 0.7);
  --accent: #ec4899;
  --accent-soft: rgba(236, 72, 153, 0.18);
  --accent-strong: #f97316;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --error: #f97373;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 22px 45px rgba(15, 23, 42, 0.85);
  --shadow-chip: 0 12px 30px rgba(15, 23, 42, 0.8);
  --blur-strong: blur(26px);
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #1e293b 0, #020617 55%, #000 100%);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.app-shell {
  width: 100%;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: min(800px, 96vh);
  border-radius: 36px;
  padding: 14px;
  background: radial-gradient(circle at top left, #1f2937, #020617);
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.12), var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.3),
    rgba(56, 189, 248, 0.08),
    rgba(14, 165, 233, 0.08)
  );
  mix-blend-mode: soft-light;
  opacity: 0.8;
}

.phone-frame > * {
  position: relative;
  z-index: 1;
}

.app-header {
  padding: 8px 8px 0;
}

.header-top {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.brand-mark {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.55), rgba(15, 23, 42, 0.9));
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
}

.header-bottom h1 {
  font-size: 22px;
  margin: 4px 0;
  font-weight: 600;
}

.vanessa {
  color: var(--accent);
}

.header-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.app-main {
  flex: 1;
  overflow-y: auto;
  padding: 10px 4px 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.6) transparent;
}

.app-main::-webkit-scrollbar {
  width: 4px;
}

.app-main::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card {
  background: linear-gradient(
      145deg,
      rgba(15, 23, 42, 0.92),
      rgba(15, 23, 42, 0.92)
    ),
    radial-gradient(circle at top left, rgba(236, 72, 153, 0.18), transparent 60%);
  border-radius: var(--radius-lg);
  padding: 12px 13px 11px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
}

.card h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.chip-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.chip {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95));
  color: var(--text-main);
  padding: 8px 10px;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.95);
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease,
    background 0.15s ease;
}

.chip-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

.chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 1);
}

.chip--selected {
  border-color: rgba(236, 72, 153, 0.9);
  background: radial-gradient(circle at top, rgba(236, 72, 153, 0.26), rgba(15, 23, 42, 0.95));
  box-shadow: 0 18px 42px rgba(236, 72, 153, 0.4);
}

.chip--selected .chip-sub {
  color: rgba(249, 250, 251, 0.86);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

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

.field label {
  font-size: 11px;
  color: var(--text-muted);
}

.field input,
.field select {
  appearance: none;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.92));
  color: var(--text-main);
  outline: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.9);
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.field input::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.field input:focus-visible,
.field select:focus-visible {
  border-color: rgba(236, 72, 153, 0.9);
  box-shadow: 0 0 0 1px rgba(236, 72, 153, 0.7), 0 16px 40px rgba(236, 72, 153, 0.32);
}

.field select {
  padding-right: 28px;
  background-image: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.92));
}

.field-error {
  min-height: 14px;
  margin: 0;
  font-size: 10px;
  color: var(--error);
}

.summary-card {
  border-image: linear-gradient(135deg, #ec4899, #f97316, #38bdf8) 1;
  border-width: 1px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  margin-bottom: 6px;
}

.summary-row span {
  color: var(--text-muted);
}

.summary-row strong {
  font-weight: 500;
}

.summary-note {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--text-muted);
}

.app-footer {
  display: flex;
  gap: 10px;
  padding: 10px 4px 2px;
}

.primary-button,
.ghost-button {
  flex: 1;
  border-radius: var(--radius-pill);
  font-size: 13px;
  padding: 10px 14px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.primary-button {
  background: linear-gradient(135deg, #ec4899, #f97316);
  color: #0b1120;
  box-shadow: 0 18px 42px rgba(236, 72, 153, 0.5);
  border: 1px solid rgba(248, 250, 252, 0.12);
}

.primary-button:hover {
  filter: brightness(1.04);
}

.primary-button:active {
  transform: translateY(1px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
}

.ghost-button {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
}

.ghost-button:hover {
  border-color: rgba(248, 250, 252, 0.4);
}

.ghost-button:active {
  transform: translateY(1px);
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%) translateY(100%);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-main);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .phone-frame {
    height: 100vh;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .phone-frame::before {
    border-radius: 0;
  }
}

