:root {
  --green: #bddc08;
  --green-light: #cce830;
  --green-dark: #9ab506;
  --bg: #e8e8e8;
  --white: #ffffff;
  --text: #111111;
  --muted: #555555;
  --border: #cccccc;
  --border-dark: #aaaaaa;
  --shadow: 0 3px 14px rgba(0,0,0,0.13);
  --radius: 12px;
}

.cc-wrap * { box-sizing: border-box; }

.cc-wrap {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  padding: 20px;
  border-radius: var(--radius);
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Destination tabs ── */
.cc-dest-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.cc-dest-tabs button {
  flex: 1;
  padding: 14px 20px;
  border: 2.5px solid var(--border-dark);
  background: white;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--muted);
  letter-spacing: 0.2px;
}

.cc-dest-tabs button.active {
  background: var(--green);
  border-color: var(--green-dark);
  color: #111;
  box-shadow: 0 2px 8px rgba(154,181,6,0.4);
}

.cc-dest-tabs button:not(.active):hover {
  border-color: var(--green-dark);
  color: #333;
  background: #f8fce0;
}

/* ── Grid layout ── */
.cc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .cc-grid { grid-template-columns: 1fr; }
}

/* ── Cards ── */
.cc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}

.cc-card-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #333;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2.5px solid var(--green);
}

/* ── Form fields ── */
.cc-field { margin-bottom: 13px; }

.cc-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #444;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.cc-select, .cc-input {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--border-dark);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: #fafafa;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: auto;
}

.cc-select:focus, .cc-input:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(154,181,6,0.18);
  background: white;
}

/* ── City search dropdown ── */
.cc-city-wrapper { position: relative; }

.cc-city-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: white;
  border: 2px solid var(--green-dark);
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.cc-city-dropdown.open { display: block; }

.cc-city-item {
  padding: 9px 13px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid #eeeeee;
  transition: background 0.1s;
  color: var(--text);
}

.cc-city-item:hover, .cc-city-item.selected {
  background: #f3fac0;
  color: #2a3300;
  font-weight: 700;
}

.cc-city-item:last-child { border-bottom: none; }

/* ── Result rows ── */
.cc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
}

.cc-row:last-child { border-bottom: none; }

.cc-row-label {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  flex: 1;
  line-height: 1.3;
}

.cc-row-label small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}

.cc-row-value {
  font-size: 15px;
  font-weight: 800;
  color: #111;
  white-space: nowrap;
  margin-left: 12px;
}

.cc-row-value.orange { color: #5a7000; }
.cc-row-value.muted  { color: var(--muted); font-weight: 500; font-size: 13px; }

.cc-unavailable { color: #cc0000; font-size: 12px; font-style: italic; font-weight: 600; }

/* ── Insurance toggle ── */
.cc-insurance-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid #e5e5e5;
  margin-top: 4px;
}

.cc-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #222;
  flex: 1;
}

.cc-checkbox-label input[type="checkbox"] {
  width: 17px; height: 17px;
  accent-color: var(--green-dark);
  cursor: pointer;
}

/* ── Total bar ── */
.cc-total-bar {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 5px 18px rgba(154,181,6,0.4);
  border: 2px solid var(--green-dark);
}

.cc-total-label {
  font-size: 16px;
  font-weight: 700;
  color: #1a2000;
}

.cc-total-value {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #1a2000;
}

/* ── Warning ── */
.cc-warning {
  background: #fff8e1;
  border: 1.5px solid #e6b800;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 600;
  color: #5a4200;
  margin-top: 8px;
}

/* ── Notes ── */
.cc-notes {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  margin-top: 14px;
  line-height: 1.6;
}

/* ── Customs base summary row ── */
.cc-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 0;
}

.cc-customs-base {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
}
