.tc-whatsapp-float {
    position: fixed;
    right: calc(22px + env(safe-area-inset-right, 0px));
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: Arial, sans-serif;
    text-decoration: none;
}

.tc-whatsapp-float__label {
    padding: 11px 15px;
    border: 1px solid rgba(18, 140, 126, .14);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 22px rgba(12, 41, 29, .15);
    color: #075e54;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}

.tc-whatsapp-float__icon {
    position: relative;
    display: grid;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 8px 25px rgba(13, 93, 53, .29);
    color: #fff;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.tc-whatsapp-float__icon::before {
    position: absolute;
    inset: -5px;
    border: 2px solid #25d366;
    border-radius: 50%;
    content: '';
    pointer-events: none;
    animation: tc-whatsapp-ring 4.5s ease-out infinite;
}

.tc-whatsapp-float__icon svg {
    display: block;
    width: 34px;
    height: 34px;
}

.tc-whatsapp-float:hover .tc-whatsapp-float__icon,
.tc-whatsapp-float:focus-visible .tc-whatsapp-float__icon {
    transform: translateY(-3px) scale(1.05);
    background: #1ebe5b;
    box-shadow: 0 12px 29px rgba(13, 93, 53, .35);
}

.tc-whatsapp-float:hover .tc-whatsapp-float__label,
.tc-whatsapp-float:focus-visible .tc-whatsapp-float__label {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(12, 41, 29, .2);
}

.tc-whatsapp-float:focus-visible {
    outline: 3px solid #075e54;
    outline-offset: 6px;
    border-radius: 999px;
}

@keyframes tc-whatsapp-ring {
    0%, 72%, 100% { opacity: 0; transform: scale(1); }
    76% { opacity: .65; }
    94% { opacity: 0; transform: scale(1.35); }
}

@media (max-width: 600px) {
    .tc-whatsapp-float {
        right: calc(17px + env(safe-area-inset-right, 0px));
        bottom: calc(17px + env(safe-area-inset-bottom, 0px));
    }
    .tc-whatsapp-float__label { display: none; }
    .tc-whatsapp-float__icon {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }
    .tc-whatsapp-float__icon svg { width: 31px; height: 31px; }
}

@media (prefers-reduced-motion: reduce) {
    .tc-whatsapp-float__icon::before { animation: none; }
    .tc-whatsapp-float__icon,
    .tc-whatsapp-float__label { transition: none; }
}
