/* Floating CTA Button */
.cpc-floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Main Button (Default State) */
.cpc-cta-main-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: transparent;
    padding: 0;
}

.cpc-cta-main-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cpc-cta-main-content {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

.cpc-cta-left {
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, #FFEB3B 0%, #CDDC39 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976D2;
    position: relative;
}

.cpc-cta-left::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.cpc-cta-left .material-icons {
    font-size: 20px;
    color: #1976D2;
}

.cpc-cta-right {
    width: 50%;
    height: 100%;
    background: #1976D2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
}

/* Expanded Menu */
.cpc-cta-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.cpc-cta-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.cpc-cta-menu-item {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.cpc-cta-menu-item:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cpc-cta-phone {
    background: #1976D2;
    color: #fff;
}

.cpc-cta-phone .material-icons {
    font-size: 28px;
    color: #fff;
}

.cpc-cta-zalo {
    background: #0068FF;
    color: #fff;
    border: none;
}

.cpc-cta-zalo .cpc-zalo-text {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.cpc-cta-close {
    background: #E0E0E0;
    color: #424242;
}

.cpc-cta-close .material-icons {
    font-size: 28px;
    color: #424242;
}

/* Hide main button when menu is active */
.cpc-floating-cta.menu-active .cpc-cta-main-btn {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .cpc-floating-cta {
        bottom: 15px;
        right: 15px;
    }
    
    .cpc-cta-main-btn {
        width: 60px;
        height: 60px;
    }
    
    .cpc-cta-left .material-icons {
        font-size: 18px;
    }
    
    .cpc-cta-right {
        font-size: 11px;
    }
    
    .cpc-cta-menu {
        bottom: 80px;
        gap: 10px;
    }
    
    .cpc-cta-menu-item {
        width: 50px;
        height: 50px;
    }
}

