/* SB & Partners Legal Assistant Chatbot Styles */
#sb-chatbot-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0aa4d 0%, #b88628 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}
#sb-chatbot-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 25px rgba(224, 170, 77, 0.5);
}
#sb-chatbot-btn svg {
    width: 28px;
    height: 28px;
    fill: #0f0f2d;
}

#sb-chatbot-window {
    position: fixed;
    bottom: 95px;
    right: 25px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 520px;
    max-height: calc(100vh - 120px);
    background: #121231;
    border: 1px solid #2a2a60;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    display: none;
    flex-direction: column;
    z-index: 99999;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#sb-chatbot-header {
    background: #0f0f2d;
    padding: 16px 18px;
    border-bottom: 1px solid #242452;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#sb-chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sb-bot-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e0aa4d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #0f0f2d;
    font-size: 13px;
}
.sb-bot-title-wrap h4 {
    margin: 0;
    color: #e0aa4d;
    font-size: 14px;
    font-weight: 600;
}
.sb-bot-title-wrap span {
    font-size: 11px;
    color: #4cd964;
}
#sb-chatbot-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
}
#sb-chatbot-close:hover { color: #fff; }

#sb-chatbot-body {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #141438;
}

.sb-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.45;
    word-break: break-word;
}
.sb-msg-bot {
    align-self: flex-start;
    background: #1f1f4d;
    color: #e8e8f8;
    border-bottom-left-radius: 2px;
    border: 1px solid #2a2a60;
}
.sb-msg-user {
    align-self: flex-end;
    background: #e0aa4d;
    color: #0f0f2d;
    font-weight: 500;
    border-bottom-right-radius: 2px;
}

.sb-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}
.sb-quick-btn {
    background: #1b1b42;
    border: 1px solid #363675;
    color: #dcdcf7;
    padding: 6px 10px;
    border-radius: 14px;
    font-size: 11.5px;
    cursor: pointer;
    transition: 0.2s;
}
.sb-quick-btn:hover {
    background: #e0aa4d;
    color: #0f0f2d;
    border-color: #e0aa4d;
}

#sb-chatbot-footer {
    padding: 12px 14px;
    background: #0f0f2d;
    border-top: 1px solid #242452;
    display: flex;
    gap: 8px;
}
#sb-chatbot-input {
    flex: 1;
    background: #1a1a40;
    border: 1px solid #363675;
    border-radius: 20px;
    padding: 9px 14px;
    color: #fff;
    font-size: 13.5px;
    outline: none;
}
#sb-chatbot-input:focus { border-color: #e0aa4d; }
#sb-chatbot-send {
    background: #e0aa4d;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
#sb-chatbot-send:hover { background: #ffc966; }
#sb-chatbot-send svg {
    width: 16px;
    height: 16px;
    fill: #0f0f2d;
}
