#mszv-chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    font-family: 'DM Sans', system-ui, sans-serif;
}

#mszv-chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #c0392b;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(192,57,43,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, transform .15s;
    margin-left: auto;
}
#mszv-chat-toggle:hover { background: #a5301f; transform: scale(1.06); }

#mszv-chat-box {
    position: absolute;
    bottom: 68px;
    right: 0;
    width: 340px;
    max-height: 520px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(44,62,80,.18);
    border: 1px solid #f0e4e4;
    flex-direction: column;
    overflow: hidden;
    animation: mszvChatIn .2s ease;
}
@keyframes mszvChatIn {
    from { opacity: 0; transform: translateY(12px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

#mszv-chat-header {
    background: #c0392b;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}
#mszv-chat-close-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,.8);
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    line-height: 1;
    transition: color .1s;
}
#mszv-chat-close-btn:hover { color: #fff; }

#mszv-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #faf9f9;
}

.mszv-msg {
    display: flex;
    max-width: 88%;
}
.mszv-msg-user { margin-left: auto; }
.mszv-msg-bot  { margin-right: auto; }

.mszv-msg span {
    display: inline-block;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    word-break: break-word;
}
.mszv-msg-user span {
    background: #c0392b;
    color: #fff;
    border-bottom-right-radius: 4px;
}
.mszv-msg-bot span {
    background: #fff;
    color: #2c3e50;
    border: 1px solid #eee;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 4px rgba(44,62,80,.06);
}

/* Typing dots */
.mszv-typing span {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 12px 14px;
}
.mszv-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c0392b;
    opacity: .4;
    animation: mszvDot 1.2s infinite;
    display: inline-block;
}
.mszv-dot:nth-child(2) { animation-delay: .2s; }
.mszv-dot:nth-child(3) { animation-delay: .4s; }
@keyframes mszvDot {
    0%, 80%, 100% { opacity: .4; transform: scale(1); }
    40%            { opacity: 1;  transform: scale(1.3); }
}

#mszv-chat-input-row {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #f0e4e4;
    background: #fff;
    flex-shrink: 0;
}
#mszv-chat-input {
    flex: 1;
    border: 1px solid #e4e8ec;
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    color: #2c3e50;
    transition: border-color .15s;
}
#mszv-chat-input:focus { border-color: #c0392b; }
#mszv-chat-input:disabled { background: #f5f5f5; }
#mszv-chat-send {
    background: #c0392b;
    border: none;
    border-radius: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .15s;
}
#mszv-chat-send:hover { background: #a5301f; }
#mszv-chat-send:disabled { background: #d4a4a4; cursor: not-allowed; }

@media (max-width: 480px) {
    #mszv-chat-box { width: calc(100vw - 32px); right: -8px; }
}

/* Disclaimer sáv */
#mszv-chat-disclaimer {
    background: #fff8e6;
    border-bottom: 1px solid #fde68a;
    padding: 6px 14px;
    font-size: 11.5px;
    color: #92400e;
    text-align: center;
    flex-shrink: 0;
}
#mszv-chat-disclaimer a {
    color: #b45309;
    text-decoration: underline;
    font-weight: 600;
}

/* Email gyorsgomb */
.mszv-email-offer {
    display: flex;
    justify-content: flex-start;
    padding: 4px 0 0;
}
.mszv-email-btn {
    display: inline-block;
    background: #1d4ed8;
    color: #fff !important;
    text-decoration: none !important;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    transition: background .15s;
    border: none;
    cursor: pointer;
}
.mszv-email-btn:hover { background: #1e40af; }
