/* ===========================================================================
   Travel Enquiry — Compact, Modern & High-Converting Lead Capture System.
   Optimized for tight vertical rhythm, minimal empty spacing, and stunning UI.
   =========================================================================== */

.te-root {
    --te-primary: #EB662A;
    --te-primary-hover: #d5541b;
    --te-primary-soft: #fdf4ef;
    --te-primary-dark: #11221C;
    --te-ink: #11221C;
    --te-ink-dark: #0f1e19;
    --te-ink-soft: #4b5563;
    --te-ink-muted: #6b7280;
    --te-border: #dcd6cd;
    --te-border-focus: #EB662A;
    --te-bg-card: #ffffff;
    --te-bg-sidebar: #faf8f5;
    --te-bg-subtle: #f6f3ee;
    --te-bg-chip: #f8f6f2;
    --te-success: #EB662A;
    --te-success-soft: #fdf4ef;
    --te-radius: 8px;
    --te-radius-sm: 6px;
    --te-radius-pill: 9999px;
    --te-shadow: 0 10px 30px -4px rgba(17, 34, 28, 0.08), 0 2px 6px -1px rgba(17, 34, 28, 0.04);
    --te-shadow-hover: 0 14px 28px -4px rgba(17, 34, 28, 0.12);

    font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--te-ink);
    margin: 0 auto;
    width: 100%;
    max-width: 950px;
}

.te-root *,
.te-root *::before,
.te-root *::after {
    box-sizing: border-box;
}

/* ===========================================================================
   Page Layout & Centered Card
   =========================================================================== */

.te-page-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    background: var(--te-bg-card);
    border: 1px solid var(--te-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--te-shadow);
}

.te-page-layout--no-sidebar {
    grid-template-columns: 1fr !important;
}

.te-page-layout--no-sidebar .te-form-panel {
    padding: 16px 18px;
}

@media (max-width: 820px) {
    .te-page-layout {
        grid-template-columns: 1fr;
    }
}

/* ===========================================================================
   LEFT COLUMN: Trust & Information Sidebar
   =========================================================================== */

/* ===========================================================================
   LEFT COLUMN: Trust & "How We Work" Sidebar (Large, Bold & Attractive)
   =========================================================================== */

.te-sidebar {
    background: #faf8f5;
    border-right: 1px solid var(--te-border);
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: space-between;
}

@media (max-width: 820px) {
    .te-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--te-border);
        padding: 18px 14px;
        gap: 14px;
    }
}

.te-sidebar__section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.te-sidebar__title {
    margin: 0 0 2px;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    color: #eb662a;
    letter-spacing: -0.015em;
    text-align: center;
}

.te-sidebar__divider {
    height: 1px;
    background: #e2d8cd;
    width: 100%;
    margin: 4px 0;
}

/* Steps List (How we work) */
.te-steps-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.te-step-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.te-step-item__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffffff;
    border: 1.5px solid #ded6cc;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #eb662a;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.te-step-item__icon svg {
    width: 20px;
    height: 20px;
}

.te-step-item__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.te-step-item__title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 800;
    color: #11221C;
    line-height: 1.25;
}

.te-step-item__desc {
    margin: 2px 0 0;
    font-size: 12px;
    color: #526058;
    line-height: 1.25;
}

/* Stats Badges */
.te-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 2px;
}

.te-stat-badge {
    background: transparent;
    border: none;
    padding: 2px 2px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.te-stat-badge__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #ded6cc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eb662a;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.te-stat-badge__icon svg {
    width: 21px;
    height: 21px;
}

.te-stat-badge__num {
    font-size: 16px;
    font-weight: 800;
    color: #11221C;
    line-height: 1.1;
    margin-top: 2px;
}

.te-stat-badge__label {
    font-size: 10.5px;
    font-weight: 700;
    color: #526058;
    line-height: 1.15;
    text-align: center;
}

/* Call Us Box (Big & Clear) */
.te-sidebar__call {
    margin-top: auto;
    padding: 8px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.te-sidebar__call-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.te-sidebar__call-icon {
    color: #11221C;
}

.te-sidebar__call-label {
    font-size: 13px;
    font-weight: 600;
    color: #526058;
    line-height: 1.2;
}

.te-sidebar__call-number {
    font-size: 23px;
    font-weight: 800;
    color: #eb662a;
    text-decoration: none;
    letter-spacing: 0.5px;
    line-height: 1.15;
    transition: color .15s ease;
}

.te-sidebar__call-number:hover {
    color: #d45115;
}

/* ===========================================================================
   RIGHT COLUMN: Lead Form Panel (Compact & Refined)
   =========================================================================== */

.te-form-panel {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 600px) {
    .te-form-panel {
        padding: 14px 12px;
    }
}

.te-form-panel__header {
    margin-bottom: 10px;
}

.te-form-panel__title {
    margin: 0;
    font-size: clamp(16px, 1.8vw, 19px);
    font-weight: 800;
    color: var(--te-ink-dark);
    line-height: 1.2;
    letter-spacing: -0.015em;
}

.te-form-panel__subtitle {
    margin: 2px 0 0;
    font-size: 11.5px;
    color: var(--te-ink-soft);
    line-height: 1.35;
}

/* Streamlined 3-Step Flow Connector */
.te-flow-steps {
    display: flex;
    align-items: center;
    margin-top: 6px;
    gap: 6px;
}

.te-flow-step {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--te-ink-muted);
}

.te-flow-step.is-active {
    color: var(--te-ink-dark);
}

.te-flow-step.is-completed {
    color: var(--te-primary);
}

.te-flow-step__badge {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #e5e0d8;
    color: var(--te-ink-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 800;
}

.te-flow-step.is-active .te-flow-step__badge,
.te-flow-step.is-completed .te-flow-step__badge {
    background: var(--te-primary);
    color: #ffffff;
}

.te-flow-step__connector {
    flex: 1;
    max-width: 24px;
    height: 1.5px;
    background: #ded6cc;
}

/* Form Panels */
.te-panel {
    display: none;
    flex-direction: column;
    gap: 8px;
    animation: teFadeIn .18s ease forwards;
}

.te-panel.is-active {
    display: flex;
}

@keyframes teFadeIn {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===========================================================================
   Form Fields, Inputs & Controls
   =========================================================================== */

.te-grid--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 540px) {
    .te-grid--2 {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.te-field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    margin: 0;
}

.te-label {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--te-ink-dark);
    display: flex;
    align-items: center;
    gap: 2px;
    line-height: 1.1;
    margin-bottom: 1px;
}

.te-label--stacked {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    min-height: 24px !important;
    gap: 0 !important;
    line-height: 1.15 !important;
    margin-bottom: 2px !important;
}

.te-label__title {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--te-ink-dark);
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.te-label__age {
    font-size: 9.5px;
    font-weight: 600;
    color: var(--te-ink-soft);
    white-space: nowrap;
}

.te-label--req::after {
    content: "*";
    color: var(--te-primary);
    font-weight: 800;
}

.te-label__sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--te-ink-soft);
    margin-left: 3px;
}

.te-label__optional {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--te-ink-muted);
    margin-left: auto;
    text-transform: uppercase;
}

.te-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.te-input-icon {
    position: absolute;
    left: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
    color: var(--te-primary);
}

.te-input {
    width: 100%;
    height: 35px;
    padding: 4px 10px;
    font-size: 12.5px;
    font-family: inherit;
    font-weight: 600;
    color: var(--te-ink-dark);
    background: #ffffff;
    border: 1.25px solid var(--te-border);
    border-radius: var(--te-radius);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.te-input--icon-left {
    padding-left: 30px;
}

.te-input:focus {
    border-color: var(--te-border-focus);
    box-shadow: 0 0 0 2.5px rgba(235, 102, 42, 0.18);
}

.te-textarea {
    width: 100%;
    min-height: 54px;
    padding: 6px 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--te-ink-dark);
    background: #ffffff;
    border: 1.25px solid var(--te-border);
    border-radius: var(--te-radius);
    outline: none;
    resize: vertical;
    font-family: inherit;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.te-textarea:focus {
    border-color: var(--te-border-focus);
    box-shadow: 0 0 0 2.5px rgba(235, 102, 42, 0.18);
}

/* Section Title Dividers (Crisp, High-End Category Separators) */
.te-section-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--te-primary);
    margin-top: 6px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.te-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eedfd3;
}

/* Date & Field Header Alignment */
.te-date-header,
.te-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 24px;
    margin-bottom: 2px;
}

.te-date-toggle {
    display: inline-flex;
    background: #ebe5dc;
    border: 1px solid var(--te-border);
    border-radius: 5px;
    padding: 1.5px;
}

.te-date-toggle__btn {
    border: none;
    background: transparent;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    color: var(--te-ink-soft);
    border-radius: 3.5px;
    cursor: pointer;
    transition: all .14s ease;
}

.te-date-toggle__btn.is-active {
    background: #ffffff;
    color: var(--te-primary);
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* ===========================================================================
   TravelTriangle Style Flexible Date Picker Popover
   =========================================================================== */

.te-tt-container {
    position: relative;
    width: 100%;
    animation: teFadeIn .15s ease forwards;
}

[data-te-date-container="flexible"]:not([hidden]) {
    display: block !important;
}

[data-te-date-container="flexible"][hidden] {
    display: none !important;
}

[data-te-date-container="fixed"][hidden] {
    display: none !important;
}

.te-tt-trigger-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 38px;
    padding: 0 10px;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #d4c8bc;
    border-radius: var(--te-radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--te-ink-dark);
    cursor: pointer;
    transition: all .15s ease;
    user-select: none;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}

.te-tt-trigger-box:hover,
.te-tt-trigger-box:focus,
.te-tt-trigger-box.is-open {
    border-color: #0d9488;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
    outline: none;
}

.te-tt-cal-icon {
    color: #0d9488;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.te-tt-display-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #11221C;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.te-tt-display-text.is-placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.te-tt-clear-btn {
    background: none;
    border: none;
    font-size: 16px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all .15s ease;
}

.te-tt-clear-btn:hover {
    color: #ef4444;
    background: #fee2e2;
}

/* Popover Card */
.te-tt-popover {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 250px;
    max-width: 100vw;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 30px -4px rgba(0,0,0,0.22), 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    z-index: 99;
    overflow: hidden;
    animation: teFadeIn .15s ease forwards;
}

/* Header bar */
.te-tt-header {
    background: #0d9488;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
}

.te-tt-year-title,
.te-tt-month-title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ffffff;
}

.te-tt-nav-btn,
.te-tt-back-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s ease;
    line-height: 1;
}

.te-tt-nav-btn:hover,
.te-tt-back-btn:hover {
    background: rgba(255,255,255,0.3);
}

.te-tt-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Months Grid */
.te-tt-months-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 12px 10px;
    background: #ffffff;
}

.te-tt-month-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    background: #ffffff;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .12s ease;
}

.te-tt-month-item:hover:not(.is-disabled) {
    background: #f0fdfa;
    color: #0d9488;
    border-color: #99f6e4;
}

.te-tt-month-item.is-selected {
    background: #0d9488 !important;
    color: #ffffff !important;
    font-weight: 800;
}

.te-tt-month-item.is-disabled {
    color: #cbd5e1 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: transparent !important;
    opacity: 0.45;
}

/* Weeks Grid */
.te-tt-weeks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 14px 12px;
    background: #ffffff;
}

.te-tt-week-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all .12s ease;
}

.te-tt-week-btn:hover:not(.is-disabled) {
    border-color: #0d9488;
    background: #f0fdfa;
    color: #0d9488;
}

.te-tt-week-btn.is-selected {
    background: #0d9488 !important;
    color: #ffffff !important;
    border-color: #0d9488 !important;
}

.te-tt-week-btn.is-disabled {
    color: #cbd5e1 !important;
    border-color: #f1f5f9 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #f8fafc !important;
    opacity: 0.45;
}

/* Ticket Booked & Upload Box */
.te-ticket-wrap {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.te-ticket-check {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--te-ink-soft);
    cursor: pointer;
    user-select: none;
}

.te-ticket-check input[type="checkbox"] {
    accent-color: var(--te-primary);
    width: 13px;
    height: 13px;
    cursor: pointer;
}

.te-ticket-upload {
    display: flex;
    flex-direction: column;
    gap: 4px;
    animation: teFadeIn .15s ease forwards;
}

.te-ticket-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    background: linear-gradient(180deg, #fffaf5 0%, #fff2e6 100%);
    border: 1.5px dashed #f97316;
    border-radius: 7px;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #d9531e;
    cursor: pointer;
    transition: all .15s ease;
    width: 100%;
    text-align: center;
    box-shadow: 0 1px 3px rgba(235, 102, 42, 0.06);
}

.te-ticket-upload-btn:hover {
    background: #ffede0;
    border-style: solid;
    border-color: #ea580c;
    color: #c2410c;
}

.te-ticket-offer-tag {
    font-size: 10px;
    font-weight: 800;
    color: #059669;
    background: #ecfdf5;
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid #a7f3d0;
    display: inline-block;
}

.te-ticket-file-status {
    font-size: 10px;
    font-weight: 700;
    color: #16a34a;
    line-height: 1.2;
    padding-left: 2px;
}

.te-ticket-file-status.is-error {
    color: #dc2626;
}

/* ===========================================================================
   Duration Stepper (+ / - Buttons & Live Nights / Days)
   =========================================================================== */

.te-stepper-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1.25px solid var(--te-border);
    border-radius: var(--te-radius);
    background: #ffffff;
    height: 35px;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.te-stepper-wrap:focus-within {
    border-color: var(--te-border-focus);
    box-shadow: 0 0 0 2.5px rgba(235, 102, 42, 0.18);
}

.te-stepper-btn {
    width: 32px;
    height: 100%;
    border: none;
    background: #fdfaf6;
    color: var(--te-primary);
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .12s ease;
    user-select: none;
    flex-shrink: 0;
}

.te-stepper-btn:hover {
    background: #fee7d7;
    color: #d45115;
}

.te-stepper-btn:active {
    background: #fcd2b8;
    transform: scale(0.95);
}

.te-stepper-btn--dec {
    border-right: 1px solid #efe4d8;
}

.te-stepper-btn--inc {
    border-left: 1px solid #efe4d8;
}

.te-stepper-input-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 100%;
    padding: 0 4px;
}

.te-stepper-input {
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: var(--te-ink-dark) !important;
    padding: 0 !important;
    height: 100% !important;
    line-height: 33px !important;
    background: transparent !important;
    outline: none !important;
    -moz-appearance: textfield;
}

.te-stepper-input::-webkit-outer-spin-button,
.te-stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ===========================================================================
   Travellers Grid & Adults Custom Input
   =========================================================================== */

.te-adults-input-wrap {
    position: relative;
    width: 100%;
}

.te-adults-custom-wrap {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.te-adults-custom-input {
    padding-right: 28px !important;
    padding-left: 10px !important;
}

.te-adults-switch-btn {
    position: absolute;
    right: 4px;
    width: 22px;
    height: 27px;
    border: none;
    background: #f3ece3;
    border-radius: 4px;
    color: var(--te-ink-soft);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .14s ease;
}

.te-adults-switch-btn:hover {
    background: #ebdcd0;
    color: var(--te-primary);
}

.te-pax-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

@media (max-width: 500px) {
    .te-pax-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

.te-pax-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: opacity .15s ease;
}

.te-pax-col.is-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
}

.te-pax-col.is-disabled select {
    background-color: #f6f5f3 !important;
    cursor: not-allowed !important;
}

.te-select-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.te-select-icon {
    position: absolute;
    left: 8px;
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    color: var(--te-primary);
}

/* Native select styling */
.te-select,
select.te-select {
    display: block !important;
    width: 100% !important;
    height: 35px !important;
    line-height: 33px !important;
    padding: 0 20px 0 26px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    color: var(--te-ink-dark) !important;
    background-color: #ffffff !important;
    border: 1.25px solid var(--te-border) !important;
    border-radius: var(--te-radius) !important;
    outline: none !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%226%22%20viewBox%3D%220%200%2010%206%22%3E%3Cpath%20fill%3D%22%23EB662A%22%20d%3D%22M5%206L0%201%201%200%205%204%209%200%2010%201z%22%2F%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 8px 5px !important;
    transition: border-color .15s ease, box-shadow .15s ease !important;
}

.te-select--icon,
select.te-select--icon {
    padding-left: 26px !important;
}

.te-select:focus,
select.te-select:focus {
    border-color: var(--te-border-focus) !important;
    box-shadow: 0 0 0 2.5px rgba(235, 102, 42, 0.18) !important;
}

.te-root .nice-select {
    display: none !important;
}

/* Phone Number Box */
.te-phone-box {
    display: flex;
    border: 1.25px solid var(--te-border);
    border-radius: var(--te-radius);
    overflow: hidden;
    background: #ffffff;
    height: 35px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.te-phone-box:focus-within {
    border-color: var(--te-border-focus);
    box-shadow: 0 0 0 2.5px rgba(235, 102, 42, 0.18);
}

.te-phone-box__dial-wrap {
    background: var(--te-bg-subtle);
    border-right: 1.25px solid var(--te-border);
    display: flex;
    align-items: center;
    position: relative;
}

.te-phone-box__dial,
select.te-phone-box__dial {
    display: block !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 16px 0 7px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--te-ink-dark) !important;
    outline: none !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%228%22%20height%3D%225%22%20viewBox%3D%220%200%208%205%22%3E%3Cpath%20fill%3D%22%23EB662A%22%20d%3D%22M4%205L0%201%200.8%200.2%204%203.4%207.2%200.2%208%201z%22%2F%3E%3C%2Fsvg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 5px center !important;
    background-size: 7px 4px !important;
}

.te-phone-box__number {
    flex: 1;
    height: 100%;
    border: none;
    padding: 4px 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--te-ink-dark);
    outline: none;
    background: transparent;
}

/* Consent Checkbox */
.te-field--consent {
    margin-top: 1px;
}

.te-check--consent {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--te-ink-soft);
    letter-spacing: 0.01em;
}

.te-check--consent input {
    accent-color: var(--te-primary);
    width: 13px;
    height: 13px;
    cursor: pointer;
}

/* Errors & Alerts */
.te-error {
    margin: 0;
    font-size: 10.5px;
    color: #dc2626;
    font-weight: 600;
    min-height: 0;
    line-height: 1.15;
}

.te-field.has-error .te-input,
.te-field.has-error .te-phone-box,
.te-field.has-error .te-select {
    border-color: #dc2626 !important;
    background-color: #fef2f2 !important;
}

.te-alert {
    display: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    margin-bottom: 6px;
}

.te-alert.is-visible {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.te-alert--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.te-alert__retry {
    background: #b91c1c;
    color: #ffffff;
    border: none;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    cursor: pointer;
}

/* Autocomplete Suggestion Dropdown */
.te-suggest {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #ffffff;
    border: 1.25px solid var(--te-border);
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    margin-top: 2px;
    max-height: 160px;
    overflow-y: auto;
    display: none;
}

.te-suggest.is-open {
    display: block;
}

.te-suggest__item {
    width: 100%;
    padding: 6px 10px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid var(--te-border);
    cursor: pointer;
    font-size: 12px;
    color: var(--te-ink-dark);
    display: flex;
    flex-direction: column;
}

.te-suggest__item:last-child {
    border-bottom: none;
}

.te-suggest__item:hover,
.te-suggest__item:focus {
    background: var(--te-bg-subtle);
    color: var(--te-primary);
}

.te-suggest__item small {
    color: var(--te-ink-soft);
    font-size: 10px;
}

/* ===========================================================================
   Chips & Multi-Option Controls (Spacious, Clean & High Contrast)
   =========================================================================== */

.te-panel[data-te-panel="preferences"],
.te-panel[data-te-panel="customization"] {
    gap: 12px;
}

.te-panel[data-te-panel="preferences"] .te-label,
.te-panel[data-te-panel="customization"] .te-label {
    font-size: 12px;
    font-weight: 800;
    color: #11221C;
    margin-bottom: 5px;
}

.te-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.te-chips--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    width: 100%;
}

@media (max-width: 560px) {
    .te-chips--grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Base Chip Style */
.te-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    background: #faf9f6;
    border: 1.25px solid #ded8cf;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    transition: all .15s ease;
    user-select: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.te-chip:hover {
    background: #fff4ed;
    border-color: var(--te-primary);
    color: var(--te-primary);
}

.te-chip input {
    display: none;
}

.te-chip__tick {
    display: none;
    font-size: 10.5px;
    font-weight: 800;
}

/* Selected Chip Style */
.te-chip.is-selected {
    background: #fff2ea !important;
    border: 1.5px solid var(--te-primary) !important;
    color: #b43e0e !important;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(235, 102, 42, 0.16) !important;
}

.te-chip.is-selected .te-chip__tick {
    display: inline-block;
    color: var(--te-primary);
}

/* Budget Card Chip: Symmetric 3x2 Grid */
.te-chip--budget {
    border-radius: 8px;
    justify-content: center;
    padding: 8px 6px;
    font-size: 12px;
    font-weight: 800;
    color: var(--te-ink-dark);
    text-align: center;
}

.te-chip--budget.is-selected {
    background: #fff2ea !important;
    border: 1.5px solid var(--te-primary) !important;
    color: #b43e0e !important;
}

/* ===========================================================================
   Action Buttons
   =========================================================================== */

.te-action-row {
    margin-top: 6px;
}

.te-action-row--dual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.te-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 18px;
    font-size: 13.5px;
    font-weight: 800;
    font-family: inherit;
    border-radius: var(--te-radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s ease;
    white-space: nowrap;
}

.te-btn--submit-main {
    flex: 1;
    background: var(--te-primary);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(235, 102, 42, 0.3);
}

.te-btn--submit-main:hover {
    background: var(--te-primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(235, 102, 42, 0.4);
}

.te-btn--submit-main:active {
    transform: translateY(0);
}

.te-btn--ghost {
    flex: 0 0 auto;
    min-width: 110px;
    background: #f7f5f1;
    color: #4b5563;
    border: 1.25px solid var(--te-border);
    white-space: nowrap !important;
}

.te-btn--ghost:hover {
    background: #ffffff;
    border-color: var(--te-primary);
    color: var(--te-primary);
}

.te-btn--secondary {
    background: var(--te-primary-dark);
    color: #ffffff;
}

.te-btn--secondary:hover {
    background: #000000;
    color: #ffffff;
}

.te-btn.is-busy {
    opacity: 0.7;
    pointer-events: none;
}

.te-btn__spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid #ffffff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: teSpin .6s linear infinite;
}

.te-btn.is-busy .te-btn__spinner {
    display: inline-block;
}

@keyframes teSpin {
    to { transform: rotate(360deg); }
}

/* ===========================================================================
   Success Screen
   =========================================================================== */

.te-success {
    text-align: center;
    padding: 14px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.te-success__mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--te-primary-soft);
    color: var(--te-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    animation: tePop .35s cubic-bezier(.175, .885, .32, 1.275) forwards;
}

@keyframes tePop {
    from { transform: scale(0.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.te-success__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--te-ink-dark);
}

.te-success__text {
    margin: 0;
    font-size: 12px;
    color: var(--te-ink-soft);
    max-width: 440px;
    line-height: 1.4;
}

.te-success__ref {
    background: var(--te-bg-sidebar);
    border: 1px dashed var(--te-border);
    border-radius: 6px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0;
}

.te-success__ref-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--te-ink-soft);
    text-transform: uppercase;
}

.te-success__ref-value {
    font-size: 14px;
    font-weight: 800;
    color: var(--te-primary);
    letter-spacing: 0.03em;
}

.te-steps-next {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
    width: 100%;
    max-width: 400px;
    margin: 4px 0 8px;
    background: var(--te-bg-subtle);
    padding: 10px 14px;
    border-radius: 8px;
}

.te-steps-next__item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11.5px;
    color: var(--te-ink);
}

.te-steps-next__num {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--te-primary);
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.te-success__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Screen Reader Only Utility */
.te-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===========================================================================
   TOUR DETAIL PAGE — SIDEBAR LEAD CAPTURE EMBED
   =========================================================================== */

.tour-sidebar-lead-wrap {
    margin-top: 14px;
    width: 100%;
}

.tour-sidebar-lead-wrap .te-root {
    max-width: 100%;
    margin: 0;
}

.tour-sidebar-lead-wrap .te-page-layout {
    grid-template-columns: 1fr !important;
    background: #ffffff;
    border: 1px solid #eadfd8;
    border-left: 3.5px solid #eb662a;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(17, 34, 28, 0.06);
    overflow: hidden;
}

.tour-sidebar-lead-wrap .te-sidebar {
    display: none !important;
}

.tour-sidebar-lead-wrap .te-form-panel {
    padding: 16px 14px;
}

.tour-sidebar-lead-wrap .te-form-panel__header {
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0e4dc;
}

.tour-sidebar-lead-wrap .te-flow-steps {
    display: none !important;
}

.tour-sidebar-lead-wrap .te-form-panel__title {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.tour-sidebar-lead-wrap .te-form-panel__subtitle {
    font-size: 11.5px;
    color: #6b7280;
    line-height: 1.35;
    margin-top: 2px;
}

.tour-sidebar-lead-wrap .te-grid--2 {
    grid-template-columns: 1fr;
    gap: 7px;
}

.tour-sidebar-lead-wrap .te-pax-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.tour-sidebar-lead-wrap .te-section-title {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #eb662a;
    margin-top: 4px;
    margin-bottom: 2px;
}

.tour-sidebar-lead-wrap .te-field {
    gap: 2px;
}

.tour-sidebar-lead-wrap .te-input,
.tour-sidebar-lead-wrap .te-select,
.tour-sidebar-lead-wrap .te-phone-box {
    height: 35px;
    background: #fffcfa;
    border: 1px solid #e8ddd6;
}

.tour-sidebar-lead-wrap .te-input:focus,
.tour-sidebar-lead-wrap .te-select:focus,
.tour-sidebar-lead-wrap .te-phone-box:focus-within {
    border-color: #eb662a;
    background: #ffffff;
}

.tour-sidebar-lead-wrap .te-btn--submit-main {
    height: 40px;
    font-size: 14px;
    font-weight: 800;
    background: #eb662a;
}

