#sla-chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 62px;
    height: 62px;
    background: #1e73be;
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

#sla-chat-window {
    position: fixed;
    bottom: 95px;
    right: 20px;
    width: 340px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    z-index: 999999;
    box-shadow: 0 6px 24px rgba(0,0,0,0.25);
    display: none;
}

#sla-chat-header {
    background: #1e73be;
    color: #fff;
    padding: 14px;
    font-weight: bold;
}

#sla-chat-close {
    float: right;
    cursor: pointer;
}

#sla-chat-body {
    padding: 15px;
}

#sla-chat-body input,
#sla-chat-body textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px;
    box-sizing: border-box;
}

#sla-chat-body textarea {
    min-height: 120px;
    resize: vertical;
}

#sla-chat-body button {
    width: 100%;
    padding: 12px;
    background: #1e73be;
    color: #fff;
    border: 0;
    cursor: pointer;
}

#sla-chat-response {
    margin-top: 12px;
    font-size: 14px;
}

.sla-hp-wrap {
    position: absolute;
    left: -99999px;
    height: 0;
    overflow: hidden;
}

.sla-captcha-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: bold;
}

#sla-agent-status {
    font-weight: bold;
    color: #ffffff;
}

#sla-chat-bubble span {
    font-size: 14px;
    font-weight: bold;
}

#sla-chat-thread {
    margin-top: 12px;
    max-height: 180px;
    overflow-y: auto;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.sla-thread-msg {
    padding: 8px;
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 13px;
}

.sla-thread-visitor {
    background: #eef5ff;
}

.sla-thread-agent {
    background: #f1f1f1;
}

.sla-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.sla-status-online {
    background: #21a742;
}

.sla-status-offline {
    background: #aaa;
}

#sla-start-new-chat {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #555;
    color: #fff;
    border: 0;
    cursor: pointer;
}

#sla-typing-indicator {
    margin-top: 6px;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.sla-dots {
    animation: slaDots 1s steps(3, end) infinite;
}

@keyframes slaDots {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}