/* ══════════════════════════════════
   Buttons, Dropdown, Multi-pick, Confirm
   ══════════════════════════════════ */

/* ── Choice Buttons (multiselect group) ── */
.buttons-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.buttons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 2px 0;
}

.choice-btn {
  padding: 8px 20px;
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(99, 215, 251, .35);
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  white-space: nowrap;
}

.choice-btn:hover {
  background: rgba(99, 215, 251, .10);
  border-color: var(--cyan);
}

.choice-btn:active { transform: scale(.97); }

.choice-btn.selected {
  background: var(--grad-btn);
  border-color: transparent;
  color: #fff;
}

/* Send button that appears below button choices */
.buttons-send-btn {
  padding: 8px 24px;
  background: var(--grad-btn);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 2px 12px rgba(82, 12, 244, .35);
  transition: opacity .15s;
}

.buttons-send-btn:disabled {
  background: var(--surface-3);
  box-shadow: none;
  color: var(--text-muted);
  cursor: not-allowed;
}

.buttons-send-btn:not(:disabled):hover { opacity: .88; }

/* ── Dropdown ── */
.dropdown-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
}

.dropdown-wrap label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .03em;
}

.dropdown-select {
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  cursor: pointer;
  transition: border-color .15s;
  direction: inherit;
}

.dropdown-select:focus { border-color: var(--border-active); }
.dropdown-select option { background: var(--surface-2); }

.dropdown-confirm-btn {
  padding: 8px 22px;
  background: var(--grad-btn);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  width: fit-content;
  box-shadow: 0 2px 12px rgba(82, 12, 244, .35);
  transition: opacity .15s;
}

.dropdown-confirm-btn:hover { opacity: .88; }

/* ── Multi-pick (checkbox 2×2 grid) ── */
.multi-pick-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.multi-pick-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.multi-pick-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Checkbox row */
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  user-select: none;
}

.checkbox-item:hover { border-color: var(--border-hover); }

.checkbox-item.selected {
  border-color: var(--blue);
  background: rgba(84, 128, 241, .10);
}

.checkbox-item.disabled {
  opacity: .35;
  cursor: not-allowed;
}

.checkbox-input { display: none; }

.checkbox-box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-hover);
  border-radius: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
}

.checkbox-item.selected .checkbox-box {
  background: var(--grad-btn);
  border-color: transparent;
}

.checkbox-item.selected .checkbox-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
  display: block;
}

.checkbox-label {
  font-size: 13px;
  color: var(--text-dim);
  flex: 1;
  line-height: 1.4;
}

.checkbox-item.selected .checkbox-label { color: var(--text); }

.multi-pick-confirm {
  padding: 8px 22px;
  background: var(--grad-btn);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  width: fit-content;
  box-shadow: 0 2px 12px rgba(82, 12, 244, .35);
  transition: opacity .15s;
}

.multi-pick-confirm:disabled {
  background: var(--surface-3);
  box-shadow: none;
  color: var(--text-muted);
  cursor: not-allowed;
}

.multi-pick-confirm:not(:disabled):hover { opacity: .88; }

/* ── Skip Button (optional fields) ── */
.skip-btn {
  padding: 6px 16px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: color .15s, border-color .15s;
}

.skip-btn:hover {
  color: var(--text-dim);
  border-color: rgba(255,255,255,.16);
}

/* ── Confirm Widget (Stage 3 — "anything to add?" + action buttons) ── */
.confirm-wrap-with-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.confirm-add-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
}

.confirm-action-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: .02em;
}

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

.confirm-textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  resize: none;
  outline: none;
  width: 100%;
  direction: inherit;
  transition: border-color .2s, box-shadow .2s;
  line-height: 1.5;
}

.confirm-textarea::placeholder { color: var(--text-muted); }

.confirm-textarea:focus {
  border-color: var(--border-active);
  box-shadow: 0 0 0 3px rgba(99, 215, 251, .07);
}

/* ── Profile Review Card (confirm step redesign) ── */
.profile-review-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.profile-review-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 28px;
}

.profile-review-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .05em;
  text-transform: uppercase;
  min-width: 90px;
  flex-shrink: 0;
}

.profile-review-value {
  font-size: 13px;
  color: var(--text);
  flex: 1;
  word-break: break-word;
}

.profile-review-edit-btn {
  background: transparent;
  border: 1px solid rgba(99, 215, 251, .25);
  color: var(--cyan);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  transition: background .15s, border-color .15s;
}

.profile-review-edit-btn:hover {
  background: rgba(99, 215, 251, .08);
  border-color: var(--cyan);
}

.profile-review-confirm-btn {
  margin-top: 12px;
  align-self: stretch;
}
