﻿.demo-content {
    color: white;
    text-align: center;
    padding: 50px 20px;
}

/* Widget Container */
.support-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Main Support Button */
.support-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.support-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
}

.support-button svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* Options Menu */
.support-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.support-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.support-option {
    display: flex;
    align-items: center;
    background: white;
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    min-width: 160px;
}

.support-option:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.support-option svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.phone-option svg {
    fill: #4CAF50;
}

.whatsapp-option svg {
    fill: #25D366;
}

/* Close button when menu is open */
.support-button.active {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    transform: rotate(45deg);
}

/* Pulse animation for attention */
.support-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    70% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .support-widget {
        bottom: 15px;
        right: 15px;
    }

    .support-button {
        width: 55px;
        height: 55px;
    }

    .support-button svg {
        width: 25px;
        height: 25px;
    }

    .support-option {
        padding: 10px 14px;
        font-size: 13px;
        min-width: 140px;
    }

    .support-option svg {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    .support-widget {
        bottom: 10px;
        right: 10px;
    }

    .support-button {
        width: 50px;
        height: 50px;
    }

    .support-options {
        bottom: 60px;
    }
}

/* Tooltip */
.tooltip {
    position: absolute;
    bottom: 50%;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(50%);
}

.tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%);
}

.support-button:hover .tooltip {
    opacity: 1;
    visibility: visible;
}