/* ========================================================
   EKO Medical Committee – Main Stylesheet
   Clean, professional, medical-grade design
   ======================================================== */

/* ── Reset & base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f0f4f8;
  color: #1a2332;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: #1a6fa8; text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.main-content { flex: 1; padding-block: 2.5rem; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  background: #0d3b5e;
  color: #fff;
  padding-block: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: #fff;
}

.site-logo .logo-icon {
  width: 42px; height: 42px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #0d3b5e;
  font-size: 1.3rem;
  font-weight: 900;
  flex-shrink: 0;
}

.site-logo .logo-text strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: .03em;
  line-height: 1.2;
}

.site-logo .logo-text span {
  font-size: .78rem;
  opacity: .8;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-nav { display: flex; align-items: center; gap: 1.25rem; }

.site-nav a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  padding: .35rem .6rem;
  border-radius: 4px;
  transition: background .15s;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255,255,255,.15);
  color: #fff;
  text-decoration: none;
}

.site-nav .btn-nav {
  background: #1a88c9;
  color: #fff;
  padding: .4rem .9rem;
  border-radius: 5px;
}

.site-nav .btn-nav:hover { background: #1572a8; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #0d3b5e;
  color: rgba(255,255,255,.65);
  font-size: .82rem;
  padding-block: 1.25rem;
  text-align: center;
}

.site-footer a { color: rgba(255,255,255,.75); }

/* ── Page title ─────────────────────────────────────────── */
.page-title { margin-bottom: 2rem; }
.page-title h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0d3b5e;
  border-bottom: 3px solid #1a88c9;
  padding-bottom: .5rem;
  display: inline-block;
}
.page-title p { color: #5a6b7c; margin-top: .5rem; }

/* ── Cards ──────────────────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  overflow: hidden;
  transition: box-shadow .2s;
}

.card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.1); }

.card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #dce3ec;
  background: #f7f9fc;
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  flex-wrap: wrap;
}

.card-header h2 { font-size: 1.1rem; font-weight: 700; color: #0d3b5e; }

.card-body { padding: 1.25rem; }
.card-footer {
  padding: .85rem 1.25rem;
  border-top: 1px solid #dce3ec;
  background: #f7f9fc;
  display: flex; align-items: center; justify-content: flex-end; gap: .75rem;
  flex-wrap: wrap;
}

/* ── Tournament grid ────────────────────────────────────── */
.tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tournament-card {
  display: flex;
  flex-direction: column;
}

.tournament-card .card-body { flex: 1; }

.tournament-meta {
  font-size: .85rem;
  color: #5a6b7c;
  margin-bottom: .75rem;
}

.tournament-meta .meta-item {
  display: flex; align-items: center; gap: .4rem;
  margin-bottom: .3rem;
}

.tournament-meta .meta-icon { width: 16px; text-align: center; opacity: .7; }

.tournament-desc {
  font-size: .9rem;
  color: #3a4a5c;
  margin-bottom: 1rem;
}

/* ── Badges ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .65rem;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
}

.badge-open     { background: #d4edda; color: #1a5c2e; border: 1px solid #a8d5b5; }
.badge-closed   { background: #fde8cc; color: #7a3c00; border: 1px solid #f5c48a; }
.badge-finished { background: #e0d6f5; color: #4a2880; border: 1px solid #c2acec; }
.badge-hidden   { background: #e8ecf0; color: #3d4f61; border: 1px solid #bcc8d4; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .5rem 1.1rem;
  border: none; border-radius: 5px;
  font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: background .15s, box-shadow .15s;
  text-decoration: none;
  line-height: 1.4;
}

.btn:hover { text-decoration: none; }

.btn-primary   { background: #1a6fa8; color: #fff; }
.btn-primary:hover { background: #155a88; color: #fff; }

.btn-secondary { background: #5a6b7c; color: #fff; }
.btn-secondary:hover { background: #495969; color: #fff; }

.btn-success   { background: #1f8c4f; color: #fff; }
.btn-success:hover { background: #186e3e; color: #fff; }

.btn-danger    { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #a03020; color: #fff; }

.btn-warning   { background: #d35400; color: #fff; }
.btn-warning:hover { background: #b34600; color: #fff; }

.btn-outline   {
  background: transparent;
  border: 1.5px solid #1a6fa8;
  color: #1a6fa8;
}
.btn-outline:hover { background: #1a6fa8; color: #fff; }

.btn-sm { padding: .3rem .75rem; font-size: .82rem; }
.btn-lg { padding: .7rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: .9rem; font-weight: 600;
  color: #1a2332; margin-bottom: .4rem;
}

.form-label .required { color: #c0392b; margin-left: 2px; }

.form-control {
  display: block; width: 100%;
  padding: .55rem .85rem;
  border: 1.5px solid #c5d0dc;
  border-radius: 5px;
  font-size: .95rem;
  color: #1a2332;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}

.form-control:focus {
  border-color: #1a88c9;
  box-shadow: 0 0 0 3px rgba(26,136,201,.18);
}

.form-control.is-invalid { border-color: #c0392b; }

textarea.form-control { resize: vertical; min-height: 90px; }

select.form-control { cursor: pointer; }

.form-check {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-bottom: .6rem;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px; height: 18px;
  margin-top: .1rem; flex-shrink: 0;
  cursor: pointer;
  accent-color: #1a88c9;
}

.form-check-label { font-size: .9rem; color: #2a3a4a; }

.form-hint { font-size: .8rem; color: #5a6b7c; margin-top: .3rem; }

.form-error { font-size: .82rem; color: #c0392b; margin-top: .25rem; }

.form-section-title {
  font-size: 1rem; font-weight: 700; color: #0d3b5e;
  border-bottom: 2px solid #e0e8f0;
  padding-bottom: .4rem; margin-bottom: 1rem; margin-top: 1.5rem;
}

/* ── Alerts ─────────────────────────────────────────────── */
.alert {
  padding: .9rem 1.1rem;
  border-radius: 6px;
  border-left: 4px solid;
  margin-bottom: 1.25rem;
  display: flex; align-items: flex-start; gap: .75rem;
  position: relative;
}

.alert-success { background: #eaf7ef; border-color: #27ae60; color: #1a5c2e; }
.alert-danger  { background: #fdecea; border-color: #c0392b; color: #7a1f1a; }
.alert-info    { background: #e8f4fd; border-color: #2980b9; color: #1a4a6e; }
.alert-warning { background: #fef9e7; border-color: #e67e22; color: #7a4500; }

.alert-dismissible { padding-right: 2.5rem; }

.alert-close {
  position: absolute; top: .5rem; right: .75rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.2rem; line-height: 1;
  color: inherit; opacity: .6;
}
.alert-close:hover { opacity: 1; }

/* ── Tables ─────────────────────────────────────────────── */
.table-responsive { overflow-x: auto; }

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.data-table thead tr {
  background: #0d3b5e;
  color: #fff;
}

.data-table th {
  padding: .75rem 1rem;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  padding: .7rem 1rem;
  border-bottom: 1px solid #dce3ec;
  vertical-align: middle;
}

.data-table tbody tr:hover { background: #f4f8fb; }
.data-table tbody tr:last-child td { border-bottom: none; }

/* ── Stats cards ─────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.stat-card .stat-number {
  font-size: 2.2rem; font-weight: 800;
  color: #0d3b5e; line-height: 1;
  margin-bottom: .3rem;
}

.stat-card .stat-label {
  font-size: .82rem; color: #5a6b7c;
  text-transform: uppercase; letter-spacing: .05em;
}

/* ── Progress bar ────────────────────────────────────────── */
.progress-bar-wrap {
  background: #e0e8f0; border-radius: 99px;
  height: 10px; overflow: hidden; margin-top: .3rem;
}

.progress-bar-fill {
  height: 100%; border-radius: 99px;
  background: #1a88c9;
  transition: width .4s ease;
}

/* ── Access code section ─────────────────────────────────── */
.access-code-section {
  max-width: 480px; margin-inline: auto;
  text-align: center; padding-block: 1.5rem;
}

.access-code-section .lock-icon {
  font-size: 3rem; margin-bottom: 1rem; opacity: .6;
}

/* ── Injury form card ────────────────────────────────────── */
.injury-form-wrap { max-width: 640px; margin-inline: auto; }

/* ── Closed banner ───────────────────────────────────────── */
.status-banner {
  text-align: center;
  padding: 2.5rem 1rem;
}

.status-banner .banner-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.status-banner h2 { color: #0d3b5e; margin-bottom: .5rem; }
.status-banner p { color: #5a6b7c; max-width: 480px; margin-inline: auto; }

/* ── Admin header bar ────────────────────────────────────── */
.admin-bar {
  background: #1a2332;
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  padding-block: .4rem;
  text-align: right;
}

.admin-bar .container { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; }
.admin-bar a { color: rgba(255,255,255,.75); }
.admin-bar a:hover { color: #fff; text-decoration: none; }

/* ── Action row ──────────────────────────────────────────── */
.action-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

/* ── Empty state ─────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 3rem 1rem;
  color: #5a6b7c;
}

.empty-state .empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: .4; }
.empty-state h3 { color: #3a4a5c; margin-bottom: .5rem; }

/* ── Login page ──────────────────────────────────────────── */
.login-wrap {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 70px);
  padding-block: 2rem;
}

.login-card {
  width: 100%; max-width: 420px;
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  overflow: hidden;
}

.login-card-header {
  background: #0d3b5e;
  color: #fff; padding: 1.75rem 2rem;
  text-align: center;
}

.login-card-header h1 { font-size: 1.3rem; font-weight: 700; }
.login-card-header p { font-size: .85rem; opacity: .8; margin-top: .3rem; }

.login-card-body { padding: 2rem; }

/* ── Confirm dialog ──────────────────────────────────────── */
.confirm-box {
  background: #fff; border: 1px solid #dce3ec; border-radius: 8px;
  padding: 2rem; max-width: 480px; margin-inline: auto; text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.confirm-box .confirm-icon { font-size: 3rem; margin-bottom: 1rem; }
.confirm-box h2 { color: #0d3b5e; margin-bottom: .5rem; }
.confirm-box p { color: #5a6b7c; margin-bottom: 1.5rem; }
.confirm-box .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Utilities ───────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted   { color: #5a6b7c; }
.text-small   { font-size: .85rem; }
.text-danger  { color: #c0392b; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .header-inner { flex-direction: column; padding-block: .75rem; text-align: center; }
  .site-nav { flex-wrap: wrap; justify-content: center; }
  .tournaments-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .action-row { flex-direction: column; align-items: stretch; }
  .action-row .btn { width: 100%; }
}

/* ── Two-column form row ──────────────────────────────────── */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

/* ── Form check group (inline radios) ────────────────────── */
.form-check-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: .25rem;
}

/* ── Injury entry card ────────────────────────────────────── */
.injury-entry {
  border: 1px solid #dce3ec;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #fff;
  overflow: hidden;
}

.injury-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0d3b5e;
  color: #fff;
  padding: .6rem 1rem;
}

.injury-entry-title {
  font-weight: 600;
  font-size: .95rem;
}

.injury-entry-body {
  padding: 1rem 1.25rem;
}

/* ── Severity slider ──────────────────────────────────────── */
.severity-slider {
  width: 100%;
  height: 6px;
  cursor: pointer;
  accent-color: #1a6fa8;
}

.severity-score-display {
  display: inline-block;
  min-width: 1.8rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0d3b5e;
  background: #e8f4fd;
  border-radius: 4px;
  padding: 0 .35rem;
  margin-left: .3rem;
}

.severity-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: #5a6b7c;
  margin-top: .25rem;
}

/* ── Admin injury detail card ─────────────────────────────── */
.injury-detail-card {
  background: #fff;
  border: 1px solid #dce3ec;
  border-radius: 6px;
  padding: .75rem 1rem;
  margin-bottom: .5rem;
}

.injury-detail-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .6rem;
}

.injury-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .4rem .75rem;
  font-size: .875rem;
}

.injury-detail-grid > div {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.detail-label {
  font-size: .75rem;
  font-weight: 600;
  color: #5a6b7c;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.severity-score-badge {
  font-weight: 700;
  color: #0d3b5e;
}

/* ── Injury detail row in table ───────────────────────────── */
.injury-detail-row td { background: #f7f9fc; }

/* ── Injury form wider wrap ───────────────────────────────── */
.injury-form-wrap { max-width: 780px; margin-inline: auto; }

/* ── Registration status badge ───────────────────────────────────────────── */
.badge-registration {
  background: #7b4fcf;
  color: #fff;
}

/* ── Registration "How it works" section ─────────────────────────────────── */
.reg-how-it-works {
  background: #f0f4ff;
  border: 1px solid #c5d5f5;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.reg-how-it-works h2 {
  color: #0d3b5e;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.how-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.how-steps li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: #0d3b5e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}

/* ── Homepage "How it works" banner ─────────────────────────────────────── */
.how-it-works-banner {
  background: #f0f4ff;
  border: 1px solid #c5d5f5;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.how-banner-steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.how-banner-step {
  flex: 1;
  min-width: 180px;
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .875rem;
}

.how-banner-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.how-banner-arrow {
  font-size: 1.5rem;
  color: #9bb3d8;
  align-self: center;
  padding-top: .1rem;
}

@media (max-width: 600px) {
  .how-banner-arrow { display: none; }
  .how-banner-steps { flex-direction: column; }
}

/* ── Health registration form ──────────────────────────────────────────────── */
.health-reg-form { max-width: 860px; }

.health-section {
  background: #fff;
  border: 1px solid #dde4ed;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.health-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d3b5e;
  border-bottom: 2px solid #e3ecf7;
  padding-bottom: .5rem;
  margin-bottom: 1rem;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 640px) {
  .form-row-3 { grid-template-columns: 1fr; }
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}

.med-entry {
  background: #f6f9fc;
  border: 1px solid #dde4ed;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: .75rem;
}

/* Health detail panel in admin registrations */
.health-detail-row > td { padding: 0; }
.health-detail-panel {
  background: #f6f9fc;
  border-top: 2px solid #3b82f6;
  padding: 1.25rem 1.5rem;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.detail-col { font-size: .92rem; line-height: 1.9; }
@media (max-width: 800px) {
  .detail-grid { grid-template-columns: 1fr; }
}

/* badge-info */
.badge-info { background: #0ea5e9; color: #fff; }

/* ── Health declaration summary / print card ─────────────────────────────── */
.reg-summary-wrapper { max-width: 860px; }

.reg-summary-print-note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: #065f46;
}

.reg-summary-card {
  background: #fff;
  border: 2px solid #0d3b5e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(13,59,94,.12);
}

.reg-summary-header {
  background: #0d3b5e;
  color: #fff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.reg-summary-logo {
  font-size: 2.4rem;
  line-height: 1;
  opacity: .9;
}
.reg-summary-event {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.reg-summary-title {
  font-size: .9rem;
  opacity: .8;
  margin-top: .15rem;
}
.reg-summary-date {
  font-size: .85rem;
  opacity: .7;
  margin-top: .2rem;
}

.reg-summary-body { padding: 1.25rem 1.5rem; }

.reg-summary-section {
  border-bottom: 1px solid #e3ecf7;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.reg-summary-section:last-child { border-bottom: none; margin-bottom: 0; }

.reg-summary-section-title {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #0d3b5e;
  margin-bottom: .75rem;
}

.reg-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .5rem 1.5rem;
}
.reg-summary-grid > div {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.reg-summary-grid .lbl {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #6b7a8d;
}
.reg-summary-grid .val {
  font-size: .97rem;
  font-weight: 600;
  color: #1a2332;
}

/* Weight box – no highlight */
.reg-summary-weight-box .lbl { }
.reg-summary-weight-box .val { }
.weight-onsite { color: #aaa !important; font-weight: 400 !important; }

.text-warning { color: #b45309; }

/* Medication table inside summary */
.reg-summary-med-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.reg-summary-med-table th,
.reg-summary-med-table td {
  padding: .35rem .6rem;
  text-align: left;
  border-bottom: 1px solid #e3ecf7;
}
.reg-summary-med-table th {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #6b7a8d;
  background: #f6f9fc;
}

/* Declarations */
.reg-summary-declarations .declaration-row {
  font-size: .9rem;
  color: #065f46;
  padding: .2rem 0;
}
.reg-summary-declarations .declaration-row::before { margin-right: .25rem; }

/* Signature area */
/* ── Print utility ────────────────────────────────────────────────────────── */
@media print {
  .no-print { display: none !important; }
}

/* ── Language switcher ──────────────────────────────────────────────────── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  margin-left: .25rem;
}
.lang-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.lang-select {
  min-width: 125px;
  height: 30px;
  padding: .25rem 1.85rem .25rem .55rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 4px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.lang-select:focus {
  outline: none;
  border-color: rgba(255,255,255,.7);
  box-shadow: 0 0 0 2px rgba(255,255,255,.2);
}

.lang-select option {
  color: #1a2332;
  background: #fff;
}
