#mhu-cs-bot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2147483647 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#mhu-cs-bot-toggle {
    background: #B03A63;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(176, 58, 99, 0.4);
    font-weight: 600;
    text-align: center;
    font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}
#mhu-cs-bot-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(176, 58, 99, 0.5);
}
#mhu-cs-bot-window {
    width: 320px;
    height: 450px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 15px;
    position: absolute;
    bottom: 50px;
    right: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform-origin: bottom right;
}
#mhu-cs-bot-window.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}
.mhu-bot-header {
    background: #B03A63;
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}
.mhu-bot-header button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.mhu-bot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f7f9fc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mhu-bot-messages .message {
    max-width: 85%;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}
.mhu-bot-messages .message.bot {
    background: #ffffff;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.mhu-bot-messages .message.bot.loading {
    color: #888;
    font-style: italic;
}
.mhu-bot-messages .message.user {
    background: #B03A63;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 5px rgba(176, 58, 99, 0.3);
}
.mhu-bot-input {
    display: flex;
    padding: 12px;
    border-top: 1px solid #eaeaea;
    background: #fff;
    align-items: center;
}
.mhu-bot-input input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s;
}
.mhu-bot-input input:focus {
    border-color: #B03A63;
}
.mhu-bot-input button {
    background: #B03A63;
    color: white;
    border: none;
    padding: 10px 16px;
    margin-left: 8px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s;
}
.mhu-bot-input button:hover {
    background: #902a4e;
}
.mhu-bot-input button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    #mhu-cs-bot-window {
        width: calc(100vw - 40px);
        height: 60vh;
    }
}
