/* Sailforce Booking Confirmation — modern Bootstrap theme */
:root {
  --sf-navy: #1e5b97;
  --sf-navy-dark: #164572;
  --sf-teal: #0d9488;
  --sf-sand: #f8fafc;
  --sf-input-bg: #fffbeb;
  --sf-card-border: #c5d4e8;
  --sf-warn-bg: #fff8e1;
  --sf-warn-border: #ffe082;
  --sf-success: #2e7d32;
  --sf-danger-btn: #e65100;
}

body.sf-body {
  background: var(--sf-sand);
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}

.sf-topbar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.sf-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sf-navy), var(--sf-teal));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.sf-brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sf-navy);
  line-height: 1.1;
}

.sf-brand-sub {
  font-size: 0.75rem;
  color: #64748b;
}

.sf-title-pill {
  background: var(--sf-navy);
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 1rem;
  white-space: nowrap;
}

.sf-stepbar {
  position: sticky;
  top: 0;
  z-index: 100;
}

.sf-progress {
  background: var(--sf-navy) !important;
}

.sf-step-badge {
  font-weight: 600;
  color: var(--sf-navy) !important;
}

/* Cards matching concept */
.sf-card {
  border: 1px solid var(--sf-card-border);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(30, 91, 151, 0.06);
}

.sf-card-header {
  background: var(--sf-navy);
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1rem;
  text-align: center;
}

.sf-card-body {
  padding: 0;
}

.sf-meta-table {
  width: 100%;
  margin: 0;
  font-size: 0.9rem;
}

.sf-meta-table th,
.sf-meta-table td {
  padding: 0.45rem 0.85rem;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
}

.sf-meta-table th {
  width: 42%;
  font-weight: 500;
  color: #475569;
  background: #f8fafc;
}

.sf-meta-table tr:nth-child(even) td {
  background: #fafbfd;
}

.sf-meta-table tr:last-child th,
.sf-meta-table tr:last-child td {
  border-bottom: 0;
}

.sf-hint {
  background: var(--sf-warn-bg);
  border: 1px solid var(--sf-warn-border);
  border-radius: 0.375rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
  color: #6d4c00;
  max-width: 560px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.sf-field-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #eef2f7;
}

.sf-field-row:last-child {
  border-bottom: 0;
}

.sf-field-label {
  flex: 0 0 100%;
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
}

@media (min-width: 576px) {
  .sf-field-label {
    flex: 0 0 42%;
  }
  .sf-field-control {
    flex: 1 1 50%;
  }
}

.sf-field-control {
  flex: 1 1 100%;
}

.sf-field-help {
  flex: 0 0 100%;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: -0.25rem;
}

.sf-input,
.sf-select,
.sf-textarea {
  background: var(--sf-input-bg) !important;
  border-color: #e2d5a3 !important;
}

.sf-input:focus,
.sf-select:focus,
.sf-textarea:focus {
  border-color: var(--sf-navy) !important;
  box-shadow: 0 0 0 0.2rem rgba(30, 91, 151, 0.15) !important;
}

.sf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn-sf-primary {
  background: var(--sf-navy);
  border-color: var(--sf-navy);
  color: #fff;
  min-width: 160px;
}
.btn-sf-primary:hover {
  background: var(--sf-navy-dark);
  border-color: var(--sf-navy-dark);
  color: #fff;
}

.btn-sf-yes {
  background: #43a047;
  border-color: #43a047;
  color: #fff;
  min-width: 180px;
}
.btn-sf-yes:hover {
  background: #2e7d32;
  border-color: #2e7d32;
  color: #fff;
}

.btn-sf-no {
  background: #ef6c00;
  border-color: #ef6c00;
  color: #fff;
  min-width: 180px;
}
.btn-sf-no:hover {
  background: #e65100;
  border-color: #e65100;
  color: #fff;
}

/* Passenger table */
.sf-pax-table {
  max-width: 720px;
  margin: 1rem auto 0;
  font-size: 0.875rem;
}

.sf-pax-table thead {
  background: var(--sf-navy);
  color: #fff;
}

.sf-pax-table th,
.sf-pax-table td {
  padding: 0.5rem 0.65rem;
  vertical-align: middle;
}

.sf-complete-banner {
  max-width: 720px;
  margin: 0 auto;
  background: #fffde7;
  border: 1px solid #ffe082;
  border-radius: 0.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
}

.sf-complete-banner h2 {
  color: #bf360c;
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
}

.sf-footer {
  margin-top: auto;
}

/* Alert */
#alert-area .alert {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
