/* =========================================================
   Visit Cameroon – Tour Booking Form  v1.0.0
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Lato:wght@300;400;700&display=swap');

.vc-book-wrap {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Lato', sans-serif;
  background: #fff;
  border-radius: 18px;
  border: 1px solid #d6e4d0;
  overflow: hidden;
}

/* ── Progress Bar ── */
.vc-progress-bar {
  height: 4px;
  background: #e8f0e5;
}
.vc-progress-fill {
  height: 100%;
  background: #1e5c1e;
  transition: width 0.45s cubic-bezier(.4,0,.2,1);
  width: 25%;
}

/* ── Step Indicators ── */
.vc-step-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 20px 24px 4px;
  position: relative;
}
.vc-step-indicators::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 25%;
  right: 25%;
  height: 1px;
  background: #d6e4d0;
  z-index: 0;
}
.vc-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.vc-step-dot span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f0e5;
  border: 2px solid #c8ddc0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #8a9e8a;
  transition: all 0.25s;
}
.vc-step-dot em {
  font-size: 11px;
  font-style: normal;
  color: #8a9e8a;
  white-space: nowrap;
  font-weight: 400;
  transition: color 0.25s;
}
.vc-step-dot.active span {
  background: #1e5c1e;
  border-color: #1e5c1e;
  color: #fff;
}
.vc-step-dot.active em { color: #1e5c1e; font-weight: 700; }
.vc-step-dot.done span {
  background: #3d7a3d;
  border-color: #3d7a3d;
  color: #fff;
}
.vc-step-dot.done span::after { content: '✓'; }
.vc-step-dot.done span { font-size: 0; }
.vc-step-dot.done span::after { font-size: 12px; }

/* ── Form Body ── */
.vc-form-body {
  padding: 24px 28px 0;
}

.vc-step { display: none; }
.vc-step.active { display: block; }

/* ── Step Header ── */
.vc-step-header {
  text-align: center;
  margin-bottom: 22px;
}
.vc-step-icon { font-size: 32px; display: block; margin-bottom: 10px; }
.vc-step-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a2e1a;
  margin: 0 0 6px;
}
.vc-step-header p {
  font-size: 14px;
  color: #5a6b5a;
  margin: 0;
  font-weight: 300;
}

/* ── Checkbox Card Grid ── */
.vc-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 8px;
}
.vc-checkbox-grid::-webkit-scrollbar { width: 4px; }
.vc-checkbox-grid::-webkit-scrollbar-thumb { background: #c8ddc0; border-radius: 4px; }

.vc-interest-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.vc-check-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  background: #fafcf9;
  border: 1.5px solid #d6e4d0;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  overflow: hidden;
}
.vc-check-card input[type="checkbox"] { display: none; }
.vc-check-card:hover {
  border-color: #3d7a3d;
  background: #f0f7ee;
}
.vc-check-card:has(input:checked) {
  border-color: #1e5c1e;
  background: #e8f5e4;
}
.vc-check-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.vc-check-icon { font-size: 18px; line-height: 1; margin-bottom: 3px; }
.vc-check-name {
  font-size: 13px;
  font-weight: 700;
  color: #1a2e1a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vc-check-sub {
  font-size: 11px;
  color: #7a8e7a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vc-check-tick {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1e5c1e;
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.18s, transform 0.18s;
}
.vc-check-card:has(input:checked) .vc-check-tick {
  opacity: 1;
  transform: scale(1);
}

/* ── Fields ── */
.vc-field-group { display: flex; flex-direction: column; gap: 14px; }
.vc-field-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .vc-field-row { grid-template-columns: 1fr; } }

.vc-field { display: flex; flex-direction: column; gap: 5px; }
.vc-field label {
  font-size: 13px;
  font-weight: 700;
  color: #2a3e2a;
  letter-spacing: 0.01em;
}
.vc-req { color: #c0392b; }

.vc-field input,
.vc-field select,
.vc-field textarea {
  width: 100%;
  padding: 10px 13px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  border: 1.5px solid #d0dece;
  border-radius: 8px;
  background: #fafcf9;
  color: #1a2e1a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.vc-field input:focus,
.vc-field select:focus,
.vc-field textarea:focus {
  border-color: #1e5c1e;
  box-shadow: 0 0 0 3px rgba(30,92,30,0.1);
}
.vc-field textarea { resize: vertical; min-height: 80px; }

.vc-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #4a5a4a;
  line-height: 1.5;
  cursor: pointer;
}
.vc-consent-label input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
.vc-consent-label a { color: #1e5c1e; }

/* ── Navigation Row ── */
.vc-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px 24px;
  border-top: 1px solid #eef2ec;
  margin-top: 20px;
}
.vc-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.vc-step-count {
  font-size: 12px;
  color: #8a9e8a;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.vc-btn-back {
  background: transparent;
  border: 1.5px solid #c8ddc0;
  color: #5a6b5a;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
}
.vc-btn-back:hover { border-color: #3d7a3d; color: #1e5c1e; background: #f0f7ee; }

.vc-btn-next,
.vc-btn-submit {
  background: #1e5c1e;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, transform 0.1s;
  letter-spacing: 0.02em;
}
.vc-btn-next:hover,
.vc-btn-submit:hover { background: #174e17; transform: translateY(-1px); }
.vc-btn-submit:active { transform: scale(0.98); }
.vc-btn-submit:disabled { background: #8aaa8a; cursor: not-allowed; transform: none; }

/* ── Success State ── */
.vc-success {
  text-align: center;
  padding: 50px 32px 40px;
  animation: vc-success-in 0.5s ease;
}
@keyframes vc-success-in {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.vc-success-icon { font-size: 52px; margin-bottom: 18px; display: block; }
.vc-success-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: #1a2e1a;
  margin: 0 0 14px;
}
.vc-success-msg {
  font-size: 15px;
  color: #4a5a4a;
  line-height: 1.65;
  max-width: 420px;
  margin: 0 auto 28px;
}
.vc-success-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.vc-btn-green {
  display: inline-block;
  background: #1e5c1e;
  color: #fff;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}
.vc-btn-outline {
  display: inline-block;
  border: 1.5px solid #3d7a3d;
  color: #1e5c1e;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

/* ── Error ── */
.vc-field-error {
  font-size: 12px;
  color: #c0392b;
  margin-top: 3px;
}
.vc-field input.error,
.vc-field select.error { border-color: #e24b4a; box-shadow: 0 0 0 3px rgba(226,75,74,0.1); }

/* ── Responsive ── */
@media (max-width: 580px) {
  .vc-form-body { padding: 20px 16px 0; }
  .vc-nav-row   { padding: 16px 16px 20px; }
  .vc-checkbox-grid { grid-template-columns: repeat(2, 1fr); }
  .vc-step-indicators { gap: 0; }
}
