.wbt-quick-contact,
.wbt-quick-contact * {
    box-sizing: border-box;
}

.wbt-quick-contact {
    --wbt-main: #22c55e;
    --wbt-text: #172033;
    --wbt-muted: #7a8498;
    --wbt-panel: rgba(255, 255, 255, .98);
    position: fixed;
    bottom: 24px;
    z-index: 999999;
    width: 64px;
    height: 64px;
    direction: rtl;
    font-family: inherit;
}

.wbt-position-right { right: 24px; }
.wbt-position-left { left: 24px; }

button.wbt-contact-trigger {
    position: relative !important;
    z-index: 3 !important;
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: var(--wbt-main) !important;
    background-color: var(--wbt-main) !important;
    background-image: none !important;
    box-shadow: 0 11px 28px rgba(15, 23, 42, .20) !important;
    cursor: pointer !important;
    isolation: isolate;
    overflow: visible !important;
    line-height: 1 !important;
    font-size: 0 !important;
    text-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transform: translateZ(0);
    transition: transform .24s cubic-bezier(.2,.8,.2,1), box-shadow .24s ease !important;
    -webkit-tap-highlight-color: transparent;
}

button.wbt-contact-trigger::before,
button.wbt-contact-trigger::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--wbt-main) !important;
    background-color: var(--wbt-main) !important;
    opacity: 0;
    pointer-events: none;
}

.wbt-quick-contact.wbt-intro button.wbt-contact-trigger {
    animation: wbt-trigger-intro .82s cubic-bezier(.17,.89,.32,1.35) .35s both;
}

.wbt-quick-contact.wbt-intro button.wbt-contact-trigger::before {
    animation: wbt-ring-pulse 1.65s ease-out 1.1s 3;
}

.wbt-quick-contact.wbt-intro button.wbt-contact-trigger::after {
    animation: wbt-ring-pulse 1.65s ease-out 1.38s 3;
}

button.wbt-contact-trigger:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 15px 34px rgba(15, 23, 42, .26), 0 0 0 1px rgba(15, 23, 42, .05);
}

button.wbt-contact-trigger:focus-visible {
    outline: 3px solid rgba(14, 165, 233, .28);
    outline-offset: 4px;
}

.wbt-trigger-main,
.wbt-trigger-close {
    display: grid !important;
    place-items: center !important;
    color: #fff !important;
    transition: opacity .18s ease, transform .24s cubic-bezier(.2,.8,.2,1);
}

button.wbt-contact-trigger .wbt-trigger-main svg,
button.wbt-contact-trigger .wbt-trigger-close svg {
    width: 29px !important;
    height: 29px !important;
    color: #fff !important;
    fill: none !important;
    stroke: #fff !important;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


button.wbt-contact-trigger .wbt-trigger-main svg *,
button.wbt-contact-trigger .wbt-trigger-close svg * {
    stroke: #fff !important;
}

.wbt-trigger-close {
    position: absolute;
    opacity: 0;
    transform: rotate(-70deg) scale(.6);
}

.wbt-is-open .wbt-trigger-main {
    opacity: 0;
    transform: rotate(70deg) scale(.55);
}

.wbt-is-open .wbt-trigger-close {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.wbt-contact-hint {
    position: absolute;
    top: 50%;
    min-width: max-content;
    padding: 8px 12px;
    border-radius: 999px;
    color: #273244;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .14);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(.94);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    pointer-events: none;
}

.wbt-position-right .wbt-contact-hint { right: 74px; }
.wbt-position-left .wbt-contact-hint { left: 74px; }

.wbt-quick-contact:hover .wbt-contact-hint,
.wbt-quick-contact.wbt-intro .wbt-contact-hint {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}

.wbt-quick-contact.wbt-intro .wbt-contact-hint {
    animation: wbt-hint-in 4.4s ease .7s both;
}

.wbt-is-open .wbt-contact-hint {
    opacity: 0 !important;
    visibility: hidden !important;
}

.wbt-contact-panel {
    position: absolute;
    bottom: 82px;
    width: 340px;
    max-width: calc(100vw - 32px);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, .07);
    border-radius: 24px;
    background: var(--wbt-panel);
    box-shadow: 0 24px 64px rgba(15, 23, 42, .20), 0 4px 12px rgba(15, 23, 42, .06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(.94);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity .24s ease, transform .3s cubic-bezier(.2,.8,.2,1), visibility .24s ease;
}

.wbt-position-right .wbt-contact-panel { right: 0; }
.wbt-position-left .wbt-contact-panel {
    left: 0;
    transform-origin: bottom left;
}

.wbt-is-open .wbt-contact-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.wbt-contact-header {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    padding: 16px 18px 14px;
    border-bottom: 1px solid rgba(15, 23, 42, .065);
}

.wbt-contact-header strong {
    margin: 0;
    color: var(--wbt-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.7;
}

.wbt-contact-status {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .13);
}

.wbt-contact-list {
    display: grid;
    gap: 5px;
    padding: 10px;
}

.wbt-contact-item {
    min-height: 61px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--wbt-text) !important;
    text-decoration: none !important;
    background: transparent;
    transition: background .18s ease, transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.wbt-is-open .wbt-contact-item {
    animation: wbt-item-enter .36s cubic-bezier(.2,.8,.2,1) both;
    animation-delay: calc(var(--wbt-index) * 38ms + 55ms);
}

.wbt-contact-item:hover {
    background: #f8fafc;
    border-color: #edf0f4;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .045);
    transform: translateX(-3px);
}

.wbt-contact-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: var(--wbt-main);
    overflow: hidden;
}

.wbt-contact-icon svg:not(.wbt-brand-svg) {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wbt-contact-icon .wbt-fill {
    fill: currentColor;
    stroke: none;
}

.wbt-contact-icon .wbt-brand-svg {
    width: 31px;
    height: 31px;
    display: block;
}

.wbt-item-phone .wbt-contact-icon { background: #16a34a; }
.wbt-item-whatsapp .wbt-contact-icon { background: #25d366; }
.wbt-item-telegram .wbt-contact-icon { background: #229ed9; }
.wbt-item-instagram .wbt-contact-icon { background: linear-gradient(145deg, #833ab4, #fd1d1d 58%, #fcb045); }
.wbt-item-bale .wbt-contact-icon { background: #fff; box-shadow: inset 0 0 0 1px #edf0f4; }
.wbt-item-eitaa .wbt-contact-icon { background: #fff7ed; box-shadow: inset 0 0 0 1px #ffedd5; }
.wbt-item-rubika .wbt-contact-icon { background: #fff; box-shadow: inset 0 0 0 1px #edf0f4; }

.wbt-item-bale .wbt-contact-icon .wbt-brand-svg { width: 36px; height: 36px; }
.wbt-item-eitaa .wbt-contact-icon .wbt-brand-svg { width: 30px; height: 30px; }
.wbt-item-rubika .wbt-contact-icon .wbt-brand-svg { width: 31px; height: 34px; }

.wbt-contact-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.wbt-contact-copy strong {
    color: var(--wbt-text);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.6;
}

.wbt-contact-copy small {
    max-width: 205px;
    overflow: hidden;
    color: var(--wbt-muted);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.6;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@keyframes wbt-trigger-intro {
    0% { transform: translateY(24px) scale(.72); opacity: 0; }
    55% { transform: translateY(-5px) scale(1.07); opacity: 1; }
    76% { transform: translateY(2px) scale(.98); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes wbt-ring-pulse {
    0% { transform: scale(1); opacity: .34; }
    70% { transform: scale(1.52); opacity: .10; }
    100% { transform: scale(1.72); opacity: 0; }
}

@keyframes wbt-hint-in {
    0%, 8% { opacity: 0; transform: translateY(-50%) scale(.92); }
    18%, 78% { opacity: 1; transform: translateY(-50%) scale(1); }
    100% { opacity: 0; transform: translateY(-50%) scale(.96); }
}

@keyframes wbt-item-enter {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .wbt-quick-contact {
        bottom: max(16px, env(safe-area-inset-bottom));
        width: 60px;
        height: 60px;
    }

    .wbt-position-right { right: 16px; }
    .wbt-position-left { left: 16px; }

    button.wbt-contact-trigger {
        width: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        border-radius: 50% !important;
    }

    .wbt-contact-panel {
        bottom: 76px;
        width: min(330px, calc(100vw - 32px));
        border-radius: 22px;
    }

    .wbt-position-right .wbt-contact-hint { right: 70px; }
    .wbt-position-left .wbt-contact-hint { left: 70px; }
}

@media (prefers-reduced-motion: reduce) {
    .wbt-quick-contact.wbt-intro .wbt-contact-trigger,
    .wbt-quick-contact.wbt-intro .wbt-contact-trigger::before,
    .wbt-quick-contact.wbt-intro .wbt-contact-trigger::after,
    .wbt-quick-contact.wbt-intro .wbt-contact-hint,
    .wbt-is-open .wbt-contact-item {
        animation: none;
    }

    .wbt-contact-trigger,
    .wbt-trigger-main,
    .wbt-trigger-close,
    .wbt-contact-hint,
    .wbt-contact-panel,
    .wbt-contact-item {
        transition: none;
    }
}
