/* Pilot snapshot wizard (hangar onboarding + future Interest lounge) */

.rcs-interest-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.rcs-interest-modal[hidden] {
  display: none !important;
}

.rcs-interest-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.rcs-interest-modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92vh, 860px);
  overflow: auto;
  background: var(--panel, #fff);
  color: var(--text, #0f172a);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
  padding: 22px 22px 18px;
}

.rcs-interest-modal-panel h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
}

.rcs-interest-modal-panel .rcs-hint {
  margin: 0 0 16px;
}

.rcs-interest-step-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
  margin-bottom: 4px;
}

.rcs-interest-avatar-block {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg-soft, rgba(148, 163, 184, 0.08));
  border: 1px solid var(--border, #e2e8f0);
  margin-bottom: 18px;
}

.rcs-interest-avatar-preview {
  width: 72px;
  height: 72px;
  border-radius: 16%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft, rgba(59, 130, 246, 0.12));
  color: var(--accent, #2563eb);
  font-weight: 700;
  font-size: 1.4rem;
}

.rcs-interest-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rcs-interest-avatar-copy {
  flex: 1;
  min-width: 0;
}

.rcs-interest-avatar-copy p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
}

.rcs-interest-avatar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.rcs-interest-skip-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--muted, #64748b);
  text-decoration: underline;
  cursor: pointer;
}

.rcs-interest-skip-link:hover {
  color: var(--text, #0f172a);
}

.rcs-interest-field {
  margin-bottom: 14px;
}

.rcs-interest-modal label {
  margin: 0;
  color: inherit;
}

.rcs-interest-modal input[type="checkbox"],
.rcs-interest-modal input[type="radio"] {
  width: auto;
  min-width: 1rem;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

.rcs-interest-field > label,
.rcs-interest-field > legend {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
}

.rcs-interest-field input[type="text"],
.rcs-interest-field select,
.rcs-interest-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border, #cbd5e1);
  background: var(--input-bg, #fff);
  color: inherit;
  font: inherit;
}

.rcs-interest-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .rcs-interest-row {
    grid-template-columns: 1fr;
  }
}

.rcs-interest-disciplines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rcs-interest-disciplines label,
.rcs-interest-modal .rcs-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  cursor: pointer;
}

.rcs-interest-disciplines label input,
.rcs-interest-modal .rcs-checkbox-label input {
  width: auto;
  margin-top: 2px;
}

.rcs-interest-bio-wrap {
  margin-top: 4px;
}

.rcs-interest-bio-wrap summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted, #64748b);
  margin-bottom: 8px;
}

.rcs-interest-error {
  color: var(--error, #dc2626);
  font-size: 14px;
  margin: 0 0 12px;
  min-height: 1.2em;
}

.rcs-interest-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border, #e2e8f0);
}

.rcs-interest-modal-actions .rcs-interest-skip-link {
  margin-left: auto;
}

.rcs-interest-nudge {
  margin-bottom: 0;
  padding: 16px 18px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--rcs-muted, #9ca3af);
}

.rcs-interest-nudge p {
  margin: 0 0 6px;
}

.rcs-interest-nudge p:last-child {
  margin-bottom: 0;
}

.rcs-interest-nudge a {
  font-weight: 700;
  color: inherit;
}

.hg-empty-actions {
  margin-top: 12px;
}

html[data-rcs-theme="dark"] .rcs-interest-modal-panel {
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

html[data-rcs-theme="dark"] .rcs-interest-avatar-block {
  background: rgba(148, 163, 184, 0.06);
}
