/* OMNES Chat Premium Styles */
.omnes-chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #6366f1;
    /* Fallback */
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.omnes-chat-bubble:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

.omnes-chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.omnes-chat-window.hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
}

.omnes-chat-header {
    padding: 24px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.omnes-chat-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.omnes-chat-header-info span {
    font-size: 12px;
    opacity: 0.8;
}

.omnes-chat-header-actions button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.2s;
}

.omnes-chat-header-actions button:hover {
    opacity: 1;
}

.omnes-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.omnes-chat-message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.omnes-chat-message.customer {
    align-self: flex-end;
    background: #6366f1;
    color: white;
    border-bottom-right-radius: 4px;
}

.omnes-chat-message.staff,
.omnes-chat-message.ai {
    align-self: flex-start;
    background: white;
    color: #334155;
    border-bottom-left-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.omnes-chat-footer {
    padding: 15px 20px;
    background: white;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #e2e8f0;
}

.omnes-chat-footer input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 14px;
    outline: none;
}

.omnes-chat-footer button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.omnes-chat-footer button:hover {
    transform: scale(1.1);
}

.omnes-chat-powered {
    text-align: center;
    font-size: 10px;
    padding: 5px;
    background: #f1f5f9;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scrollbar styling */
.omnes-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.omnes-chat-messages::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.omnes-chat-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}