/* Viber, WhatsApp & Teams Contact Buttons v4 */

.vwc-wrap.vwc-float {
    position: fixed;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.vwc-bottom-right  { bottom: 24px; right: 24px; align-items: flex-end; }
.vwc-bottom-left   { bottom: 24px; left: 24px;  align-items: flex-start; }
.vwc-bottom-center {
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: calc(100vw - 32px);
}

.vwc-wrap.vwc-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.vwc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    text-decoration: none !important;
    color: #fff !important;
    font-family: inherit;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 4px 16px rgba(0,0,0,.22);
    transition: transform .18s ease, box-shadow .18s ease;
    overflow: hidden;
    padding: 0 14px;
}

.vwc-btn svg { flex-shrink: 0; }

.vwc-lbl {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    display: inline-block;
    transition: max-width .25s ease, opacity .2s ease;
    pointer-events: none;
}

.vwc-btn:hover .vwc-lbl,
.vwc-btn:focus .vwc-lbl {
    max-width: 160px;
    opacity: 1;
}

.vwc-btn:hover,
.vwc-btn:focus {
    transform: scale(1.06);
    box-shadow: 0 6px 22px rgba(0,0,0,.28);
    outline: none;
}

.vwc-btn:active { transform: scale(.97); }

.vwc-inline .vwc-lbl {
    max-width: 160px;
    opacity: 1;
    pointer-events: auto;
}

.vwc-viber    { background: #7360f2; }
.vwc-viber:hover { background: #5f4dd6; }

.vwc-whatsapp { background: #25D366; }
.vwc-whatsapp:hover { background: #1da851; }

.vwc-teams    { background: #5558AF; }
.vwc-teams:hover { background: #3d3f8f; }

.vwc-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.vwc-float .vwc-btn { animation: vwcIn .45s ease both; }
.vwc-float .vwc-btn:nth-child(2) { animation-delay: .1s; }
.vwc-float .vwc-btn:nth-child(3) { animation-delay: .2s; }

@keyframes vwcIn {
    from { opacity: 0; transform: translateY(16px) scale(.9); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 767px) {
    .vwc-bottom-right { bottom: 16px; right: 16px; }
    .vwc-bottom-left  { bottom: 16px; left: 16px; }
    .vwc-bottom-center { bottom: 16px; }
}
