:root {
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #eef3f8;
  color: #14213d;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(
      circle at top,
      #ffffff 0,
      #eef3f8 48%,
      #e3eaf2 100%
    );
}

button,
input {
  font: inherit;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 16px;
}

.conference-card {
  width: min(100%, 520px);
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid #d6e0ea;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgb(26 52 80 / 12%);
}

.card-header {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: #35618d;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.45rem);
  line-height: 1.12;
}

h2 {
  margin: 0;
  font-size: 1.35rem;
}

.intro {
  margin: 14px 0 0;
  color: #53677d;
  line-height: 1.6;
}

.form-stack {
  display: grid;
  gap: 20px;
}

.field-group {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #aebdca;
  border-radius: 10px;
  background: #ffffff;
  color: #14213d;
}

input:focus {
  border-color: #24598c;
  outline: 3px solid rgb(36 89 140 / 18%);
}

input[aria-invalid="true"] {
  border-color: #a62d35;
}

.field-help {
  margin: 0;
  color: #60758a;
  font-size: 0.88rem;
  line-height: 1.45;
}

.primary-button,
.secondary-button,
.text-button {
  min-height: 48px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 750;
}

.primary-button {
  border: 1px solid #174f82;
  background: #174f82;
  color: #ffffff;
}

.secondary-button {
  border: 1px solid #9dafc0;
  background: #ffffff;
  color: #174f82;
}

.text-button {
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #315f8b;
}

button:hover:not(:disabled) {
  filter: brightness(0.96);
}

button:focus-visible {
  outline: 3px solid rgb(36 89 140 / 28%);
  outline-offset: 2px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.status-message {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 10px;
  line-height: 1.45;
}

.status-message[data-type="info"] {
  border: 1px solid #b7d2eb;
  background: #edf6ff;
  color: #1d4f7d;
}

.status-message[data-type="error"] {
  border: 1px solid #e7b5b8;
  background: #fff1f2;
  color: #84242b;
}

.status-message[data-type="success"] {
  border: 1px solid #a9d4bb;
  background: #eefaf2;
  color: #27643e;
}

.verification-summary {
  display: grid;
  gap: 8px;
}

.verification-summary p {
  margin: 0;
  color: #53677d;
  line-height: 1.5;
}

.verified-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.verified-panel p {
  margin: 0;
  color: #53677d;
  line-height: 1.55;
}

.verified-symbol {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: #e8f7ee;
  color: #247044;
  font-size: 2rem;
  font-weight: 800;
}

.verified-note {
  font-size: 0.9rem;
}

.noscript-message {
  margin: 24px 0 0;
  color: #84242b;
}

[hidden] {
  display: none !important;
}

@media (max-width: 480px) {
  .page-shell {
    align-items: start;
    padding: 14px;
  }

  .conference-card {
    padding: 24px 18px;
    border-radius: 16px;
  }
}

.conference-dashboard {
  display: grid;
  width: 100%;
  gap: 24px;
  margin-top: 18px;
  text-align: left;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-header .secondary-button {
  width: auto;
  min-width: 100px;
}

.dashboard-section {
  display: grid;
  gap: 12px;
}

.dashboard-section h3 {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #d6e0ea;
}

.dashboard-empty {
  margin: 0;
  color: #60758a;
}

.dashboard-room {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid #d6e0ea;
  border-radius: 12px;
  background: #f8fbfe;
}

.dashboard-room h4 {
  margin: 0;
  overflow-wrap: anywhere;
}

.room-state {
  margin: 0;
  color: #35618d;
  font-weight: 700;
  text-transform: capitalize;
}

.dashboard-room dl {
  display: grid;
  grid-template-columns:
    minmax(90px, auto)
    minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0;
}

.dashboard-room dt {
  color: #60758a;
  font-weight: 700;
}

.dashboard-room dd {
  margin: 0;
  overflow-wrap: anywhere;
}

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

.room-actions button {
  width: auto;
  min-height: 40px;
}

@media (max-width: 480px) {
  .dashboard-header {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-header .secondary-button,
  .room-actions button {
    width: 100%;
  }

  .dashboard-room dl {
    grid-template-columns: 1fr;
  }

  .dashboard-room dd {
    margin-bottom: 6px;
  }
}
