/* ================================================
   WHATSAPP FLOATING BUTTON & SELF-HELP WIDGET
   ================================================ */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float a {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
}

/* Self-Help Widget */
.self-help-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 998;
    display: none;
    max-height: 500px;
    overflow: hidden;
    border: 2px solid var(--luxury-primary);
}

.self-help-widget.show {
    display: block;
    animation: slideInLeft 0.4s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.help-header {
    background: linear-gradient(135deg, var(--luxury-primary), var(--luxury-primary-dark));
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 14px 14px 0 0;
}

.help-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.help-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.help-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.help-content {
    padding: 20px;
    max-height: 350px;
    overflow-y: auto;
}

.help-item {
    padding: 15px;
    margin-bottom: 10px;
    background: var(--luxury-gray);
    border-radius: 10px;
    border-left: 4px solid var(--luxury-accent);
    transition: all 0.3s ease;
    cursor: pointer;
}

.help-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.help-item h5 {
    margin: 0 0 8px 0;
    color: var(--luxury-text);
    font-size: 1rem;
    font-weight: 600;
}

.help-item p {
    margin: 0;
    color: var(--luxury-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.help-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    background: var(--luxury-gray);
}

.help-link {
    color: var(--luxury-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.help-link:hover {
    color: var(--luxury-accent);
}

/* Help Toggle Button */
.help-toggle-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--luxury-primary), var(--luxury-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(26, 95, 63, 0.4);
    z-index: 997;
    cursor: pointer;
    border: none;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.help-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(26, 95, 63, 0.6);
}

.help-toggle-btn.hidden {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .self-help-widget {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        max-width: 320px;
    }
    
    .whatsapp-float {
        bottom: 70px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
    
    .help-toggle-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

