/* goals-create-spending: goal type picker, Budget / Make More Money / Habit create flows. */

.gcs-message {
  color: var(--light-gray);
  font-size: 16px;
  line-height: 1.4;
}

.gcs-message a {
  color: var(--gold);
}

.gcs-muted {
  margin: 0;
  max-width: 700px;
  color: var(--light-gray);
  font-size: 16px;
  line-height: 1.5;
}

/* --- Goal type picker (Figma 19056:23735) --- */

.goals-wizard:has(.gcs-picker) .goals-wizard-eyebrow {
  display: none;
}

.gcs-picker {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.gcs-picker-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 16px;
}

.gcs-picker-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gcs-picker-title,
.gcs-picker-caption {
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
}

.gcs-picker-title {
  font-size: 16px;
  color: var(--gold);
}

.gcs-picker-caption {
  font-size: 14px;
  color: var(--light-gray);
}

.gcs-picker-row {
  display: flex;
  gap: 8px;
}

.gcs-picker-tile {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(2, 9, 22, 0.35);
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.gcs-picker-tile:hover {
  border-color: var(--gold);
}

.gcs-picker-tile img {
  display: block;
}

/* --- Lower spending --- */

.gcs-cat-icon {
  display: block;
  width: 40px;
  height: 40px;
  background: #9E6FE0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Figma 19056:24877: 700px wide, 24px between fields. */
.goals-form.gcs-form-tight {
  max-width: 700px;
  gap: 24px;
}

.goals-input input[readonly] {
  cursor: default;
}

/* --- Habit: moments (Figma 19058:25844) --- */

.gcs-subtitle {
  margin: -24px 0 0;
  color: var(--light-gray);
  font-size: 16px;
  line-height: 1.4;
}

.gcs-moments {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 500px;
}

.gcs-or-select {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.gcs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gcs-chip {
  padding: 8px 16px;
  border-radius: 40px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  color: var(--white);
  font-family: "Geist", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  cursor: pointer;
}

.gcs-chip.selected {
  background: var(--gold);
  color: #16294A;
}

/* --- Habit: schedule (Figma 19059:26624) --- */

.goals-wizard:has(.gcs-habit-quote) .goals-wizard-heading {
  display: none;
}

.gcs-habit-quote {
  margin: 0;
  width: 100%;
  padding: 40px 0;
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
}

.gcs-habit-quote span {
  color: var(--gold);
}

.gcs-schedule {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 500px;
}

.gcs-days-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gcs-days-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.gcs-days {
  display: flex;
  justify-content: space-between;
}

.gcs-day {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 40px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  color: var(--white);
  font-family: "Geist", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
}

.gcs-day.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #16294A;
}

.gcs-days-hint {
  margin: 0;
  text-align: right;
  color: var(--light-gray);
  font-size: 12px;
  line-height: 1.4;
}

.gcs-time-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gcs-ampm {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.gcs-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: none;
  border: none;
  color: var(--white);
  font-family: "Geist", sans-serif;
  font-size: 16px;
  line-height: 25px;
  cursor: pointer;
}

.gcs-radio img {
  display: block;
}

.gcs-radio-off {
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--navy-card);
  border: 1px solid #606D81;
  box-sizing: border-box;
}

/* --- Reflow (WCAG 1.4.10): desktop (>=1024px) unchanged --- */

@media (max-width: 767.98px) {
  .gcs-picker-row {
    flex-wrap: wrap;
  }

  .gcs-picker-tile {
    flex: 1 0 calc(50% - 4px);
  }

  .gcs-days {
    flex-wrap: wrap;
    gap: 8px 4px;
  }

  .gcs-ampm {
    gap: 16px 40px;
  }
}
