/* Default (desktop): 30px from bottom & right */
#wacw-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    width: 60px;
    height: 60px;
    pointer-events: none;
}

/* Mobile & Tablet: 10px from bottom & right */
@media (max-width: 768px) {
    #wacw-container {
        bottom: 10px !important;
        right: 10px !important;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    #wacw-container {
        bottom: 10px !important;
        right: 10px !important;
    }
}

#wacw-toggle {
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    pointer-events: auto;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

#wacw-toggle:hover {
    transform: scale(1.1);
    background: #1da851;
}

#wacw-toggle:focus,
#wacw-toggle:active {
    outline: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25) !important;
}

#wacw-icon-open,
#wacw-icon-close {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#wacw-icon-open  { opacity: 1; transform: scale(1); }
#wacw-icon-close { opacity: 0; transform: scale(0); }

#wacw-panel {
    background: white;
    width: 280px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 16px;
    position: absolute;
    bottom: 76px;
    right: 0;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    pointer-events: auto;
}

#wacw-panel.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.wacw-header {
    background: #25d366;
    color: white;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    margin: -16px -16px 16px -16px;
}

.wacw-btn {
    display: block;
    background: #25d366;
    color: white !important;
    text-decoration: none !important;
    padding: 14px;
    border-radius: 12px;
    margin: 10px 0;
    text-align: center;
    font-weight: 500;
    transition: background 0.2s;
}

.wacw-btn:hover,
.wacw-btn:visited,
.wacw-btn:active {
    background: #1da851;
    color: white !important;
    text-decoration: none !important;
}