/* ============================================================
   AI Reception Assistant – Pricing Widget Styles
   These styles are scoped to #air-pricing-widget so they
   won't interfere with the rest of your WordPress theme.
   ============================================================ */

/* ── Reset / container ──────────────────────────────────────── */
.air-pricing {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 24px;
  color: #1a1a2e;
}

/* ── Billing toggle ──────────────────────────────────────────── */
.air-billing-toggle {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}

.air-toggle-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 2px solid #d0d5dd;
  border-radius: 40px;
  background: #fff;
  color: #667085;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.air-toggle-btn:hover {
  border-color: #1a56db;
  color: #1a56db;
}

.air-toggle-btn.active {
  border-color: #1a56db;
  background: #1a56db;
  color: #fff;
}

.air-badge {
  display: inline-block;
  background: #d1fae5;
  color: #065f46;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.air-toggle-btn.active .air-badge {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

/* ── Room slider ─────────────────────────────────────────────── */
.air-slider-section {
  margin-bottom: 28px;
}

.air-slider-section label {
  display: block;
  font-size: 15px;
  color: #344054;
  margin-bottom: 12px;
}

.air-slider-section label strong {
  color: #1a56db;
  font-size: 17px;
}

input[type="range"]#air-rooms-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #1a56db 0%, #d0d5dd 0%);
  outline: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

input[type="range"]#air-rooms-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1a56db;
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(26,86,219,0.35);
  cursor: pointer;
}

input[type="range"]#air-rooms-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1a56db;
  border: 3px solid #fff;
  box-shadow: 0 1px 6px rgba(26,86,219,0.35);
  cursor: pointer;
}

.air-slider-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12px;
  color: #98a2b3;
}

/* ── Setup option ────────────────────────────────────────────── */
.air-setup-section {
  background: #f8faff;
  border: 1.5px solid #c7d7fa;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 28px;
}

.air-setup-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.air-setup-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #1a56db;
  cursor: pointer;
  flex-shrink: 0;
}

.air-setup-text {
  font-size: 14px;
  line-height: 1.5;
  color: #344054;
}

.air-setup-price {
  display: inline-block;
  margin-left: 6px;
  font-weight: 700;
  color: #1a56db;
}

/* ── Price display box ───────────────────────────────────────── */
.air-price-box {
  text-align: center;
  background: linear-gradient(135deg, #eef2ff 0%, #f0fdf4 100%);
  border: 1.5px solid #c7d7fa;
  border-radius: 16px;
  padding: 28px 24px 22px;
  margin-bottom: 28px;
}

.air-price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.air-price-amount {
  font-size: 54px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -2px;
  line-height: 1;
}

.air-price-period {
  font-size: 20px;
  color: #667085;
  font-weight: 500;
}

.air-price-details {
  font-size: 14px;
  color: #667085;
  margin-top: 4px;
}

.air-price-setup-line {
  margin-top: 10px;
  font-size: 14px;
  color: #1a56db;
  font-weight: 600;
}

/* ── CTA button ──────────────────────────────────────────────── */
.air-cta-section {
  text-align: center;
}

.air-cta-btn {
  display: inline-block;
  width: 100%;
  max-width: 440px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #1a56db 0%, #1e429f 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  box-shadow: 0 4px 20px rgba(26,86,219,0.35);
}

.air-cta-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,86,219,0.45);
}

.air-cta-btn:active:not(:disabled) {
  transform: translateY(0);
}

.air-cta-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.air-cta-sub {
  margin-top: 12px;
  font-size: 13px;
  color: #98a2b3;
}

/* ── Error message ───────────────────────────────────────────── */
.air-error {
  margin-top: 16px;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #991b1b;
  font-size: 14px;
  text-align: center;
}

/* ── Thank-you page ──────────────────────────────────────────── */
.air-thankyou {
  text-align: center;
  padding: 60px 24px;
  max-width: 520px;
  margin: 0 auto;
}

.air-thankyou-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.air-thankyou h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.air-thankyou p {
  font-size: 16px;
  color: #667085;
  line-height: 1.6;
}

.air-thankyou-link {
  display: inline-block;
  margin-top: 12px;
  color: #1a56db;
  font-weight: 600;
  text-decoration: none;
}

.air-thankyou-link:hover {
  text-decoration: underline;
}

/* ── Slider gradient update (via JS) ────────────────────────────
   The JS updates the background of the slider on each 'input'
   event so the filled track matches the thumb position.
   We handle this in JS with a simple inline style update.
   ──────────────────────────────────────────────────────────── */
