.tm-chatbot {
    --tm-cb-orange: #1e88e5;
    --tm-cb-orange-dark: #1565c0;
    --tm-cb-accent: #42a5f5;
    --tm-cb-accent-2: #1e88e5;
    --tm-cb-on-primary: #ffffff;
    --tm-cb-header: #d6eaf8;
    --tm-cb-bg: #f5f9ff;
    --tm-cb-panel: #ffffff;
    --tm-cb-text: #2c3e50;
    --tm-cb-muted: #7b8794;
    --tm-cb-border: #dce6f0;
    --tm-cb-bubble: #e8f1fb;
    --tm-cb-user-bubble: #ffffff;
    --tm-cb-launcher-size: 72px;
    --tm-cb-origin-right: 20px;
    --tm-cb-origin-bottom: 20px;
    position: fixed;
    right: var(--tm-cb-origin-right);
    bottom: var(--tm-cb-origin-bottom);
    z-index: 99999;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

.tm-chatbot > * {
    pointer-events: auto;
}

.tm-chatbot__launcher {
    position: fixed;
    right: var(--tm-cb-origin-right);
    bottom: var(--tm-cb-origin-bottom);
    width: var(--tm-cb-launcher-size);
    height: var(--tm-cb-launcher-size);
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(30, 64, 120, 0.16);
    cursor: move !important;
    overflow: hidden;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    z-index: 100000;
    animation: tm-chatbot-bob 2.4s ease-in-out infinite;
}

.tm-chatbot__launcher:active {
    cursor: grabbing;
}

.tm-chatbot__launcher.is-dragging {
    animation: none;
    cursor: grabbing;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.tm-chatbot__launcher:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.tm-chatbot__launcher[hidden] {
    display: none !important;
}

.tm-chatbot__launcher-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    border-radius: 50%;
}

@keyframes tm-chatbot-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
    .tm-chatbot__launcher { animation: none; }
}

.tm-chatbot__panel {
    width: min(440px, calc(100vw - 24px));
    min-width: min(440px, calc(100vw - 24px));
    height: min(620px, calc(100vh - 40px));
    margin: 0;
    background: var(--tm-cb-panel);
    border: 0;
    border-radius: 18px 18px 14px 14px;
    box-shadow: 0 12px 40px rgba(30, 64, 120, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tm-chatbot__panel[hidden] {
    display: none !important;
}

.tm-chatbot__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 4px 16px;
    background: var(--tm-cb-header);
    color: var(--tm-cb-text);
    border-bottom: 0;
}

.tm-chatbot__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.tm-chatbot__avatar-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(30, 64, 120, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.tm-chatbot__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
    flex-shrink: 0;
}

.tm-chatbot__brand-text {
    min-width: 0;
}

.tm-chatbot__title-row {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.tm-chatbot__title {
    display: block;
    color: #1f2937;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.tm-chatbot__beta {
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    margin-top: 2px;
    color: var(--tm-cb-orange-dark);
    background: rgba(30, 136, 229, 0.12);
    border-radius: 999px;
    padding: 2px 6px;
    opacity: 1;
}

.tm-chatbot__status {
    margin: 3px 0 0;
    color: var(--tm-cb-muted);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tm-chatbot__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
    flex-shrink: 0;
}

.tm-chatbot__header-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
    align-items: center;
}

.tm-chatbot__menu-wrap {
    position: relative;
}

.tm-chatbot__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(30, 64, 120, 0.16);
    padding: 6px;
    z-index: 30;
}

.tm-chatbot__menu[hidden] {
    display: none !important;
}

.tm-chatbot__menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #1f2937;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
}

.tm-chatbot__menu-item:hover {
    background: #f0f6fc;
}

.tm-chatbot__icon-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #5b6b7c;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tm-chatbot__icon-btn:hover {
    background: rgba(30, 136, 229, 0.1);
    color: var(--tm-cb-orange-dark);
}

.tm-chatbot__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--tm-cb-bg);
}

.tm-chatbot__messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tm-chatbot__msg-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    max-width: 92%;
}

.tm-chatbot__msg-block--enter {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.tm-chatbot__msg-block--enter.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tm-chatbot__msg-block--user {
    align-self: flex-end;
    align-items: flex-end;
}

.tm-chatbot__msg-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 100%;
}

.tm-chatbot__msg-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 1px 4px rgba(30, 64, 120, 0.12);
    flex-shrink: 0;
}

.tm-chatbot__msg-label {
    display: none;
}

.tm-chatbot__msg {
    padding: 11px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
    font-weight: 500;
}

.tm-chatbot__msg--bot {
    background: var(--tm-cb-bubble);
    color: var(--tm-cb-text);
    border-bottom-left-radius: 6px;
}

.tm-chatbot__msg--user {
    background: var(--tm-cb-user-bubble);
    color: var(--tm-cb-text);
    border: 1px solid #e6edf5;
    box-shadow: 0 2px 8px rgba(30, 64, 120, 0.06);
    border-bottom-right-radius: 6px;
}

.tm-chatbot__msg--error {
    background: #fff1f0;
    border: 1px solid #f5c2c0;
    color: #842029;
}

.tm-chatbot__typing {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 12px 16px;
    border-radius: 16px;
    border-bottom-left-radius: 6px;
    background: #fff;
    border: 1px solid #e6edf5;
    box-shadow: 0 2px 8px rgba(30, 64, 120, 0.06);
}

.tm-chatbot__typing-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9aa8b8;
    animation: tm-chatbot-typing-bounce 1.2s ease-in-out infinite;
}

.tm-chatbot__typing-dot:nth-child(2) {
    animation-delay: 0.15s;
}

.tm-chatbot__typing-dot:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes tm-chatbot-typing-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tm-chatbot__typing-dot {
        animation: none;
        opacity: 0.7;
    }

    .tm-chatbot__msg-block--enter {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.tm-chatbot__main-menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0 8px;
}

.tm-chatbot__main-menu-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 14px;
    border: 1px solid #dce8f5;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 2px 10px rgba(30, 64, 120, 0.05);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}

.tm-chatbot__main-menu-row:hover {
    transform: translateY(-1px);
    border-color: #9ec5ea;
    box-shadow: 0 6px 16px rgba(30, 136, 229, 0.12);
}

.tm-chatbot__main-menu-row.is-whatsapp {
    border-color: #b7ebc9;
    background: linear-gradient(180deg, #ffffff 0%, #f3fbf6 100%);
}

.tm-chatbot__main-menu-row.is-whatsapp:hover {
    border-color: #25d366;
}

.tm-chatbot__main-menu-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(30, 136, 229, 0.1);
    color: var(--tm-cb-orange-dark);
}

.tm-chatbot__main-menu-row.is-whatsapp .tm-chatbot__main-menu-ico {
    background: rgba(37, 211, 102, 0.14);
    color: #128c7e;
}

.tm-chatbot__main-menu-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}

.tm-chatbot__main-menu-arrow {
    color: #94a3b8;
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
}

.tm-chatbot__suggestions-wrap,
.tm-chatbot__suggestions,
.tm-chatbot__show-suggestions,
.tm-chatbot__wa-chip {
    display: none !important;
}

.tm-chatbot__suggestions-wrap {
    padding: 0;
}

.tm-chatbot__suggestions-wrap.is-hidden {
    display: none;
}

.tm-chatbot__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tm-chatbot__suggestions button {
    border: 1px solid #cfe0f0;
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(30, 64, 120, 0.04);
}

.tm-chatbot__suggestions button:hover {
    border-color: var(--tm-cb-orange);
    color: var(--tm-cb-orange-dark);
    background: #f0f7ff;
}

.tm-chatbot__wa-chip {
    border: 1px solid #cfe0f0;
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.tm-chatbot__wa-chip:hover {
    border-color: #25d366;
    color: #128c7e;
}

.tm-chatbot__contact-intro {
    margin: 0 0 14px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

.tm-chatbot__phone-wrap {
    position: relative;
    margin-bottom: 12px;
}

.tm-chatbot__phone-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.tm-chatbot__phone-prefix {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid #e4e6ea;
    border-right: 0;
    border-radius: 12px 0 0 12px;
    background: #f7f8fa;
    color: #4b5563;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    font-family: inherit;
}

.tm-chatbot__phone-prefix img {
    width: 22px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.tm-chatbot__phone-caret {
    font-size: 10px;
    color: #9ca3af;
}

.tm-chatbot__phone-row .tm-chatbot__input {
    border-radius: 0 12px 12px 0;
    margin-bottom: 0;
}

.tm-chatbot__country-box {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 40;
    height: 260px;
    overflow: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 8px 0 rgb(0 0 0 / 24%), 0 0 8px 0 rgb(0 0 0 / 12%);
    scrollbar-width: thin;
}

.tm-chatbot__country-box[hidden] {
    display: none !important;
}

.tm-chatbot__country-search {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 12px;
    background: #fff;
    border-bottom: 1px solid #eef0f3;
}

.tm-chatbot__country-search input {
    width: 100%;
    border: 1px solid #e4e6ea;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.tm-chatbot__country-search input:focus {
    border-color: var(--tm-cb-orange);
}

.tm-chatbot__country-list {
    list-style: none;
    margin: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tm-chatbot__country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.tm-chatbot__country-item:hover {
    color: var(--tm-cb-orange-dark);
}

.tm-chatbot__country-item img {
    width: 30px;
    height: 20px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.tm-chatbot__textarea {
    width: 100%;
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    background: #fff;
    resize: vertical;
    min-height: 96px;
    margin-bottom: 12px;
}

.tm-chatbot__textarea:focus {
    border-color: var(--tm-cb-orange);
}

.tm-chatbot__link-btn {
    margin-top: 10px;
    border: 0;
    background: transparent;
    color: var(--tm-cb-orange);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.tm-chatbot__link-btn:hover {
    text-decoration: underline;
}

.tm-chatbot__hide-suggestions,
.tm-chatbot__show-suggestions {
    display: none !important;
}

.tm-chatbot__show-suggestions {
    display: block;
    padding: 0 14px 10px;
    text-align: left;
}

.tm-chatbot__show-suggestions[hidden] {
    display: none !important;
}

.tm-chatbot__hide-suggestions:hover,
.tm-chatbot__show-suggestions:hover {
    text-decoration: underline;
}

.tm-chatbot__flights-block {
    width: 100%;
    margin-top: 6px;
}

.tm-chatbot__flights {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.tm-chatbot__flights::-webkit-scrollbar {
    height: 4px;
}

.tm-chatbot__flights::-webkit-scrollbar-thumb {
    background: #d7dbe2;
    border-radius: 999px;
}

.tm-chatbot__flight-card {
    flex: 0 0 min(290px, 86%);
    scroll-snap-align: start;
    border: 1px solid var(--tm-cb-border);
    border-radius: 14px;
    padding: 12px;
    background: #fff;
    box-sizing: border-box;
}

.tm-chatbot__flight-card--rt {
    flex-basis: min(310px, 90%);
}

.tm-chatbot__flight-leg-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto 4px;
    padding: 3px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    width: fit-content;
    max-width: 100%;
}

.tm-chatbot__flight-card--rt .tm-chatbot__flight-leg-label {
    display: flex;
}

.tm-chatbot__flight-leg-no {
    text-align: center;
    font-size: 11px;
    color: var(--tm-cb-muted);
    margin-bottom: 6px;
}

.tm-chatbot__flight-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.tm-chatbot__flight-airline-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.tm-chatbot__flight-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

.tm-chatbot__flight-airline-code {
    font-weight: 700;
    font-size: 14px;
    color: var(--tm-cb-text);
    line-height: 1.2;
}

.tm-chatbot__flight-no {
    font-size: 11px;
    color: var(--tm-cb-muted);
    margin-top: 2px;
}

.tm-chatbot__flight-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
}

.tm-chatbot__flight-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 7px;
    border-radius: 999px;
    white-space: nowrap;
}

.tm-chatbot__flight-badge--stops {
    background: #e8f8ef;
    color: #1b7a45;
}

.tm-chatbot__flight-badge--refund {
    background: #eefaf2;
    color: #1b7a45;
}

.tm-chatbot__flight-schedule {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.tm-chatbot__flight-leg {
    min-width: 0;
}

.tm-chatbot__flight-leg--arr {
    text-align: right;
}

.tm-chatbot__flight-time {
    font-size: 16px;
    font-weight: 700;
    color: var(--tm-cb-text);
    line-height: 1.2;
}

.tm-chatbot__flight-code {
    font-size: 12px;
    color: var(--tm-cb-muted);
    margin-top: 2px;
}

.tm-chatbot__flight-mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 70px;
}

.tm-chatbot__flight-duration {
    font-size: 11px;
    font-weight: 600;
    color: var(--tm-cb-orange);
}

.tm-chatbot__flight-line {
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f3f4f6, var(--tm-cb-orange), #f3f4f6);
    position: relative;
}

.tm-chatbot__flight-line::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tm-cb-orange);
    transform: translateY(-50%);
}

.tm-chatbot__flight-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    color: var(--tm-cb-muted);
    margin-bottom: 10px;
}

.tm-chatbot__flight-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid #f0f2f5;
    padding-top: 10px;
}

.tm-chatbot__flight-total-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tm-cb-muted);
    font-weight: 600;
}

.tm-chatbot__flight-total-price {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    font-weight: 700;
    color: var(--tm-cb-text);
}

.tm-chatbot__btn-book {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1.5px solid var(--tm-cb-orange);
    background: #fff;
    color: var(--tm-cb-orange);
    white-space: nowrap;
}

.tm-chatbot__btn-book:hover {
    background: var(--tm-cb-orange);
    color: #fff;
}

.tm-chatbot__view-all-wrap {
    margin-top: 8px;
}

.tm-chatbot__btn-all {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 16px;
    border-radius: 999px;
    background: var(--tm-cb-orange);
    color: #fff;
}

.tm-chatbot__btn-all:hover {
    filter: brightness(0.96);
}

.tm-chatbot__composer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px 10px;
    border-top: 0;
    background: #fff;
}

.tm-chatbot__composer-shell {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #d5e2ef;
    border-radius: 999px;
    padding: 4px 4px 4px 6px;
    box-shadow: 0 2px 10px rgba(30, 64, 120, 0.05);
}

.tm-chatbot__composer input {
    flex: 1;
    border: 0;
    border-radius: 999px;
    padding: 10px 4px;
    font-size: 14px;
    outline: none;
    background: transparent;
    font-family: inherit;
    color: var(--tm-cb-text);
    min-width: 0;
}

.tm-chatbot__composer input::placeholder {
    color: #9aa8b8;
}

.tm-chatbot__composer-menu {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #5b6b7c;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: none !important;
    padding: 0;
}

.tm-chatbot__composer-menu:hover {
    background: rgba(30, 136, 229, 0.1);
    color: var(--tm-cb-orange-dark);
    filter: none;
}

.tm-chatbot__composer #tmChatbotSend,
.tm-chatbot__composer-shell > #tmChatbotSend {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--tm-cb-orange);
    color: var(--tm-cb-on-primary, #fff);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.35);
}

.tm-chatbot__composer #tmChatbotSend:hover,
.tm-chatbot__composer-shell > #tmChatbotSend:hover {
    filter: brightness(1.05);
}

.tm-chatbot__composer #tmChatbotSend:disabled,
.tm-chatbot__composer-shell > #tmChatbotSend:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.tm-chatbot__disclaimer {
    margin: 0;
    padding: 6px 14px 12px;
    font-size: 10px;
    line-height: 1.4;
    color: #8b919a;
    background: #fff;
}

.tm-chatbot__agent-links,
.tm-chatbot__booking-links {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tm-chatbot__agent-links a,
.tm-chatbot__booking-links a {
    font-size: 12px;
    font-weight: 600;
    color: var(--tm-cb-orange-dark);
}

.tm-chatbot__action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    background: var(--tm-cb-orange);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.25);
}

.tm-chatbot__action-btn:hover {
    background: var(--tm-cb-orange-dark);
    color: #fff !important;
    filter: brightness(1.02);
}

.tm-chatbot__main {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.tm-chatbot__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.tm-chatbot__flow {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.tm-chatbot__flow[hidden],
.tm-chatbot__body[hidden] {
    display: none !important;
}

.tm-chatbot__flow-top {
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    align-items: center;
    padding: 12px 14px 0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}

.tm-chatbot__flow-back,
.tm-chatbot__flow-close {
    border: 0;
    background: transparent;
    color: var(--tm-cb-orange);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    font-family: inherit;
    text-align: left;
}

.tm-chatbot__flow-close {
    text-align: right;
    font-size: 20px;
    line-height: 1;
}

.tm-chatbot__flow-title {
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.tm-chatbot__flow-progress {
    height: 3px;
    background: #eceef2;
    margin: 10px 0 0;
}

.tm-chatbot__flow-progress > span {
    display: block;
    height: 100%;
    background: var(--tm-cb-orange);
    width: 0%;
    transition: width 0.2s ease;
}

.tm-chatbot__flow-content {
    padding: 16px 16px 20px;
    flex: 1;
}

.tm-chatbot__flow-heading {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.tm-chatbot__flow-label {
    display: block;
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8b919a;
    font-weight: 600;
}

.tm-chatbot__choice {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e4e6ea;
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: #111;
}

.tm-chatbot__choice:hover,
.tm-chatbot__choice.is-selected {
    border-color: var(--tm-cb-orange);
    background: #fff8f2;
}

.tm-chatbot__choice-sub {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    color: #8b919a;
}

.tm-chatbot__input,
.tm-chatbot__date {
    width: 100%;
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    background: #fff;
    cursor: pointer;
}

.tm-chatbot__input:focus,
.tm-chatbot__date:focus {
    border-color: var(--tm-cb-orange);
}

/* pickadate root should sit above chatbot panel */
.picker {
    z-index: 100050 !important;
}

.tm-chatbot__airport-wrap {
    position: relative;
}

.tm-chatbot__airport-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    max-height: 180px;
    overflow-y: auto;
    background: #fff;
}

.tm-chatbot__airport-list li {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    border-bottom: 1px solid #f0f1f3;
}

.tm-chatbot__airport-list li:last-child {
    border-bottom: 0;
}

.tm-chatbot__airport-list li:hover {
    background: #fff8f2;
}

.tm-chatbot__date-card {
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.tm-chatbot__pax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f1f3;
}

.tm-chatbot__pax-row:last-child {
    border-bottom: 0;
}

.tm-chatbot__pax-meta strong {
    display: block;
    font-size: 15px;
    color: #111;
}

.tm-chatbot__pax-meta span {
    font-size: 12px;
    color: #8b919a;
}

.tm-chatbot__pax-ctrl {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tm-chatbot__pax-ctrl button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #d8dbe0;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.tm-chatbot__pax-ctrl button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.tm-chatbot__summary {
    background: #f5f6f8;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.tm-chatbot__summary h4 {
    margin: 0 0 12px;
    text-align: center;
    font-size: 15px;
}

.tm-chatbot__summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #e8eaee;
}

.tm-chatbot__summary-row:last-child {
    border-bottom: 0;
}

.tm-chatbot__summary-row span {
    color: #8b919a;
}

.tm-chatbot__summary-row strong {
    color: #111;
}

.tm-chatbot__next {
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 13px 16px;
    background: var(--tm-cb-orange);
    color: var(--tm-cb-on-primary, #fff);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    margin-top: 14px;
}

.tm-chatbot__next:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.tm-chatbot__faq-item {
    border: 1px solid #e4e6ea;
    border-radius: 12px;
    margin-bottom: 8px;
    background: #fff;
    overflow: hidden;
}

.tm-chatbot__faq-q {
    width: 100%;
    border: 0;
    background: #fff;
    text-align: left;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.tm-chatbot__faq-a {
    display: none;
    padding: 0 14px 12px;
    font-size: 12px;
    color: #555;
    line-height: 1.45;
}

.tm-chatbot__faq-item.is-open .tm-chatbot__faq-a {
    display: block;
}

.tm-chatbot__composer.is-flow-hidden {
    display: none;
}

.tm-chatbot__manage-summary {
    background: #f4f8fc;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--tm-cb-text, #1e3a5f);
}

.tm-chatbot__choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tm-chatbot__choice-col {
    display: flex;gap: 8px;flex-wrap: wrap;
}

.tm-chatbot__choice-btn {
    appearance: none;
    border: 1px solid #9f9f9f96;
    background: #fff;
    color: #1e3a5f;
    border-radius: 26px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 1px 4px rgba(30, 64, 120, 0.06);
}

.tm-chatbot__choice-btn:hover {
    border-color: #9fc0e0;
    background: #f7fbff;
}

.tm-chatbot__choice-btn--block {
    width: fit-content;
}

.tm-chatbot__check-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.tm-chatbot__check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e6edf5;
    border-radius: 12px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.tm-chatbot__check-item em {
    font-style: normal;
    color: #7a8a9a;
    font-weight: 500;
}

.tm-chatbot__check-item input {
    margin-top: 2px;
}

.tm-chatbot__textarea {
    min-height: 88px;
    resize: vertical;
    margin-bottom: 12px;
    line-height: 1.45;
}

.tm-chatbot__file {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
}

.tm-chatbot__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.tm-chatbot__file-box {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1.5px dashed var(--tm-cb-border, #dce6f0);
    border-radius: 12px;
    background: #f7fbff;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.tm-chatbot__file:hover .tm-chatbot__file-box,
.tm-chatbot__file:focus-within .tm-chatbot__file-box {
    border-color: var(--tm-cb-orange, #1e88e5);
    background: #eef6ff;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.12);
}

.tm-chatbot__file.is-filled .tm-chatbot__file-box {
    border-style: solid;
    border-color: #90caf9;
    background: #fff;
}

.tm-chatbot__file-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    color: var(--tm-cb-orange, #1e88e5);
}

.tm-chatbot__file.is-filled .tm-chatbot__file-icon {
    background: #e8f5e9;
    color: #2e7d32;
}

.tm-chatbot__file-meta {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tm-chatbot__file-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--tm-cb-text, #2c3e50);
    line-height: 1.3;
}

.tm-chatbot__file-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--tm-cb-muted, #7b8794);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tm-chatbot__file.is-filled .tm-chatbot__file-name {
    color: #1e3a5f;
}

.tm-chatbot__file-btn {
    flex: 0 0 auto;
    padding: 7px 12px;
    border-radius: 8px;
    background: var(--tm-cb-orange, #1e88e5);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.tm-chatbot__panel--fullscreen {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    z-index: 2147483000;
}

.tm-chatbot.is-fullscreen .tm-chatbot__launcher {
    display: none !important;
}

.tm-chatbot__collapse-icon[hidden],
.tm-chatbot__expand-icon[hidden] {
    display: none !important;
}
