:root {
  --orange: #f97316;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --gray-900: #111827;
}

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

body {
  font-family: system-ui, -apple-system, "Inter", Roboto, Arial, sans-serif;
  color:#111827;
  background:#ffffff;
  line-height:1.6;
}

img, video { max-width:100%; display:block; }

main {
  padding:110px 0 40px; /* space for fixed header */
}

/* FULL-WIDTH CONTAINER WITH SMALL SIDE MARGINS */
.container {
  width:100%;
  margin:0 auto;
  padding:0 40px;
}

@media (max-width:1024px) {
  .container {
    padding:0 20px;
  }
}

/* ================= HERO (top text – hidden after login) ================= */
.hero {
  text-align:center;
  margin-bottom:24px;
}

.hero-kicker {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:600;
  color:#9ca3af;
  margin-bottom:8px;
}

.hero-title {
  font-size:clamp(26px,3vw,32px);
  font-weight:800;
  color:#111827;
  margin-bottom:8px;
}

.hero-sub {
  max-width:640px;
  margin:0 auto;
  font-size:14px;
  color:#4b5563;
}

.hero-meta {
  margin-top:6px;
  font-size:12px;
  color:#9ca3af;
}

/* ================= LOGIN WRAPPER ================= */
.login-wrapper {
  margin-top:20px;
  margin-bottom:26px;
  display:flex;
  justify-content:center;
}

.login-card {
  width:100%;
  max-width:520px;
  background:#ffffff;
  border-radius:24px;
  border:1px solid #e5e7eb;
  box-shadow:0 25px 60px rgba(15,23,42,0.12);
  padding:26px 26px 22px;
  text-align:left;
}

.login-label {
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:#9ca3af;
  font-weight:600;
  margin-bottom:6px;
}

.login-title-main {
  font-size:18px;
  font-weight:700;
  color:#111827;
  margin-bottom:6px;
}

.login-text {
  font-size:13px;
  color:#6b7280;
  margin-bottom:16px;
}

.login-error {
  margin-bottom:10px;
  font-size:13px;
  color:#b91c1c;
  display:none;
}

.login-grid {
  display:flex;
  flex-direction:column;
  gap:10px;
  font-size:14px;
}

.form-field {
  display:flex;
  flex-direction:column;
  gap:4px;
}

label span {
  margin-right:4px;
}

label {
  font-size:13px;
  font-weight:600;
  color:#374151;
}

.input {
  border-radius:8px;
  border:1px solid #d1d5db;
  padding:8px 10px;
  font-size:14px;
  font-family:inherit;
  background:#f9fafb;
  color:#111827;
  transition:border-color .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.input:focus {
  outline:none;
  border-color:#2563eb;
  box-shadow:0 0 0 1px rgba(37,99,235,0.25);
  background:#ffffff;
}

.login-footer-row {
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:12px;
  color:#6b7280;
}

.login-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  justify-content:flex-end;
}

.checkbox-row {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#6b7280;
}

.checkbox-row input {
  width:14px;
  height:14px;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:9px 18px;
  border-radius:999px;
  border:1px solid transparent;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  transition:transform .06s ease, box-shadow .06s ease, background-color .12s ease, border-color .12s ease;
  white-space:nowrap;
}

.btn-primary {
  background:#f97316;
  color:#ffffff;
  border-color:#f97316;
  box-shadow:0 10px 24px rgba(249,115,22,0.35);
}

.btn-primary:hover {
  background:#ea580c;
  border-color:#ea580c;
  box-shadow:0 12px 28px rgba(234,88,12,0.5);
  transform:translateY(-1px);
}

.btn-ghost {
  background:#f9fafb;
  color:#374151;
  border-color:#e5e7eb;
}

.btn-ghost:hover {
  background:#e5e7eb;
}

.login-meta-small {
  margin-top:12px;
  font-size:12px;
  color:#9ca3af;
}

.login-meta-small strong { color:#6b7280; }

/* ================= PORTAL BAND / HEADER AFTER LOGIN ================= */
.portal-band {
  background:#f9fafb;
  border-top:1px solid #e5e7eb;
  border-bottom:1px solid #e5e7eb;
  padding:24px 0 32px;
  margin-top:8px;
}

/* no box/frame – just centered text + buttons */
.portal-card {
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0 0 24px;
  margin-bottom:8px;
}

.portal-header-toprow {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:4px;
  text-align:center;
}

.portal-header-title {
  font-size:18px;
  font-weight:700;
  color:#111827;
  margin-bottom:4px;
}

.portal-header-sub {
  font-size:13px;
  color:#4b5563;
}

.hotel-pill {
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  border:1px solid #dbeafe;
}

.portal-header-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  justify-content:center;
}

/* ================= 70% / 30% GRID WITH BOOKING FORM + UPCOMING ================= */
.portal-grid {
  display:grid;
  grid-template-columns:65% 30%;
  gap:88px;
  margin-bottom:80px;
  align-items:start;
}

@media (max-width:1200px) {
  .portal-grid {
    grid-template-columns:1fr;
    gap:40px;
  }
}

.booking-section {
  background:transparent;
  padding:0;
  margin:0;
  border:none;
  box-shadow:none;
  border-radius:0;
}

.embed-surface {
  all:unset;
  display:block;
  width:100%;
  min-height:680px;
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0;
  margin:0;
}

/* Force embed to match home page, no frame */
#taxi-embed,
#taxi-embed > div,
#taxi-embed iframe {
  all:unset !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:680px !important;
  border:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  background:transparent !important;
}

.upcoming-section {
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  padding-right:16px; /* so cards don't touch right edge */
}

.upcoming-section h2 {
  font-size:24px;
  font-weight:800;
  margin-bottom:32px;
  text-align:center;
  width:100%;
  position:relative;
  padding-bottom:12px;
}

.upcoming-section h2::after {
  content:'';
  position:absolute;
  bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:60px;
  height:3px;
  background:var(--orange);
  border-radius:2px;
}

.upcoming-content {
  width:100%;
}

.upcoming-card {
  background:white;
  border-radius:24px;
  padding:28px;
  margin-bottom:24px;
  box-shadow:0 12px 40px rgba(15,23,42,0.08);
  border:1px solid var(--gray-200);
  transition:transform 0.2s, box-shadow 0.2s;
}

.upcoming-card:hover {
  transform:translateY(-2px);
  box-shadow:0 16px 48px rgba(15,23,42,0.12);
}

.upcoming-time {
  font-size:20px;
  font-weight:800;
  color:var(--orange);
  margin-bottom:12px;
  display:flex;
  align-items:center;
  gap:10px;
}

.upcoming-time::before {
  content:'🕒';
  font-size:18px;
}

.upcoming-guest {
  font-size:17px;
  font-weight:700;
  margin-bottom:16px;
  display:flex;
  align-items:center;
  gap:10px;
}

.upcoming-guest::before {
  content:'👤';
  font-size:16px;
}

.upcoming-route {
  font-size:15px;
  color:var(--gray-600);
  margin-bottom:8px;
  display:flex;
  align-items:flex-start;
  gap:10px;
  line-height:1.5;
}

.upcoming-route strong {
  color:var(--gray-900);
  min-width:40px;
}

.upcoming-route.from::before {
  content:'📍';
  font-size:14px;
}

.upcoming-route.to::before {
  content:'🏁';
  font-size:14px;
}

.upcoming-status {
  margin-top:20px;
  padding:10px 18px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  display:inline-block;
  background:linear-gradient(135deg,#fef3c7,#fde68a);
  color:#92400e;
  border:1px solid #fde68a;
  text-align:center;
  width:100%;
}

.no-upcoming {
  text-align:center;
  padding:60px 20px;
  color:#9ca3af;
  font-style:italic;
  background:var(--gray-50);
  border-radius:20px;
  border:1px dashed var(--gray-200);
}

.no-upcoming::before {
  content:'📅';
  display:block;
  font-size:40px;
  margin-bottom:16px;
  opacity:0.5;
}

/* ================= RECENT BOOKINGS (bottom table) ================= */
.recent-bookings {
  background:white;
  border-radius:32px;
  padding:48px 40px;
  box-shadow:0 20px 80px rgba(15,23,42,0.12);
  border:1px solid var(--gray-200);
}

.recent-bookings h2 {
  font-size:28px;
  font-weight:800;
  text-align:center;
  margin-bottom:12px;
}

.recent-bookings p {
  text-align:center;
  color:var(--gray-600);
  margin-bottom:40px;
  font-size:16px;
}

.filters-bar {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:40px;
  font-size:14px;
}

.filters-bar select,
.filters-bar input[type="date"] {
  padding:12px 18px;
  border-radius:16px;
  border:1.5px solid #d1d5db;
  font-size:15px;
}

.btn-filter {
  padding:12px 24px;
  background:var(--orange);
  color:white;
  border:none;
  border-radius:16px;
  font-weight:600;
  cursor:pointer;
  transition:background 0.2s;
}

.btn-filter:hover {
  background:#ea580c;
}

table {
  width:100%;
  border-collapse:collapse;
  font-size:15.5px;
}

thead {
  background:var(--gray-50);
  font-size:12.5px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--gray-600);
}

th, td {
  padding:20px 16px;
  text-align:left;
}

tbody tr {
  border-bottom:1px solid var(--gray-200);
  transition:background 0.2s;
}

tbody tr:hover {
  background:#fffbeb;
}

.status-pill {
  padding:8px 16px;
  border-radius:999px;
  font-weight:700;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.status-done { background:#dcfce7; color:#166534; }
.status-pending { background:#fef3c7; color:#92400e; }
.status-cancelled { background:#fee2e2; color:#b91c1c; }

.empty-row td {
  text-align:left;
  font-style:italic;
  color:#9ca3af;
}

@media (max-width:800px) {
  main { padding-top:100px; }
  .login-card { padding:20px 18px 18px; border-radius:20px; }
  .portal-band { padding:20px 0 26px; }
  .portal-card { padding:0 0 20px; }
  .portal-header-toprow { flex-direction:column; align-items:center; text-align:center; }
  .portal-header-actions { justify-content:center; }
  .recent-bookings { padding:32px 20px; }
}
