/* PayPal NCP-inspired light theme */
:root {
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;
  --accent: #0070ba; /* PayPal blue */
  --ok: #15803d;
  --err: #b91c1c;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    Noto Sans, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", sans-serif;
  background: url("/images/nassau_background.png") center center / cover no-repeat fixed;
  color: var(--text);
}

.wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 56px 24px 64px;
}
.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 544px);
  padding: 32px;
  border-radius: 28px;
  background: rgba(20, 96, 130, 0.55);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.2);
}
.panel-logo {
  margin-bottom: 8px;
}
.panel-logo img {
  width: 180px;
  max-width: 70vw;
  height: auto;
  display: block;
}
.container {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.05);
  overflow: visible;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 0 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: url("/images/nassau_port_logo.png") center/contain no-repeat;
  flex: 0 0 auto;
}
.brand-title {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #111827;
}
.secure {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.secure:before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 1a7 7 0 00-7 7v3H4a1 1 0 00-1 1v9a2 2 0 002 2h14a2 2 0 002-2v-9a1 1 0 00-1-1h-1V8a7 7 0 00-7-7zm-3 10V8a3 3 0 116 0v3H9z"/></svg>')
    center / contain no-repeat;
}

.summary {
  padding: 6px 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.amount {
  font-size: 28px;
  font-weight: 800;
  color: #0b1220;
}
.desc {
  font-size: 13px;
  color: var(--muted);
}

.body {
  padding: 16px 18px 20px;
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0;
}

.info {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.list {
  margin: 10px 0 0 16px;
  color: #334155;
}

.actions {
  margin-top: 12px;
}
#paypal-button-container {
  width: 100%;
}

.alert {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  display: none;
  border: 1px solid transparent;
}
.alert.ok {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #065f46;
}
.alert.err {
  background: #fef2f2;
  border-color: #fecaca;
  color: #7f1d1d;
}
.alert.info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e3a8a;
}

.kv {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px 10px;
  font-size: 12px;
  color: #475569;
  margin-top: 10px;
}
.kv .k {
  color: #0f172a;
}
code {
  padding: 1px 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}

.footer {
  padding: 10px 14px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  background: #fafafa;
  border-top: 1px solid var(--border);
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.support-line {
  margin: 0 0 18px;
  color: var(--muted);
}

.support-line a {
  color: var(--accent);
}

.support-line a:hover {
  color: #005f99;
}

.terms-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #e2e8f0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.terms-trigger:hover {
  background: #cbd5e1;
  border-color: #94a3b8;
  text-decoration: none;
}

.terms-trigger-wrap {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.terms-trigger:focus-visible,
.terms-close:focus-visible {
  outline: 3px solid rgba(100, 116, 139, 0.25);
  outline-offset: 2px;
}

.terms-modal[hidden] {
  display: none;
}

.terms-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 200;
}

.terms-dialog {
  width: min(100%, 820px);
  max-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

.terms-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--border);
}

.terms-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.terms-content {
  flex: 1;
  min-height: 0;
  background: #f8fafc;
}

.terms-frame {
  width: 100%;
  height: min(70vh, 620px);
  border: 0;
  background: #ffffff;
}

.terms-close {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.terms-fallback {
  margin: 0;
  padding: 14px 22px 18px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: #ffffff;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .terms-modal {
    padding: 12px;
  }

  .terms-dialog {
    max-height: 92vh;
    border-radius: 16px;
  }

  .terms-header {
    flex-direction: column;
    align-items: stretch;
  }

  .terms-close {
    width: 100%;
  }

  .terms-frame {
    height: 62vh;
  }
}

``` css :root {
  --bg: #0b1220;
  --card: #0f172a;
  --muted: #94a3b8;
  --ok: #10b981;
  --err: #ef4444;
  --accent: #38bdf8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    Noto Sans, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", sans-serif;
  color: #e5e7eb;
}
.wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px;
}
header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 20px;
}
header .logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: url("/images/nassau_port_logo.png") center/contain no-repeat;
}
header h1 {
  font-size: 22px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 780px) {
  .grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.info {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(148, 163, 184, 0.06);
  color: #cbd5e1;
  gap: 6px;
  align-items: center;
}
.list {
  margin: 10px 0 0 0;
  padding-left: 18px;
  color: #cbd5e1;
}

.price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.small {
  font-size: 12px;
  color: var(--muted);
}

.divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(148, 163, 184, 0.25),
    transparent
  );
  margin: 14px 0;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alert {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  display: none;
}
.alert.ok {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #d1fae5;
}
.alert.err {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fecaca;
}
.alert.info {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #bae6fd;
}

.kv {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 6px 12px;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 8px;
}
.kv .k {
  color: #cbd5e1;
}
code {
  padding: 2px 6px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
}

footer {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
