/* ── Unpaqd Trip Estimator Widget CSS ──────────────────────────────────────── */

.ute-widget {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  border: 1.5px solid #1B6B5A;
  border-radius: 14px;
  overflow: hidden;
  margin: 36px 0;
  box-shadow: 0 8px 32px rgba(27,107,90,0.12);
  max-width: 100%;
}

/* Header */
.ute-header {
  background: linear-gradient(135deg, #1B6B5A 0%, #2A8A6E 100%);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ute-header-text h3 {
  font-size: 22px; font-weight: 700; color: #fff; margin: 0 0 6px;
  letter-spacing: -0.01em; line-height: 1.3;
  font-family: Georgia, 'Times New Roman', serif;
}
.ute-header-text p {
  font-size: 13.5px; color: rgba(255,255,255,0.78); margin: 0;
  letter-spacing: 0.02em;
}

/* Body */
.ute-body { background: #fff; padding: 22px; }

/* Form layout */
.ute-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px;
}
.ute-field { margin-bottom: 14px; }
.ute-field label {
  display: block; font-size: 13px; font-weight: 600;
  color: #5A6474; margin-bottom: 6px;
}
.ute-field input,
.ute-field select {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid #E2E8F0; border-radius: 8px;
  font-size: 14px; color: #1A1A2E; background: #fff;
  box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.ute-field input:focus,
.ute-field select:focus {
  outline: none; border-color: #1B6B5A;
  box-shadow: 0 0 0 3px rgba(27,107,90,0.1);
}

/* Nights */
.ute-nights-row { display: flex; gap: 8px; margin-bottom: 8px; }
.ute-night-btn {
  flex: 1; padding: 9px 4px;
  background: #fff; border: 1.5px solid #E2E8F0;
  border-radius: 8px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: #5A6474;
  transition: all 0.2s; font-family: inherit;
}
.ute-night-btn:hover { border-color: #1B6B5A; color: #1B6B5A; }
.ute-night-btn.active { background: #1B6B5A; border-color: #1B6B5A; color: #fff; }
.ute-custom-nights input {
  width: 100%; padding: 10px 12px;
  border: 1.5px solid #E2E8F0; border-radius: 8px;
  font-size: 14px; box-sizing: border-box; font-family: inherit;
}

/* Estimate panel */
.ute-estimate {
  background: #E8F5F2; border: 1.5px solid rgba(27,107,90,0.2);
  border-radius: 10px; padding: 16px 18px; margin: 14px 0;
  animation: ute-slide-in 0.3s ease;
}
@keyframes ute-slide-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ute-estimate-row {
  display: flex; justify-content: space-between;
  font-size: 14px; color: #5A6474; margin-bottom: 8px;
}
.ute-estimate-total {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 10px; margin-top: 4px;
  border-top: 1.5px dashed rgba(27,107,90,0.25);
  font-size: 14px; font-weight: 600; color: #134E40;
}
.ute-val { font-weight: 600; color: #1B6B5A; }
.ute-estimate-total .ute-val { font-size: 20px; }
.ute-estimate-note { font-size: 12px; color: #1B6B5A; margin-top: 10px; font-weight: 500; }

/* Match badge */
.ute-match-badge {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #1B6B5A; border: none;
  border-radius: 8px; padding: 14px 18px;
  font-size: 15px; color: #fff; font-weight: 700;
  text-decoration: none; margin: 14px 0 0;
  transition: background 0.2s; letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(27,107,90,0.25);
}
.ute-match-badge:hover { background: #134E40; color: #fff; }

/* Divider */
.ute-divider { height: 1px; background: #E2E8F0; margin: 20px 0; }

/* Lead section */
.ute-lead-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #94A3B8; margin-bottom: 12px;
}
.ute-consent-box {
  background: linear-gradient(135deg, #E8F5F2, #F0FAF7);
  border: 2px solid #1B6B5A;
  border-radius: 12px; padding: 18px 20px;
}
.ute-consent-headline {
  font-size: 16px; font-weight: 800; color: #1B6B5A;
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.ute-consent-sub {
  font-size: 13px; color: #4A7A6D; margin: 0 0 14px; line-height: 1.5;
}
.ute-consent-label {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  background: #fff; border-radius: 8px; padding: 12px 14px;
  border: 1.5px solid rgba(27,107,90,0.2);
}
.ute-consent-label input[type="checkbox"] {
  width: 20px; height: 20px; min-width: 20px;
  margin-top: 2px; accent-color: #1B6B5A; cursor: pointer;
}
.ute-consent-text {
  font-size: 17px; font-weight: 700; color: #1A1A2E; line-height: 1.4;
  font-family: Georgia, 'Times New Roman', serif;
}
.ute-consent-text span {
  display: block; font-size: 13px; font-weight: 400;
  color: #5A6474; margin-top: 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Submit button */
.ute-submit-btn {
  width: 100%; padding: 13px;
  background: #1B6B5A; color: #fff; border: none;
  border-radius: 8px; font-size: 15px; font-weight: 700;
  cursor: pointer; margin-top: 12px;
  transition: all 0.2s; font-family: inherit;
  box-shadow: 0 4px 12px rgba(27,107,90,0.2);
}
.ute-submit-btn:disabled { background: #CBD5E0; box-shadow: none; cursor: not-allowed; }
.ute-submit-btn:not(:disabled):hover {
  background: #134E40; transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(27,107,90,0.3);
}
.ute-submit-btn.ute-loading { opacity: 0.75; cursor: wait; }

.ute-spam-note {
  font-size: 12px; color: #94A3B8; text-align: center;
  margin-top: 8px; font-style: italic; line-height: 1.5;
}

/* Explore button */
.ute-explore-btn {
  display: block; text-align: center;
  background: transparent; border: 1.5px solid #1B6B5A;
  color: #1B6B5A; padding: 11px; border-radius: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  margin-top: 14px; transition: all 0.2s; font-family: inherit;
}
.ute-explore-btn:hover { background: #E8F5F2; color: #1B6B5A; }

/* Success state */
.ute-success { text-align: center; padding: 16px 0 8px; }
.ute-success-icon { font-size: 52px; margin-bottom: 12px; }
.ute-success-title { font-size: 20px; font-weight: 700; color: #1B6B5A; margin-bottom: 10px; }
.ute-success-body { font-size: 14px; color: #5A6474; line-height: 1.7; }

/* Error state */
.ute-error {
  background: #FFF5F5; border: 1.5px solid #FEB2B2;
  border-radius: 8px; padding: 12px 14px; margin-top: 10px;
  font-size: 13px; color: #C53030; display: none;
}

/* Responsive */
@media (max-width: 480px) {
  .ute-row { grid-template-columns: 1fr; gap: 0; }
  .ute-body { padding: 16px; }
  .ute-night-btn { font-size: 12px; padding: 8px 3px; }
  .ute-header { padding: 14px 16px; }
  .ute-header-text h3 { font-size: 15px; }
}
