/* Kimberley Universal Chat - Floating Widget Styles */
.kimberley-chat-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: auto;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kimberley-chat-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.kimberley-chat-window {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 600px;
    max-height: calc(100vh - 120px);
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 9999;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

.kimberley-chat-window.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
    display: flex !important;
}

.chat-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.chat-title {
    font-weight: 700;
    color: white;
    font-size: 16px;
}

.chat-status {
    font-size: 12px;
    color: #94a3b8;
}

.chat-status.online {
    color: #10b981;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: radial-gradient(circle at bottom, rgba(59, 130, 246, 0.05), transparent);
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
}

.chat-msg.user {
    align-self: flex-end;
}

.chat-msg.bot {
    align-self: flex-start;
}

.msg-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.5;
}

.user .msg-bubble {
    background: #3b82f6;
    color: white;
    border-bottom-right-radius: 4px;
}

.bot .msg-bubble {
    background: #1e293b;
    color: #e2e8f0;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input-container {
    padding: 16px;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.input-with-actions {
    display: flex;
    background: #1e293b;
    border-radius: 12px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.input-with-actions input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 8px;
    outline: none;
}

.input-actions button {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
}

.input-actions button:hover {
    color: #3b82f6;
}

.chat-suggestions {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px 16px;
    flex-wrap: wrap;
}

.suggestion-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.suggestion-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: white;
}

.chat-close,
.chat-minimize {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 20px;
}

.chat-close:hover {
    color: #ef4444;
}

.hidden {
    display: none;
}