/* whatsapp button */
.whatsapp-btn-container {
    position: fixed;
    z-index: 1000;
    right: 60px;
    bottom: 5px;
    max-width: 300px;
}

.whatsapp-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(18, 140, 126, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(18, 140, 126, 0.4);
    color: white;
}

.whatsapp-btn:active {
    transform: translateY(1px);
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #128C7E, #25D366);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-btn:hover::before {
    opacity: 1;
}

.whatsapp-btn .pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    animation: pulse 2s infinite;
    z-index: -2;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }

    70% {
        transform: scale(1.05);
        opacity: 0.2;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.whatsapp-btn .icon {
    font-size: 1.5rem;
    animation: float 1.5s infinite ease-in-out;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0px);
    }
}

.btn-text {
    display: inline;
}

/* Mobile styles - hide text and increase icon size */
@media (max-width: 576px) {
    .whatsapp-btn {
        /* Increased padding for larger touch area */
        width: auto;
        min-width: 70px;
        right: 0;
        /* Slightly wider to accommodate larger icon */
        border-radius: 50%;
        /* Perfect circle */
    }

    .btn-text {
        display: none;
    }

    .whatsapp-btn .icon {
        font-size: 2.2rem;
        /* Significantly larger icon for mobile */
        margin: 0;
        /* Remove any default margins */
    }

    .whatsapp-btn-container {
        bottom: 100px;
        right: 10px;
        max-width: none;
        /* Remove max-width restriction */
        width: fit-content;
        /* Container fits the button */
    }
}

.confirmation-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.dialog-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}