/* ══════════════════════════════════════════════════════════════
   MH Airport Transfer — Booking Widget Styles
   ══════════════════════════════════════════════════════════════ */

/* ── Wrapper ─────────────────────────────────────────────── */
#mht-booking-widget {
    max-width: 780px;
    margin: 0 auto;
    font-family: inherit;
}

/* ── Step indicator ──────────────────────────────────────── */
.mht-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 36px;
}
.mht-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #9ca3af;
}
.mht-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #9ca3af;
    background: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.mht-step-dot.active {
    border-color: var(--mh-red, #dc2626);
    background: var(--mh-red, #dc2626);
    color: #fff;
}
.mht-step-dot.done {
    border-color: #10b981;
    background: #10b981;
    color: #fff;
}
.mht-step-line {
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    margin: 0 4px;
}

/* ── Card wrapper ────────────────────────────────────────── */
.mht-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.08);
    border: 1px solid #f3f4f6;
    overflow: hidden;
}
.mht-card-header {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.mht-card-header-icon {
    font-size: 28px;
}
.mht-card-header h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}
.mht-card-header p {
    color: #9ca3af;
    font-size: 0.78rem;
    margin: 3px 0 0;
}
.mht-card-body {
    padding: 32px;
}

/* ── Form fields ─────────────────────────────────────────── */
.mht-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.mht-form-row.mht-full {
    grid-template-columns: 1fr;
}
.mht-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mht-form-group label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mht-form-group label .mht-req {
    color: var(--mh-red, #dc2626);
    margin-left: 2px;
}
.mht-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #111827;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}
.mht-input:focus {
    outline: none;
    border-color: var(--mh-red, #dc2626);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}
.mht-input.mht-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.mht-input[type="number"] {
    padding-right: 8px;
}
textarea.mht-input {
    resize: vertical;
    min-height: 80px;
}

/* ── Hotel search combo ──────────────────────────────────── */
.mht-hotel-combo {
    position: relative;
}
.mht-hotel-combo .mht-input[type="text"] {
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}
.mht-hotel-combo select.mht-input {
    border-radius: 0 0 10px 10px;
    font-size: 0.9rem;
    max-height: 180px;
    overflow-y: auto;
}

/* ── Trip type radios ────────────────────────────────────── */
.mht-trip-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.mht-trip-option {
    flex: 1;
    min-width: 140px;
    position: relative;
}
.mht-trip-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
}
.mht-trip-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    transition: all 0.2s ease;
    background: #f9fafb;
    user-select: none;
}
.mht-trip-option label .mht-trip-icon {
    font-size: 22px;
}
.mht-trip-option input[type="radio"]:checked + label {
    border-color: var(--mh-red, #dc2626);
    background: #fff5f5;
    color: var(--mh-red, #dc2626);
    box-shadow: 0 2px 8px rgba(220,38,38,0.15);
}

/* ── Price badge ─────────────────────────────────────────── */
.mht-price-badge {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: #fff;
    border-radius: 14px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(220,38,38,0.25);
}
.mht-price-badge .mht-price-label {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.mht-price-badge .mht-price-amount {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.mht-price-badge .mht-price-per {
    font-size: 0.72rem;
    opacity: 0.7;
}

/* ── Summary box ─────────────────────────────────────────── */
.mht-summary-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
}
.mht-summary-box h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    margin: 0 0 14px;
}
.mht-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.87rem;
}
.mht-summary-row:last-child { border-bottom: none; }
.mht-summary-row .mht-sum-label { color: #6b7280; font-weight: 600; }
.mht-summary-row .mht-sum-val   { color: #111827; font-weight: 500; }
.mht-summary-row.mht-total { margin-top: 6px; padding-top: 10px; border-top: 2px solid #e5e7eb; border-bottom: none; }
.mht-summary-row.mht-total .mht-sum-label { font-size: 0.9rem; color: #374151; }
.mht-summary-row.mht-total .mht-sum-val   { font-size: 1.2rem; font-weight: 800; color: #dc2626; }

/* ── Divider ─────────────────────────────────────────────── */
.mht-divider {
    height: 1px;
    background: #f3f4f6;
    margin: 24px -32px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.mht-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
}
.mht-btn-primary {
    background: var(--mh-red, #dc2626);
    color: #fff;
    box-shadow: 0 4px 14px rgba(220,38,38,0.3);
}
.mht-btn-primary:hover { background: #b91c1c; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(220,38,38,0.35); }
.mht-btn-primary:disabled { background: #9ca3af; box-shadow: none; transform: none; cursor: not-allowed; }
.mht-btn-secondary {
    background: #f9fafb;
    color: #374151;
    border: 1.5px solid #e5e7eb;
}
.mht-btn-secondary:hover { background: #f3f4f6; }

/* ── Error messages ──────────────────────────────────────── */
.mht-error-msg {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: none;
}

/* ── Security badges ─────────────────────────────────────── */
.mht-security-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 600;
}
.mht-security-row span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ── Note boxes ──────────────────────────────────────────── */
.mht-note {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.82rem;
    color: #92400e;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
    .mht-card-body { padding: 20px 16px; }
    .mht-form-row { grid-template-columns: 1fr; }
    .mht-trip-options { flex-direction: column; }
    .mht-trip-option { min-width: auto; }
    .mht-trip-option label { flex-direction: row; justify-content: flex-start; }
    .mht-price-badge { flex-direction: column; gap: 6px; text-align: center; }
    .mht-steps { gap: 0; }
    .mht-step-item span:not(.mht-step-dot) { display: none; }
    .mht-divider { margin: 20px -16px; }
    .mht-security-row { flex-wrap: wrap; gap: 10px; }
}

/* ── Stepper (passengers / bags) ─────────────────────────── */
.mht-stepper {
    display: flex;
    align-items: center;
    border: 1px solid var(--mht-border, #d1d5db);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    height: 44px;
}
.mht-stepper-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: #f3f4f6;
    border: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mht-stepper-btn:hover  { background: #e5e7eb; color: #111; }
.mht-stepper-btn:active { background: #d1d5db; }
.mht-stepper-btn:disabled { opacity: .35; cursor: default; }
.mht-stepper-input {
    flex: 1;
    border: none !important;
    border-left: 1px solid #e5e7eb !important;
    border-right: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    -moz-appearance: textfield;
    padding: 0 !important;
    height: 44px;
    background: transparent;
}
.mht-stepper-input::-webkit-outer-spin-button,
.mht-stepper-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mht-stepper-hint {
    display: block;
    font-size: 0.72rem;
    color: #9ca3af;
    margin-top: 4px;
}

/* ── Deposit breakdown info ───────────────────────────────── */
.mht-deposit-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.82rem;
    color: #166534;
}
.mht-deposit-info span { display: flex; align-items: center; gap: 6px; }
.mht-deposit-info strong { font-weight: 700; }
