/* onboarding.css -- Seat 2 (F2): styling for the agent onboarding intake
   surface (onboarding.js). Loaded after style.css (see index.html), so the
   shared design tokens (--primary, --bg-card, --radius-*, .btn, .a-card,
   .a-field, ...) are already in scope -- reused here rather than redefined. */

.ob-section-header {
  padding: 0 4px;
}

.ob-section-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.ob-section-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.ob-queue-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

/* --- Drafted-listing card --- */
.ob-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ob-card-address {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.ob-card-prefill {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ob-card-prefill strong {
  color: var(--text-main);
}

.ob-card-prefill-none {
  font-style: italic;
}

.ob-card-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
}

/* --- Modal shell (finish form + link hand-off) --- */
.ob-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2200;
  padding: 16px;
  overflow-y: auto;
}

.ob-modal-overlay.active {
  display: flex;
}

.ob-modal {
  background: #0f1523;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  max-width: 440px;
  width: 100%;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  margin: auto;
}

.ob-modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  line-height: 1.3;
}

.ob-form-error {
  color: #fda4af;
  font-size: 0.85rem;
  margin: -4px 0 16px;
}

.ob-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.ob-modal-actions .btn {
  flex: 1;
  padding: 14px 16px;
}

/* --- Link hand-off panel --- */
.ob-link-notice {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 16px;
}

.ob-link-input {
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.ob-link-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.ob-link-actions .btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
}

.ob-rotate-link {
  width: 100%;
}

@media (min-width: 480px) {
  .ob-modal-actions .btn,
  .ob-link-actions .btn {
    flex: initial;
  }
}
