/* WA Contact Button - Frontend */
#wacb-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#wacb-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: wacb-pulse 2s ease-in-out infinite;
}

#wacb-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@keyframes wacb-pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 12px rgba(37, 211, 102, 0);
    }
}

.wacb-bubble {
    position: absolute;
    bottom: 70px;
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    animation: wacb-fadeIn 0.5s ease-out;
}

[data-position="left"] .wacb-bubble {
    left: 0;
}

[data-position="right"] .wacb-bubble {
    right: 0;
}

#wacb-popup {
    position: absolute;
    bottom: 72px;
    width: 320px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    animation: wacb-slideUp 0.3s ease-out;
}

[data-position="left"] #wacb-popup {
    left: 0;
}

[data-position="right"] #wacb-popup {
    right: 0;
}

@keyframes wacb-slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wacb-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.wacb-popup-header {
    background: #25D366;
    color: #fff;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wacb-popup-header span {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
}

.wacb-popup-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.wacb-popup-header button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.wacb-popup-body {
    padding: 12px;
}

.wacb-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    margin-bottom: 8px;
}

.wacb-option:last-child {
    margin-bottom: 0;
}

.wacb-option:hover {
    background: #f0fdf4;
    border-color: #25D366;
    transform: translateX(4px);
}

.wacb-option-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.wacb-option-text {
    flex: 1;
}

.wacb-option-text strong {
    display: block;
    font-size: 14px;
    color: #1f2937;
}

.wacb-option-text small {
    display: block;
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.wacb-option-arrow {
    color: #25D366;
    font-size: 18px;
    font-weight: bold;
}