#icc-chat-bubble {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7b2ff7, #6a1fd0);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999998;
    transition: transform 0.15s ease;
}
#icc-chat-bubble:hover { transform: scale(1.06); }
#icc-chat-bubble svg { width: 28px; height: 28px; fill: #fff; }

#icc-chat-window {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 340px;
    max-width: calc(100vw - 32px);
    height: 480px;
    max-height: calc(100vh - 140px);
    background: #1c1c24;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.35);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
#icc-chat-window.open { display: flex; }

#icc-chat-header {
    background: linear-gradient(135deg, #7b2ff7, #6a1fd0);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#icc-chat-header .icc-title { font-weight: 600; font-size: 15px; }
#icc-chat-header .icc-subtitle { font-size: 11px; opacity: 0.85; }
#icc-chat-close { cursor: pointer; font-size: 18px; line-height: 1; background: none; border: none; color: #fff; }

#icc-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #17171d;
}

.icc-msg {
    max-width: 80%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.4;
    white-space: pre-wrap;
    word-wrap: break-word;
}
.icc-msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, #7b2ff7, #6a1fd0);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.icc-msg.bot {
    align-self: flex-start;
    background: #2a2a34;
    color: #eee;
    border-bottom-left-radius: 4px;
}

.icc-typing {
    align-self: flex-start;
    display: flex;
    gap: 4px;
    padding: 10px 13px;
    background: #2a2a34;
    border-radius: 14px;
}
.icc-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #aaa;
    animation: icc-bounce 1.2s infinite ease-in-out;
}
.icc-typing span:nth-child(2) { animation-delay: 0.15s; }
.icc-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes icc-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
    30% { transform: translateY(-5px); opacity: 1; }
}

#icc-chat-inputbar {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: #1c1c24;
    border-top: 1px solid #2c2c36;
}
#icc-chat-input {
    flex: 1;
    background: #2a2a34;
    border: none;
    border-radius: 20px;
    padding: 9px 14px;
    color: #fff;
    font-size: 13.5px;
    outline: none;
}
#icc-chat-send {
    background: linear-gradient(135deg, #7b2ff7, #6a1fd0);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}
