.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-float-button {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    cursor: pointer;
    margin-bottom: 10px;
    gap: 8px;
}

.whatsapp-float-button-text {
    margin-right: 0;
    background-color: #F2F2F2;
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.whatsapp-float-button h5 {
    font-weight: 600;
    font-size: 12px;
    margin: 0;
    color: #000000;
}

.whatsapp-float-button p {
    font-size: 12px;
    margin: 0;
    color: #828282;
}

.whatsapp-float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #23B33A;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 6px 32px rgba(0, 0, 0, 0.04), 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 6px 64px -4px rgba(0, 0, 0, 0.04);
    position: relative;
    margin-left: 0;
}

.whatsapp-float-icon img.whatsapp-icon {
    width: 32px;
    height: 32px;
}

.whatsapp-float-icon .close-icon {
    display: none;
    width: 32px;
    height: 32px;
}

.whatsapp-popup {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 400px;
    background-color: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0px 6px 32px rgba(0, 0, 0, 0.04), 0px 10px 16px rgba(0, 0, 0, 0.04), 0px 6px 64px -4px rgba(0, 0, 0, 0.04);
    padding: 16px;
    display: none;
    margin-bottom: 16px;
}

.whatsapp-popup-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background: linear-gradient(181deg, rgba(87, 209, 99, 1) 0%, rgba(35, 179, 58, 1) 96%);
    border-radius: 16px;
    margin-bottom: 16px;
    color: #FFFFFF;
    position: relative;
}

.whatsapp-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
}

.whatsapp-popup-header-text {
    flex: 1;
}

.whatsapp-popup-header-text h4 {
    font-weight: 600;
    font-size: 18px;
    margin: 0 0 4px 0;
}

.whatsapp-popup-header-text p {
    font-size: 12px;
    margin: 0;
}

.whatsapp-popup-header-icon {
    width: 40px;
    height: 40px;
}

.whatsapp-popup-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.whatsapp-contact-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background-color: #F2F2F2;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-contact-item:hover {
    background-color: #E8E8E8;
}

.whatsapp-contact-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 16px;
    border: 1px solid #FFFFFF;
}

.whatsapp-contact-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp-contact-info {
    flex: 1;
}

.whatsapp-contact-name {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 4px 0;
    color: #333333;
}

.whatsapp-contact-position {
    font-size: 12px;
    margin: 0;
    color: #828282;
}

.whatsapp-contact-arrow {
    margin-left: 16px;
    color: #FFFFFF;
    font-size: 24px;
}

/* Skeleton Loading Styles */
.skeleton {
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.skeleton::before {
    content: "";
    display: block;
    position: absolute;
    left: -150px;
    top: 0;
    height: 100%;
    width: 150px;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    animation: skeleton-loading 1.5s cubic-bezier(0.4, 0.0, 0.2, 1) infinite;
}

@keyframes skeleton-loading {
    0% {
        left: -150px;
    }
    100% {
        left: 100%;
    }
}

.skeleton-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-right: 16px;
}

.skeleton-text {
    height: 12px;
    border-radius: 4px;
    background-color: #e0e0e0;
    margin-bottom: 8px;
}

.skeleton-name {
    width: 70%;
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-position {
    width: 50%;
    height: 12px;
}

.skeleton-arrow {
    width: 7px;
    height: 12px;
    background-color: #e0e0e0;
    margin-left: 16px;
    border-radius: 2px;
}

/* Responsive styles */
/* Desktop (default) */
@media (min-width: 1025px) {
    .whatsapp-float {
        bottom: 40px;
        right: 20px;
    }
    
    .whatsapp-popup {
        width: 400px;
        right: 0;
        bottom: 70px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .whatsapp-float {
        bottom: 30px;
        right: 15px;
    }
    
    .whatsapp-popup {
        width: 350px;
        right: 0;
        bottom: 70px;
    }
    
    .whatsapp-float-button {
        padding: 5px 6px;
        gap: 6px;
    }
    
    .whatsapp-float-button-text {
        padding: 5px 6px;
    }
    
    .whatsapp-popup-header {
        padding: 14px;
    }
    
    .whatsapp-popup-header-text h4 {
        font-size: 16px;
    }
    
    .whatsapp-contact-item {
        padding: 12px;
    }
    
    .whatsapp-contact-photo {
        width: 48px;
        height: 48px;
        margin-right: 12px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 20px;
        right: 10px;
    }
    
    .whatsapp-float-button {
        padding: 4px;
        gap: 4px;
    }
    
    .whatsapp-float-button-text {
        padding: 4px 6px;
        max-width: 120px;
    }
    
    .whatsapp-float-button h5 {
        font-size: 11px;
    }
    
    .whatsapp-float-button p {
        font-size: 10px;
    }
    
    .whatsapp-float-icon {
        width: 48px;
        height: 48px;
    }
    
    .whatsapp-float-icon img.whatsapp-icon {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-popup {
        width: calc(100vw - 40px);
        max-width: 300px;
        right: 0;
        bottom: 60px;
        padding: 12px;
    }
    
    .whatsapp-popup-header {
        padding: 12px;
        border-radius: 12px;
        margin-bottom: 12px;
    }
    
    .responsive-popup-heading {
        font-size: 15px;
        margin: 0 0 4px 0;
        font-weight: 600;
    }
    
    .responsive-popup-text {
        font-size: 11px;
        margin: 0;
        line-height: 1.3;
    }
    
    .whatsapp-popup-header-icon {
        width: 32px;
        height: 32px;
    }
    
    .whatsapp-popup-close {
        top: -10px;
        right: -10px;
        width: 30px;
        height: 30px;
    }
    
    .whatsapp-contact-item {
        padding: 10px;
        border-radius: 12px;
    }
    
    .whatsapp-contact-photo {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .whatsapp-contact-name {
        font-size: 14px;
    }
    
    .whatsapp-contact-position {
        font-size: 11px;
    }
    
    .whatsapp-contact-arrow {
        margin-left: 8px;
    }
    
    /* Adjust skeleton loading for mobile */
    .skeleton-circle {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .skeleton-name {
        height: 14px;
    }
    
    .skeleton-position {
        height: 11px;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .whatsapp-float-button-text {
        max-width: 100px;
    }
    
    .whatsapp-popup {
        width: calc(100vw - 30px);
        right: 0;
        padding: 10px;
    }
    
    .responsive-heading {
        font-size: 10px;
    }
    
    .responsive-paragraph {
        font-size: 9px;
    }
    
    .responsive-popup-heading {
        font-size: 14px;
    }
    
    .responsive-popup-text {
        font-size: 10px;
    }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
    .whatsapp-float-button-text {
        max-width: 90px;
    }
    
    .responsive-heading {
        font-size: 9px;
    }
    
    .responsive-paragraph {
        font-size: 8px;
    }
    
    .responsive-popup-heading {
        font-size: 13px;
    }
    
    .responsive-popup-text {
        font-size: 9px;
    }
    
    .whatsapp-contact-name {
        font-size: 13px;
    }
    
    .whatsapp-contact-position {
        font-size: 10px;
    }
}