/* Physician-selection page.
   A minimal, centered selector — no marketing copy, no Bootstrap. */

:root {
  --canvas: #f3f6fa;
  --card: #ffffff;
  --ink: #14213d;
  --ink-soft: #42526b;
  --muted: #6d7b91;
  --line-strong: #cbd5e1;
  --navy: #183b5b;
  --navy-hover: #102f4b;
  --teal: #16847c;
  --danger: #b42318;
  --radius-sm: 12px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  color: var(--ink);
  background:
    radial-gradient(680px 420px at 12% 8%, rgba(22, 132, 124, 0.14), transparent 60%),
    linear-gradient(135deg, #eef3f9 0%, #e4ebf4 100%);
}

.selector-viewport {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.selector-shell {
  width: min(480px, 100%);
  background: var(--card);
  border: 1px solid rgba(203, 213, 225, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 55px rgba(30, 52, 78, 0.12);
  padding: clamp(28px, 6vw, 44px);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal);
}

.selector-title {
  margin: 0 0 26px;
  font-size: clamp(1.5rem, 3.4vw, 1.9rem);
  font-weight: 740;
  letter-spacing: -0.02em;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.select-wrap {
  position: relative;
}

/* CSS chevron replacing the native select arrow. */
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

#physician-select {
  width: 100%;
  height: 54px;
  padding: 0 44px 0 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

#physician-select:focus-visible {
  outline: 3px solid rgba(22, 132, 124, 0.3);
  outline-offset: 3px;
  border-color: var(--teal);
}

#physician-select[aria-busy="true"] {
  opacity: 0.65;
}

.field-error {
  margin: 10px 2px 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--danger);
}

.primary-button {
  width: 100%;
  height: 54px;
  margin-top: 22px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 22px rgba(24, 59, 91, 0.18);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.primary-button:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
}

.primary-button:focus-visible {
  outline: 3px solid rgba(22, 132, 124, 0.3);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .primary-button { transition: none; }
  .primary-button:hover { transform: none; }
}
