/* govietmed-cta.css - unique namespace govietmed- */

/* Root container cannot take clicks */
#govietmed-cta-root { 
    pointer-events: none; 
}

/* Shared button base design */
.govietmed-cta-button,
.govietmed-cta-mobile-btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    font-weight: 600;
    color: #ffffff !important;
    background: #0b5a76; /* primary blue */
    padding: 12px 18px;
    border-radius: 28px;
    box-shadow: 0 6px 18px rgba(9,20,30,0.18);
    transition: transform .12s ease, box-shadow .12s ease;
    z-index: 99999;
}

/* Force all internal elements: text + icons → white */
.govietmed-cta-button *,
.govietmed-cta-mobile-btn * {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* Icon */
.govietmed-cta-ico { 
    font-size: 18px; 
    line-height: 1; 
}

/* Left button (desktop) */
.govietmed-cta-left {
    position: fixed;
    left: 18px;
    bottom: 22px;
    transform-origin: left center;
}

/* Right button (desktop - WhatsApp) */
.govietmed-cta-right {
    position: fixed;
    right: 18px;
    bottom: 22px;
    background: #2fa34a; /* WhatsApp green */
    transform-origin: right center;
}

/* Hover effect */
.govietmed-cta-button:hover,
.govietmed-cta-mobile-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(9,20,30,0.22);
    text-decoration: none;
}

/* Mobile bar container (shown only on phone) */
.govietmed-cta-mobile {
    display: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
    z-index: 99999;
    gap: 10px;
    background: transparent;
    padding: 0 6px;
}

/* Buttons inside mobile bar */
.govietmed-cta-mobile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    min-width: 140px;
    justify-content: center;
    font-size: 15px;
    color: #ffffff !important;
}

/* Second mobile button → WhatsApp green */
.govietmed-cta-mobile-btn:nth-child(2) { 
    background: #2fa34a; 
}

/* Mobile responsive (hide desktop, show mobile) */
@media (max-width: 768px) {
    #govietmed-cta-root { pointer-events: auto; }

    .govietmed-cta-left,
    .govietmed-cta-right { 
        display: none !important; 
    }

    .govietmed-cta-mobile { 
        display: flex; 
    }
}

/* Focus highlight for accessibility */
.govietmed-cta-button:focus,
.govietmed-cta-mobile-btn:focus {
    outline: 3px solid rgba(255,255,255,0.12);
    outline-offset: 2px;
}
