#mtbot.mtbot {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2147483647;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

#mtbot .mtbot-toggle {
    background: #21cdc0;
    border: none;
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

#mtbot .mtbot-panel {
    width: 320px;
    max-width: calc(100vw - 20px);
    max-height: 70vh;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,.16);
    overflow: hidden;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

#mtbot .mtbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #21cdc0;
    color: #fff;
}

#mtbot .mtbot-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

#mtbot .mtbot-msgs {
    padding: 10px 12px;
    overflow: auto;
    max-height: 38vh;
    background: #fafafa;
}

#mtbot .mtbot-bubble {
    margin: 6px 0;
    padding: 8px 10px;
    border-radius: 10px;
    max-width: 85%;
    word-wrap: break-word;
}

#mtbot .mtbot-bubble-bot {
    background: #fff;
    border: 1px solid #eee;
    color: #222;
}

#mtbot .mtbot-bubble-user {
    background: #21cdc0;
    color: #fff;
    margin-left: auto;
}

#mtbot .mtbot-form {
    display: flex;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid #eee;
    background: #fff;
}

#mtbot .mtbot-form input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 0;
}

#mtbot .mtbot-form button {
    background: #21cdc0;
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

#mtbot .mtbot-footer {
    font-size: 12px;
    color: #666;
    padding: 8px 10px;
    border-top: 1px dashed #eee;
    background: #fff;
}

@media (max-width: 576px) {
    #mtbot.mtbot {
        right: 10px;
        left: 10px;
        bottom: 10px;
    }

    #mtbot .mtbot-panel {
        width: 100%;
    }
}


#mtbot .mtbot-welcome {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#mtbot .mtbot-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

#mtbot .mtbot-suggestion {
    border: 1px solid #21cdc0;
    background: #ffffff;
    color: #21cdc0;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
    transition: all .15s ease;
}

#mtbot .mtbot-suggestion:hover,
#mtbot .mtbot-suggestion:focus {
    background: #21cdc0;
    color: #ffffff;
    outline: none;
}

#mtbot .mtbot-suggestion:disabled {
    opacity: 0.6;
    cursor: default;
}