.tk-wa {
    position: fixed;
    bottom: 1.25rem;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    font-family: "Manrope", "Segoe UI", sans-serif;
}

.tk-wa--right { right: 1.15rem; }
.tk-wa--left {
    left: 1.15rem;
    right: auto;
    align-items: flex-start;
}

.tk-wa__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 52px;
    padding: 0 1.05rem 0 0.85rem;
    border: 0;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 10px 28px rgba(18, 140, 70, 0.35);
    cursor: pointer;
}

.tk-wa__toggle i {
    font-size: 1.45rem;
    line-height: 1;
}

.tk-wa__toggle:hover {
    filter: brightness(1.05);
}

.tk-wa__panel {
    width: min(320px, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid #e4e6ea;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(20, 24, 31, 0.16);
    animation: tk-wa-in 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tk-wa-in {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.tk-wa__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    background: #075e54;
    color: #fff;
}

.tk-wa__brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.tk-wa__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tk-wa__brand strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.2;
}

.tk-wa__brand small {
    display: block;
    font-size: 0.72rem;
    opacity: 0.85;
}

.tk-wa__close {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.tk-wa__body {
    padding: 0.95rem;
    background: #ece5dd;
}

.tk-wa__bubble {
    margin: 0 0 0.85rem;
    padding: 0.7rem 0.85rem;
    background: #fff;
    border-radius: 10px 10px 10px 2px;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #1a1714;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.tk-wa__chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.tk-wa__chat:hover {
    color: #fff;
    filter: brightness(1.05);
}

@media (max-width: 575.98px) {
    .tk-wa__toggle span {
        display: none;
    }
    .tk-wa__toggle {
        width: 54px;
        height: 54px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
}
