/* Support Chat Widget Styles - Solid Background */
/* Universal opacity override */
.support-chat-window *,
.support-chat-window *:before,
.support-chat-window *:after {
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
}

.chat-widget-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(44, 62, 80, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.2s;
}

.chat-widget-button:hover {
    transform: scale(1.1);
}

.chat-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.support-chat-window {
    position: absolute !important;
    bottom: 80px !important;
    right: 0 !important;
    width: 400px !important;
    height: 500px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 4px solid #000000 !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
    display: none;
    flex-direction: column !important;
    overflow: hidden !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
    z-index: 999999 !important;
}

.support-chat-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 1rem;
    position: relative;
}

.support-chat-header h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: white;
}

.support-chat-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.8rem;
    color: white;
}

.support-chat-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
}

.support-chat-close:hover {
    opacity: 1;
}

.support-chat-body {
    flex: 1 !important;
    padding: 1rem !important;
    overflow-y: auto !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    opacity: 1 !important;
}

.support-message {
    margin-bottom: 1rem !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    opacity: 1 !important;
}

.support-avatar {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    background: #f1f3f4 !important;
    background-color: #f1f3f4 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
}

.support-message-content {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 2px solid #e2e8f0 !important;
    padding: 0.75rem !important;
    border-radius: 12px !important;
    max-width: 80% !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    opacity: 1 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
}

.support-quick-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    margin-top: 0.75rem !important;
    opacity: 1 !important;
}

.support-quick-buttons button {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 2px solid #dee2e6 !important;
    padding: 0.5rem !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    color: #000000 !important;
    font-weight: normal !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #000000 !important;
    opacity: 1 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

.support-quick-buttons button:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.support-chat-footer {
    padding: 1rem !important;
    background: rgb(255, 255, 255) !important;
    border-top: 1px solid #e2e8f0 !important;
    display: flex !important;
    gap: 0.5rem !important;
    opacity: 1 !important;
}

.support-chat-footer input {
    flex: 1 !important;
    padding: 0.75rem !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 20px !important;
    outline: none !important;
    font-size: 0.9rem !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #333333 !important;
    opacity: 1 !important;
}

.support-chat-footer button {
    background: #3498db !important;
    background-color: #3498db !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
}

.support-typing {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.support-typing-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    font-style: italic;
    font-size: 0.8rem;
}

.support-typing-dots {
    display: flex;
    gap: 0.2rem;
}

.support-typing-dots div {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e0;
    animation: typing 1.4s infinite ease-in-out;
}

.support-typing-dots div:nth-child(1) { animation-delay: -0.32s; }
.support-typing-dots div:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}