.nta-wa-button,
#nta-wa-float-button {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 30px;
}

.nta-wa-button:hover,
#nta-wa-float-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* Label when hovering the button */
.nta-wa-label {
    position: absolute;
    right: 75px;
    bottom: 12px;
    background: #fff;
    color: #333;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nta-wa-button:hover .nta-wa-label {
    opacity: 1;
    visibility: visible;
    right: 80px;
}

/* Chat Popup / Widget */
.nta-wa-popup,
.nta-wa-chatbox {
    position: fixed !important;
    bottom: 95px;
    right: 20px;
    width: 340px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nta-wa-popup.show,
.nta-wa-chatbox.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translateY(0);
}

/* Header */
.nta-wa-header {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.nta-wa-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.8);
}

.nta-wa-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nta-wa-header-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.nta-wa-online {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nta-wa-online::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Close button */
.nta-wa-close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
    opacity: 0.8;
}

.nta-wa-close:hover {
    opacity: 1;
}

/* Body */
.nta-wa-body {
    padding: 20px;
    background: #f8f9fa;
    min-height: 220px;
    font-size: 14.5px;
    line-height: 1.5;
    color: #333;
}

/* Footer / Powered by or GDPR */
.nta-wa-footer {
    padding: 12px 15px;
    background: #f1f1f1;
    text-align: center;
    font-size: 11px;
    color: #777;
}

/* Animation for online dot */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 480px) {
    .nta-wa-popup,
    .nta-wa-chatbox {
        width: 92%;
        right: 4%;
        bottom: 85px;
    }
    
    .nta-wa-button,
    #nta-wa-float-button {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 15px;
        right: 15px;
    }
}