/* ============================================================
   ToUr 7 AI Travel Assistant
   ============================================================ */
.tour7-ai-hero-btn {
    border: 1px solid rgba(255,255,255,.75);
    background: rgba(255,255,255,.96);
    color: var(--g);
    cursor: pointer;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.tour7-ai-hero-btn:hover { transform: translateY(-1px); }

.tour7-ai-launcher {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9998;
    border: 0;
    border-radius: 999px;
    background: var(--g);
    color: #fff;
    min-height: 52px;
    padding: 0 18px;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tour7-ai-launcher:hover { transform: translateY(-2px); }

.tour7-ai-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(5,24,16,.46);
    display: none;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px;
}
.tour7-ai-backdrop.open { display: flex; }

.tour7-ai-panel {
    width: min(430px, 100%);
    height: min(680px, calc(100vh - 40px));
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
    display: flex;
    flex-direction: column;
}
.tour7-ai-head {
    background: linear-gradient(135deg, var(--g), var(--gd));
    color: #fff;
    padding: 17px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.tour7-ai-head strong { font-size: 16px; display:block; }
.tour7-ai-head small { opacity: .82; display:block; margin-top:3px; }
.tour7-ai-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}
.tour7-ai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f7faf8;
}
.tour7-ai-msg {
    max-width: 88%;
    padding: 11px 13px;
    border-radius: 15px;
    margin-bottom: 10px;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 14px;
    line-height: 1.5;
}
.tour7-ai-msg.bot {
    background: #fff;
    border: 1px solid #e1e9e4;
    color: #173025;
    border-top-left-radius: 5px;
}
.tour7-ai-msg.user {
    margin-left: auto;
    background: var(--g);
    color: #fff;
    border-top-right-radius: 5px;
}
.tour7-ai-quick {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 10px 14px 2px;
    background: #fff;
}
.tour7-ai-quick button {
    flex: 0 0 auto;
    border: 1px solid #cfe0d6;
    background: #f7fbf8;
    color: var(--g);
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.tour7-ai-form {
    display: flex;
    gap: 8px;
    padding: 12px 14px 14px;
    background: #fff;
    border-top: 1px solid #e6ece8;
}
.tour7-ai-input {
    min-width: 0;
    flex: 1;
    border: 1px solid #ccd9d1;
    border-radius: 13px;
    padding: 11px 12px;
    outline: none;
    resize: none;
    min-height: 44px;
    max-height: 110px;
}
.tour7-ai-input:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(0,107,63,.09); }
.tour7-ai-send {
    align-self: stretch;
    border: 0;
    border-radius: 13px;
    padding: 0 16px;
    background: var(--r);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
.tour7-ai-send:disabled { opacity: .55; cursor: wait; }
.tour7-ai-status {
    padding: 0 15px 10px;
    background: #fff;
    color: #718078;
    font-size: 11px;
}

@media (max-width: 600px) {
    .tour7-ai-launcher {
        right: 12px;
        bottom: 12px;
        min-height: 48px;
        padding: 0 14px;
        font-size: 13px;
    }
    .tour7-ai-backdrop { padding: 0; align-items: stretch; }
    .tour7-ai-panel {
        width: 100%;
        height: 100%;
        max-height: none;
        border-radius: 0;
    }
    .tour7-ai-hero-btn { width: 100%; }
}
