/* Support Widget Styles */
#support-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    direction: rtl;
}

.support-btn {
    background: #000c;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    user-select: none;
    opacity: 1;
    visibility: visible;
}

.support-btn.auto-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    background: #333;
}

.support-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.support-menu {
    position: absolute;
    bottom: 70px;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    transition: all 0.3s ease;
    transform-origin: bottom left;
}

.support-menu.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8) translateY(10px);
}

.support-menu-header {
    background: #000;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.support-menu-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.support-menu-content {
    padding: 10px;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: all 0.2s;
    margin-bottom: 5px;
}

.support-option:hover {
    background-color: #f8f9ff;
    transform: translateX(-2px);
}

.option-icon {
    font-size: 20px;
    color: #000;
    width: 24px;
    text-align: center;
}

.support-option div {
    flex: 1;
}

.support-option strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.support-option small {
    color: #666;
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #support-widget {
        bottom: 70px;
        left: 15px;
    }

    .support-menu {
        width: calc(100vw - 30px);
        max-width: 320px;
    }

    .support-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

}

/* Animation for button pulse */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }
}

.support-btn {
    animation: pulse 3s infinite;
}

#support-widget h3{
  color: white;
}



/* Support Widget Additional Styles - If needed for theme compatibility */
.support-widget-overlay {
    pointer-events: none;
}

.support-widget-overlay.active {
    pointer-events: all;
}
