@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  font-family: 'Inter', system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background-color: #f8fafc;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}

button:hover {
  border-color: #646cff;
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }

  a:hover {
    color: #747bff;
  }

  button {
    background-color: #f9f9f9;
  }
}

/* Responsive Utilities */

.cash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

@media (max-width: 640px) {
  .cash-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .mobile-font-reduce {
    font-size: 1.8rem !important;
  }
}.nm-site {
  --nm-marinho: #0B2545;
  --nm-marinho-profundo: #071A33;
  --nm-onda-1: #1E4A73;
  --nm-onda-2: #173C61;
  --nm-verde: #0E6E78;
  --nm-verde-escuro: #0A4F57;
  --nm-verde-claro: #EAF5F5;
  --nm-latao: #E2C27A;
  --nm-latao-escuro: #8A6A2E;
  --nm-areia: #F7F5F0;
  --nm-areia-escura: #F0EBE0;
  --nm-borda: #E3DFD4;
  --nm-borda-campo: #CBD5E1;
  --nm-texto: #0B2545;
  --nm-texto-sec: #4A5A6E;
  --nm-texto-ter: #5B6B7F;
  --nm-sucesso: #0A6B4F;
  --nm-aviso-bg: #FFF6E5;
  --nm-aviso-txt: #7A5410;

  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--nm-texto);
  background-color: var(--nm-areia);
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  line-height: 1.5;
  font-size: 16px;
}

.nm-site *,
.nm-site *::before,
.nm-site *::after {
  box-sizing: border-box;
}

.nm-site .nm-serif {
  font-family: 'Fraunces', Georgia, serif;
}

.nm-site .nm-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.nm-site .nm-header {
  background-color: var(--nm-marinho);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nm-site .nm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.nm-site .nm-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  text-decoration: none;
}

.nm-site .nm-brand-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.nm-site .nm-brand-sub {
  font-size: 12px;
  color: var(--nm-latao);
  font-weight: 500;
}

.nm-site .nm-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.nm-site .nm-nav-link {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s;
}

.nm-site .nm-nav-link:hover {
  color: var(--nm-latao);
}

.nm-site .nm-wa-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--nm-latao);
  border-radius: 999px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nm-site .nm-wa-header:hover {
  background: rgba(226, 194, 122, 0.12);
}

/* Hero */
.nm-site .nm-hero {
  background-color: var(--nm-marinho);
  color: #FFFFFF;
  position: relative;
  padding: 32px 0 48px;
  overflow: hidden;
}

.nm-site .nm-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 44px;
  pointer-events: none;
}

.nm-site .nm-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.nm-site .nm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 194, 122, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--nm-latao);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.nm-site .nm-hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #FFFFFF;
}

.nm-site .nm-hero-sub {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 20px;
  max-width: 540px;
}

.nm-site .nm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.nm-site .nm-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Search Card */
.nm-site .nm-search-card {
  background: #FFFFFF;
  color: var(--nm-texto);
  border-radius: 16px;
  border: 1px solid var(--nm-borda);
  padding: 20px;
  box-shadow: 0 16px 36px rgba(7, 26, 51, 0.25);
}

.nm-site .nm-search-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--nm-marinho);
}

.nm-site .nm-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #EEF2F6;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 16px;
}

.nm-site .nm-seg-btn {
  min-height: 44px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--nm-texto-sec);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 10px;
  transition: background-color 0.15s, color 0.15s;
}

.nm-site .nm-seg-btn.is-active {
  background: var(--nm-marinho);
  color: #FFFFFF;
}

.nm-site .nm-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.nm-site .nm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.nm-site .nm-field-row .nm-field {
  margin-bottom: 0;
}

.nm-site .nm-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--nm-texto-sec);
}

.nm-site .nm-input,
.nm-site .nm-select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--nm-borda-campo);
  border-radius: 10px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--nm-texto);
  background: #FFFFFF;
}

.nm-site .nm-qty-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  border: 1px solid var(--nm-borda-campo);
  border-radius: 10px;
  padding: 0 6px;
  background: #FFFFFF;
}

.nm-site .nm-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: #EEF2F6;
  color: var(--nm-marinho);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nm-site .nm-qty-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.nm-site .nm-qty-val {
  font-weight: 700;
  font-size: 15px;
  color: var(--nm-texto);
}

.nm-site .nm-btn-primary {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 12px;
  background: var(--nm-verde);
  color: #FFFFFF;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.15s;
}

.nm-site .nm-btn-primary:hover {
  background: var(--nm-verde-escuro);
}

.nm-site .nm-vehicle-note {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--nm-aviso-bg);
  color: var(--nm-aviso-txt);
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Sections */
.nm-site .nm-section {
  padding: 44px 0;
}

.nm-site .nm-section-alt {
  background-color: var(--nm-areia-escura);
}

.nm-site .nm-section-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nm-latao-escuro);
  margin: 0 0 6px;
}

.nm-site .nm-section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--nm-marinho);
}

.nm-site .nm-section-sub {
  font-size: 15px;
  color: var(--nm-texto-sec);
  margin: 0 0 24px;
}

.nm-site .nm-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.nm-site .nm-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.nm-site .nm-card {
  background: #FFFFFF;
  border: 1px solid var(--nm-borda);
  border-radius: 16px;
  padding: 20px;
}

.nm-site .nm-time-big {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--nm-marinho);
  margin: 8px 0 4px;
}

.nm-site .nm-price-big {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--nm-verde);
  margin: 8px 0 4px;
}

.nm-site .nm-step-num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--nm-verde-claro);
  color: var(--nm-verde);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.nm-site .nm-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--nm-verde);
  color: var(--nm-verde);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 12px;
}

.nm-site .nm-btn-outline:hover {
  background: var(--nm-verde-claro);
}

.nm-site .nm-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--nm-borda);
  border-radius: 12px;
  padding: 16px 20px;
}

.nm-site .nm-faq-q {
  font-weight: 700;
  font-size: 15px;
  color: var(--nm-marinho);
  margin: 0 0 6px;
}

.nm-site .nm-faq-a {
  font-size: 14px;
  color: var(--nm-texto-sec);
  margin: 0;
}

/* Footer */
.nm-site .nm-footer {
  background: var(--nm-marinho-profundo);
  color: rgba(255, 255, 255, 0.8);
  padding: 36px 0;
  font-size: 13px;
}

.nm-site .nm-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 900px) {
  .nm-site .nm-nav {
    display: flex;
  }

  .nm-site .nm-hero {
    padding: 52px 0 72px;
  }

  .nm-site .nm-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
  }

  .nm-site .nm-hero-title {
    font-size: 52px;
  }

  .nm-site .nm-grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .nm-site .nm-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .nm-site .nm-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.form-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background-color: #F7F5F0;
  color: #0B2545;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  border-radius: 16px;
  border: 1px solid #E3DFD4;
  box-shadow: 0 12px 32px rgba(11, 37, 69, 0.08);
  overflow: hidden;
  box-sizing: border-box;
}

.form-container *,
.form-container *::before,
.form-container *::after {
  box-sizing: border-box;
}

.form-container .wizard-header {
  background-color: #0B2545;
  color: #FFFFFF;
  padding: 20px 24px 24px;
}

.form-container .wizard-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.form-container .btn-back-wizard {
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(226, 194, 122, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-container .wizard-title h2 {
  margin: 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #FFFFFF;
}

.form-container .wizard-title p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #E2C27A;
}

.form-container .wizard-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.form-container .step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 4px solid #D9E0E8;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 600;
}

.form-container .step-indicator.active,
.form-container .step-indicator.completed {
  border-top-color: #0E6E78;
  color: #FFFFFF;
}

.form-container .step-number {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.form-container .step-indicator.active .step-number,
.form-container .step-indicator.completed .step-number {
  background: #0E6E78;
  color: #FFFFFF;
}

.form-container .wizard-body {
  padding: 24px;
}

.form-container .step-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-container .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-container .form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #4A5A6E;
}

.form-container .input-field {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  background: #FFFFFF;
  color: #0B2545;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
}

.form-container .direction-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: #EEF2F6;
  padding: 4px;
  border-radius: 12px;
}

.form-container .direction-btn {
  min-height: 44px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: #4A5A6E;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.form-container .direction-btn.active {
  background: #0B2545;
  color: #FFFFFF;
}

.form-container .trips-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-container .trip-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  min-height: 68px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.form-container .trip-card.selected {
  border: 2px solid #0E6E78;
  background: #EAF5F5;
}

.form-container .trip-time {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #0B2545;
  line-height: 1.1;
}

.form-container .trip-vessel {
  font-size: 13px;
  color: #4A5A6E;
  margin-top: 2px;
}

.form-container .trip-seats {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #EAF5F5;
  color: #0A6B4F;
}

.form-container .trip-seats.empty {
  background: #FEE2E2;
  color: #991B1B;
}

.form-container .summary-box,
.form-container .summary-total {
  background: #FFFFFF;
  border: 1px solid #E3DFD4;
  border-radius: 14px;
  padding: 16px;
}

.form-container .summary-row,
.form-container .summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}

.form-container .summary-row span:first-child,
.form-container .summary-total span:first-child {
  color: #5B6B7F;
  font-size: 14px;
}

.form-container .summary-row span:last-child,
.form-container .summary-row strong {
  color: #0B2545;
  font-weight: 700;
}

.form-container .summary-total {
  padding: 14px 16px;
  margin-top: 8px;
}

.form-container .summary-total span:last-child,
.form-container .summary-total strong {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #0E6E78;
}

.form-container .payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-container .payment-option {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  background: #FFFFFF;
  color: #0B2545;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.form-container .payment-option.selected {
  border: 2px solid #0E6E78;
  background: #EAF5F5;
}

.form-container .wizard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px 24px;
  border-top: 1px solid #E3DFD4;
  background: #FFFFFF;
}

.form-container .btn-primary,
.form-container .btn-secondary,
.form-container .wizard-footer .btn-next,
.form-container .wizard-footer .btn-confirm {
  min-height: 52px;
  padding: 0 20px;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-container .btn-primary,
.form-container .wizard-footer .btn-next,
.form-container .wizard-footer .btn-confirm {
  background-color: #0E6E78;
  color: #FFFFFF;
  flex: 1;
}

.form-container .btn-primary:hover:not(:disabled),
.form-container .wizard-footer .btn-next:hover:not(:disabled),
.form-container .wizard-footer .btn-confirm:hover:not(:disabled) {
  background-color: #0A4F57;
}

.form-container .btn-primary:disabled,
.form-container .wizard-footer .btn-next:disabled,
.form-container .wizard-footer .btn-confirm:disabled {
  background-color: #CBD5E1;
  color: #4A5A6E;
  cursor: not-allowed;
}

.form-container .btn-secondary {
  background: #0B2545;
  color: #FFFFFF;
}
/* Admin Premium Theme (Horizonte Light) */
/* Global Responsive Utilities */
.desktop-hidden {
    display: none !important;
}

.mobile-hidden {
    display: block !important;
}

.admin-container {
    display: flex;
    height: 100vh;
    background-color: #f8fafc;
    /* Slate 50 */
    font-family: 'Inter', sans-serif;
    color: #1e293b;
}

/* Sidebar - White Glass Style */
.admin-sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    color: #475569;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.02);
    z-index: 20;
}

.admin-brand {
    padding: 24px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    letter-spacing: -0.02em;
}

.admin-sidebar nav {
    padding: 16px;
}

.admin-sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-sidebar nav a {
    display: block;
    padding: 12px 16px;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.admin-sidebar nav a:hover {
    background-color: #f1f5f9;
    color: #0ea5e9;
    /* Sky Blue */
    transform: translateX(4px);
}

.admin-sidebar nav a.active {
    background-color: #e0f2fe;
    color: #0284c7;
}

/* Content Area */
.admin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f8fafc;
}

.admin-header {
    height: 70px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.admin-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.user-profile {
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.admin-page {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

/* Dashboard Cards (Premium) */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
}

.stat-card h3 {
    margin: 0 0 16px 0;
    color: #64748b;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.stat-card .value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.03em;
}

/* Tables */
.occupancy-table {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.occupancy-table th,
.occupancy-table td {
    padding: 20px 24px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.occupancy-table th {
    background-color: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.occupancy-table tr:last-child td {
    border-bottom: none;
}

/* Mobile Responsive */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1e293b;
    padding: 8px;
    border-radius: 8px;
}

.mobile-toggle:hover {
    background: #f1f5f9;
}

.sidebar-overlay {
    display: none;
}

@media (max-width: 768px) {
    .admin-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        bottom: 0;
        z-index: 1000;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .admin-sidebar.open {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .sidebar-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.2);
        backdrop-filter: blur(4px);
        z-index: 900;
    }

    /* Fix Header Overflow */
    .admin-header {
        padding: 0 15px;
        height: 60px;
    }

    .admin-header h2 {
        font-size: 1.1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
        /* Prevent title from pushing layout */
    }

    .admin-page {
        padding: 15px;
        /* Reduce padding on mobile */
    }

    .stat-card {
        padding: 20px;
        /* Compact cards */
    }

    .stat-card .value {
        font-size: 2rem;
    }

    /* Make table scrollable horizontally without breaking layout - Legacy Support */
    .occupancy-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* Modern Mobile Card Views (Replaces Tables) */
    .mobile-card-view {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .desktop-hidden {
        display: block !important;
        /* Show on mobile */
    }

    .mobile-hidden {
        display: none !important;
        /* Hide desktop elements on mobile */
    }

    .mobile-card {
        background: white;
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        border: 1px solid #f1f5f9;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 10px;
        margin-bottom: 5px;
        font-weight: 700;
        color: #1e293b;
    }

    .mobile-card-row {
        display: flex;
        justify-content: space-between;
        font-size: 0.9rem;
    }

    .mobile-card-label {
        color: #64748b;
    }

    .mobile-card-value {
        font-weight: 500;
        color: #334155;
        text-align: right;
    }

    .mobile-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 10px;
    }

    .mobile-actions button {
        padding: 12px;
        font-size: 1rem;
        justify-content: center;
    }

    /* POS Mobile Adjustments */
    .pos-grid {
        grid-template-columns: 1fr !important;
    }

    .pos-modal {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        border-radius: 0 !important;
        display: flex;
        flex-direction: column;
    }

    .pos-modal-content {
        flex: 1;
        overflow-y: auto;
    }

    /* Trip Management Mobile Adjustments */
    .trip-controls-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        /* Reset desktop's flex-end */
        gap: 15px;
        padding: 15px;
        /* Reduce padding for more space */
    }

    .trip-actions {
        display: flex;
        flex-wrap: wrap;
        /* Allow buttons to wrap if needed */
        gap: 10px;
        margin-top: 10px;
        margin-left: 0 !important;
        /* Override desktop margin-left: auto */
        width: 100%;
    }

    .trip-actions>* {
        flex: 1;
        /* Buttons grow to fill space */
        min-width: 100px;
        /* Prevent being too small */
    }

    /* Further adjust header for iPhone overlap issue */
    .admin-header {
        padding: 0 10px;
        /* Tighter padding */
        gap: 5px;
        /* Reduce gap between elements */
    }

    .user-profile {
        padding: 4px 8px;
        /* Smaller badge */
        font-size: 0.75rem;
        max-width: 90px;
        /* Force truncate earlier */
    }
}

/* Desktop styles for Trip Management controls (Default) */
.trip-controls-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    align-items: flex-end;
}

.trip-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

/* Vehicle Management Cards (Premium Polish) */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.vehicle-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vehicle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.vehicle-card-header {
    padding: 20px 24px;
    background: linear-gradient(to right, #ffffff, #f8fafc);
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vehicle-card-title {
    margin: 0;
    color: #1e293b;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.vehicle-price-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vehicle-base-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.vehicle-base-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #10b981;
    letter-spacing: -0.03em;
}

.btn-icon-edit {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    margin-left: 8px;
}

.btn-icon-edit:hover {
    background: #f0f9ff;
    color: #0284c7;
    border-color: #bae6fd;
    transform: rotate(15deg);
}

.vehicle-actions-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 12px;
}

.btn-icon-delete {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #fee2e2;
    background: white;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    opacity: 0.6;
}

.btn-icon-delete:hover {
    background: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5;
    opacity: 1;
    transform: scale(1.05);
}

.vehicle-models-section {
    padding: 24px;
    flex: 1;
    background: #ffffff;
}

.vehicle-section-title {
    margin: 0 0 16px 0;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.vehicle-models-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 8px;
    /* Space for scrollbar */
    align-content: flex-start;
}

/* Custom Scrollbar for better UI */
.vehicle-models-list::-webkit-scrollbar {
    width: 6px;
}

.vehicle-models-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.vehicle-models-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.vehicle-models-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.vehicle-badge {
    background: #f8fafc;
    color: #475569;
    padding: 8px 16px;
    border-radius: 9999px;
    /* Pill shape */
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.vehicle-badge:hover {
    background: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
    transform: translateY(-1px);
}
.trip-management-container {
    padding: 20px;
    background-color: #f8fafc;
    min-height: calc(100vh - 80px); /* Adjust based on header height */
}

.trip-management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.trip-management-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.trip-controls-bar {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.trip-control-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.trip-control-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.trip-control-input {
    width: 100%;
    padding: 0.625rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #334155;
    background-color: white;
    transition: all 0.2s;
}

.trip-control-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.trip-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: #64748b;
    color: white;
}

.btn-secondary:hover {
    background-color: #475569;
}

.btn-accent {
    background-color: #ec4899;
    color: white;
}

.btn-accent:hover {
    background-color: #db2777;
}

/* Table Styles */
.trips-table-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow-x: auto;
}

.trips-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
}

.trips-table th {
    background-color: #f8fafc;
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
    letter-spacing: 0.05em;
}

.trips-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 0.95rem;
    vertical-align: middle;
}

.trips-table tr:last-child td {
    border-bottom: none;
}

.trips-table tr:hover td {
    background-color: #f8fafc;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.status-scheduled {
    background-color: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Action Buttons in Table */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 6px;
}

.btn-icon {
    background-color: #f1f5f9;
    color: #475569;
}

.btn-icon:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.btn-edit {
    background-color: #f59e0b;
    color: white;
}

.btn-edit:hover {
    background-color: #d97706;
}

.btn-cancel {
    background-color: white;
    color: #ef4444;
    border: 1px solid #ef4444;
}

.btn-cancel:hover {
    background-color: #fef2f2;
}

.btn-delete {
    background-color: transparent;
    color: #991b1b;
}

.btn-delete:hover {
    text-decoration: underline;
    background-color: transparent;
}

/* Mobile Responsive Cards */
.mobile-card-view {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.mobile-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.mobile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-card-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.mobile-card-label {
    color: #64748b;
}

.mobile-card-value {
    font-weight: 500;
    color: #1e293b;
}

.mobile-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .trips-table-container {
        display: none;
    }
    
    .mobile-card-view {
        display: flex;
    }

    .trip-controls-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .trip-actions {
        flex-direction: column;
    }
    
    .trip-actions > * {
        width: 100%;
        text-align: center;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    backdrop-filter: blur(2px);
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.25rem;
    color: #1e293b;
    margin: 0;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-actions button {
    flex: 1;
}
