<style>
   /* HMP Travel Control Center — Core Styles (Navy/Blue Brand) */

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

:root {
  /* Core text + surfaces */
  --ink: #0f1117;
  --ink-2: #2c3140;
  --ink-3: #6b7280;
  --ink-4: #9ca3af;

  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --surface-3: #eef2f7;
  --border: #e3e8f1;

  /* HMP Navy System */
  --brand: #0b1b3a;        /* Primary header/nav */
  --brand-2: #142b57;      /* Slightly lighter */
  --brand-soft: #0f2147;

  /* Action Blue */
  --accent: #2b5be0;
  --accent-hover: #1f49c6;
  --accent-light: #e8efff;

  /* Status */
  --green: #0e8a5f;
  --green-bg: #e6f6ef;

  --amber: #b45309;
  --amber-bg: #fff7e6;

  --red: #c53030;
  --red-bg: #fdeaea;

  --radius: 12px;
  --radius-lg: 18px;

  --shadow: 0 2px 6px rgba(0,0,0,.05), 0 6px 18px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);

  --font: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'DM Serif Display', ui-serif, Georgia, "Times New Roman", Times, serif;
}

body {
  font-family: var(--font);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

/* Links */
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

/* Layout shells */
.admin-shell { min-height: 100vh; display: flex; flex-direction: column; }
.admin-body { display: flex; flex: 1; }
.admin-content { flex: 1; padding: 28px 32px; max-width: 1200px; width: 100%; }

/* Header */
.admin-header {
  background: var(--brand);
  color: #fff;
  padding: 0 28px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #162a54;
}

.brand {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -.01em;
  color: #fff;
}
.brand-product { color: #9db4ff; }

.admin-nav { display: flex; gap: 2px; }
.admin-nav a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  transition: all .15s;
}
.admin-nav a.active,
.admin-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.admin-header-right { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #6272f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

/* Page headers */
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 24px; flex-wrap: wrap; }
.page-title { font-size: 26px; font-weight: 650; letter-spacing: -.03em; line-height: 1; }
.page-title-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.card.pad { padding: 22px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #4d76f5 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(43,91,224,.18);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #3e66ec 100%);
}
.btn-secondary {
  background: var(--surface-3);
  color: var(--ink-2);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: #e6ecf6; }
.btn-ghost {
  background: transparent;
  color: var(--ink-3);
  padding: 6px 10px;
}
.btn-ghost:hover {
  background: var(--surface-3);
  color: var(--ink);
}
.btn-danger {
  background: #fee2e2;
  color: #b91c1c;
}
.btn-danger:hover { background: #fecaca; }
.btn-sm { padding: 6px 12px; font-size: 12px; border-radius: 7px; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.badge-available { background: var(--green-bg); color: var(--green); }
.badge-almost { background: var(--amber-bg); color: var(--amber); }
.badge-sold { background: var(--red-bg); color: var(--red); }
.badge-closed { background: #edf2f7; color: #4a5568; }
.badge-hide { background: #edf2f7; color: #718096; }
.badge-overdue { background: #fee2e2; color: #dc2626; font-size: 10px; padding: 2px 7px; }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
thead th {
  background: var(--surface-2);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
tbody tr:hover { background: var(--surface-2); }
tbody tr:last-child { border-bottom: none; }
td { padding: 12px 14px; vertical-align: middle; }

/* Inputs */
.input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,91,224,.12);
}
.label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.form-group { display: flex; flex-direction: column; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}

/* Alerts strip */
.alert-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.alert-banner.success { background: var(--green-bg); border-color: #c9efdf; color: #0b5d41; }
.alert-banner.error { background: var(--red-bg); border-color: #f6caca; color: #991b1b; }

/* Login layout */
.auth-wrap { min-height: 100vh; display:flex; align-items:center; justify-content:center; padding: 24px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-head { padding: 18px 22px; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.auth-body { padding: 22px; }
.auth-title { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.auth-sub { margin-top: 6px; color: var(--ink-3); font-size: 13px; }

/* Responsive */
@media (max-width: 800px) {
  .admin-content { padding: 20px 18px; }
  .form-grid { grid-template-columns: 1fr; }
}
  </style>