@charset "utf-8";
/* CSS Document */

:root {
  --primary: #1A849E;
  --secondary: #133C75;
  --accent: #C24235;
  --text: #444444;
  --muted: #6b7280;
  --border: #E0E0E0;
  --surface: #FFFFFF;
  --radius-card: 24px;
  --radius: 12px;
  --btn-radius: 30px;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
}

html, body { height:100%; }
body {
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  min-height:100svh;
  display:grid;
  place-items:center;
  padding:10px 10px;
}

.card {
  width:min(100%, 980px);
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-card);
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns: 1.05fr .95fr; /* form a bit wider */
  overflow:hidden;
}

/* RIGHT SIDE (image/info) */
.side {
  position: relative;
  color:#fff;
  padding:48px 40px;
  display:flex; flex-direction:column; justify-content:space-between;
  background:
    linear-gradient(180deg, rgba(19,60,117,.50), rgba(19,60,117,.50)),
    url('/images/travel1.jpg')
    center/cover no-repeat;
}
.sidehp {
  position: relative;
  color:#fff;
  padding:48px 40px;
  display:flex; flex-direction:column; justify-content:space-between;
  background:
    linear-gradient(180deg, rgba(19,60,117,.50), rgba(19,60,117,.50)),
    url('/images/hp1.jpg')
    center/cover no-repeat;
}
.side h2 {
  margin:0 0 8px; font-size: clamp(22px, 2vw, 28px); line-height:1.3; letter-spacing:-.02em;
}
.side-list { margin:0; padding:0; list-style:none; display:grid; gap:10px; }
.side-list li { display:flex; gap:10px; align-items:flex-start; }
.side-list svg { width:16px; height:16px; margin-top:4px; }
.side a { color:#fff; text-decoration:underline; }

/* LEFT SIDE (form) */
.main { padding:48px 40px; }
.brand {
  display:flex; align-items:center; gap:12px; margin-bottom:24px;
  font-weight:700; color:var(--secondary); letter-spacing:-.02em;
}
.brand .logo {
  width:42px; height:42px; border-radius:12px;
  background: linear-gradient(145deg, var(--secondary), var(--primary));
  display:grid; place-items:center; color:#fff;
}
.brand .logo svg { width:18px; height:18px; }

h1 {
  margin:0 0 10px;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height:1.25;
  letter-spacing:-.02em;
  color:var(--accent);
}
.sub { margin:0 0 24px; color:var(--muted); }

form { display:grid; gap:16px; }

.field { display:grid; gap:8px; }
.field label { font-weight:600; font-size:14px; color:var(--secondary); letter-spacing:-.01em; }

/* --- Unified control & icons (grid overlay) --- */
.control {
  position: relative;
  width: 100%;
  display: grid; /* overlay children */
}

.ctl-icon {
  grid-area: 1 / 1;
  justify-self: start;
  align-self: center;
  margin-left: 14px;
  width: 18px; height: 18px;
  opacity: .65;
  pointer-events: none;
  z-index: 1;
}

/* Inputs */
.control input {
  grid-area: 1 / 1;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 44px; /* room for icons */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 16px;
  font-family: inherit;		
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.control input:focus {
  border-color: rgba(26,132,158,.6);
  box-shadow: 0 0 0 4px rgba(26,132,158,.08);
}

/* Textareas */
.control textarea {
  grid-area: 1 / 1;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-size: 16px;
  font-family: inherit;	
  line-height: 1.4;
  min-height: 60px;
  resize: vertical;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.control textarea:focus {
  border-color: rgba(26,132,158,.6);
  box-shadow: 0 0 0 4px rgba(26,132,158,.08);
}

/* Special tweak: top-align icon when used with textarea */
.control--textarea .ctl-icon {
  align-self: start;
  margin-top: 14px;
}

/* Dropdowns */
.control select {
  grid-area: 1 / 1;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 44px; /* same padding as inputs for icons */
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'><path d='M1.5 5l6 6 6-6'/></svg>") no-repeat right 14px center;
  background-size: 16px;
  font-size: 16px;
  font-family: inherit;
  appearance: none; /* remove native arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  color: var(--text);
}
.control select:focus {
  border-color: rgba(26,132,158,.6);
  box-shadow: 0 0 0 4px rgba(26,132,158,.08);
}


/* Toggle buttons (optional for password fields) */
.toggle {
  grid-area: 1 / 1;
  justify-self: end;
  align-self: center;
  margin-right: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  opacity: .8;
  z-index: 1;
}
.toggle svg { width: 18px; height: 18px; }

/* Row */
.row {
  display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:4px;
  font-size:14px; flex-wrap:wrap;
}
.row a { color:var(--primary); text-decoration:none; }
.row a:hover { text-decoration:underline; }

/* Button */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  width:100%;
  border-radius:var(--btn-radius);
  padding:16px 28px;
  font-weight:800;
  background:var(--secondary);
  color:#fff;
  border:1px solid var(--secondary);
  cursor:pointer;
  transition:transform .04s, background .15s, border-color .15s;
}
.btn:hover { background:#5FB5C0; border-color:#5FB5C0; }
.btn:active { transform:translateY(1px); }

.add-condition-btn {
  background-color: #4CAF50;   /* green - you can change this */
  color: white;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 8px;
  cursor: pointer;
}

.add-condition-btn:hover {
  background-color: #45a049;   /* darker on hover */
}

/* Note */
.note { margin-top:10px; font-size:14px; color:#666; }

/* Error state */
.has-error input,
.has-error textarea {
  border-color:#C24235;
}
.error-text {
  color:#C24235; font-size:13px; margin-top:6px; display:none;
}
.has-error .error-text { display:block; }

/* Responsive */
@media (max-width: 1024px){
  .card { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px){
  .card { grid-template-columns: 1fr; }
  .side {
    order:-1;
    padding:28px 20px;
    min-height: 220px;
  }
  .main { padding:28px 20px; }
  .btn { padding:15px 22px; }
  .control input,
  .control textarea { padding:13px 44px; }
}
@media (max-width: 420px){
  .row { gap:8px; }
  .brand .logo { width:38px; height:38px; }
}
@media (prefers-reduced-motion: reduce){
  * { transition:none !important; }
}

.chronic-condition {
	border:1px solid #eee; 
	padding:10px; 
	border-radius:6px; 
	margin-bottom:10px;
	background: #e5f2fd;
}

/* Neat stacked checkboxes */
.travellers-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.check-item {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #333;
}

.check-item input[type="checkbox"] {
  margin-right: 8px;
}