/* Исправление для кнопки чата */
        
.admin-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999 !important; /* Максимальный z-index */
    pointer-events: auto !important; /* Включаем клики */
}

.admin-chat-button {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f6392, #2a8bc2);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(31, 99, 146, 0.4);
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 999999 !important;
    pointer-events: auto !important;
}

.admin-chat-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(31, 99, 146, 0.5);
}

.admin-chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    max-width: calc(100vw - 60px);
    max-height: 550px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 60px rgba(0,0,0,0.15);
    display: none !important;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    z-index: 999998 !important;
}

.admin-chat-window.open {
    display: flex !important;
}