:root{
  --navy:#0A1F44;
  --teal:#00A4A6;
  --bg:#0f172a;         /* deep slate for app-like background */
  --ink:#0e1420;
  --card-bg:#ffffff;
}

/* Global reset-ish */
*{ box-sizing:border-box; }

body{
  margin:0;
  font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:radial-gradient(circle at top,#1e293b 0,#020617 55%);
  min-height:100vh;
}

/* Top bar */
.site-header{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 14px;
  background:#ffffff;
  border-bottom:1px solid #e5e7eb;
}

/* Logo + brand */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo{
  height:44px;
  width:auto;
  border-radius:10px;
  object-fit:contain;
}

.brand-text{
  display:flex;
  flex-direction:column;
}

.brand-name{
  font-weight:700;
  font-size:18px;
  color:var(--navy);
}

.brand-tagline{
  font-size:12px;
  color:#6b7280;
}

/* Nav links */
nav{
  display:flex;
  align-items:center;
  gap:8px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:8px;
}

.nav-link{
  text-decoration:none;
  font-size:14px;
  color:var(--navy);
  padding:6px 10px;
  border-radius:999px;
  border:1px solid transparent;
  line-height:1.2;
}

.nav-link:hover{
  background:#f3f4f6;
}

.nav-link.primary-link{
  background:var(--teal);
  color:#ffffff;
  border-color:var(--teal);
}

/* Page container */
.container{
  max-width:960px;
  margin:18px auto 24px;
  padding:0 12px 32px;
}

/* Generic card */
.card{
  background:var(--card-bg);
  border-radius:16px;
  border:1px solid rgba(148,163,184,0.35);
  padding:14px;
  margin-bottom:14px;
  box-shadow:0 8px 24px rgba(15,23,42,0.18);
}

/* Trip cards / key surfaces can opt-in to this */
.trip-card{
  border-radius:18px;
  padding:16px;
}

/* Form elements */
input,select,button,textarea{
  width:100%;
  padding:10px;
  border:1px solid #d1d5db;
  border-radius:10px;
  font:inherit;
  background:#ffffff;
}

input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:var(--teal);
  box-shadow:0 0 0 1px rgba(0,164,166,0.5);
}

label{
  font-size:14px;
  color:#374151;
  margin-top:8px;
  display:block;
}

button.primary{
  background:var(--navy);
  color:#fff;
  border:0;
  cursor:pointer;
  border-radius:10px;
  padding:10px 14px;
}

button.primary:hover{
  filter:brightness(1.05);
}

/* Utility layouts */
.flex{
  display:flex;
  gap:12px;
}

.row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.col-6{
  flex:1 1 48%;
}

.small{
  color:#6b7280;
  font-size:12px;
}

/* Chat styles */
.chat-box{
  height:360px;
  overflow-y:auto;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:12px;
  background:#f9fafb;
}

.msg{
  padding:8px 10px;
  border-radius:12px;
  margin:6px 0;
  background:#e5e7eb;
  font-size:14px;
}

.msg.me{
  background:#e0f7f8;
}

/* Itinerary chip buttons */
.btn-small{
  background:var(--navy);
  color:#fff;
  border:none;
  border-radius:999px;
  padding:6px 12px;
  font-size:13px;
  cursor:pointer;
}

.btn-small:hover{
  filter:brightness(1.07);
}

/* Pills in itinerary actions */
.btn-pill{
  background:#e5e7eb;
  color:#111827;
  border:none;
  border-radius:999px;
  padding:4px 10px;
  font-size:12px;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
}

.btn-pill:hover{
  filter:brightness(0.95);
}

.btn-pill-danger{
  background:#b91c1c;
  color:#fff;
}

/* Mobile-first tweaks */
@media (max-width: 768px){
  body{
    font-size:15px;
  }

  .site-header{
    padding:8px 12px;
  }

  .logo{
    height:40px;
  }

  .brand-name{
    font-size:16px;
  }

  .brand-tagline{
    font-size:11px;
  }

  /* Nav becomes more “app-y” pills and can wrap */
  nav{
    max-width:55%;
    justify-content:flex-end;
  }

  .nav-links{
    flex-wrap:wrap;
    justify-content:flex-end;
  }

  .nav-link{
    font-size:13px;
    padding:6px 9px;
  }

  .container{
    max-width:100%;
    margin-top:16px;
    padding:0 10px 28px;
  }

  .card{
    border-radius:18px;
    padding:13px;
    margin-bottom:12px;
  }

  .trip-card{
    padding:15px;
  }

  .row{
    flex-direction:column;
  }

  .col-6{
    flex:1 1 100%;
  }

  .chat-box{
    height:260px;
  }
}

/* Larger screens can breathe a bit more */
@media (min-width: 1024px){
  .container{
    max-width:1040px;
  }
}
