@keyframes wcb-pulse-a {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.3); opacity: 0; }
}

@keyframes wcb-pulse-b {
    0%   { transform: scale(1); opacity: 0.35; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes wcb-label-in-right {
    from { opacity: 0; transform: translateX(8px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes wcb-label-in-left {
    from { opacity: 0; transform: translateX(-8px); }
    to   { opacity: 1; transform: translateX(0); }
}

#wcb-wrap {
    position: fixed;
    right: -50px;
    bottom: 50%;
    transform: translateY(50%);
    rotate: -90deg;
    z-index: 9999;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: row-reverse; /* flip to 'row' when on the left side */
    gap: 10px;
    transition: transform 0.18s ease, background 0.18s ease;
}

#wcb-btn-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#wcb-btn {
    width: max-content;
    height: 100px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    background: #5D5348;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: start;
    justify-content: start;
    position: relative;
    z-index: 2;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.18s ease, background 0.18s ease;

    /* text inside the button */
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 10px;
}

#wcb-wrap:hover {
    right: -40px;
}
#wcb-btn:hover {
    transform: scale(1.1);
}

.wcb-ring {
    position: absolute;
    inset: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    background: #1a1a2e;   /* match #wcb-btn background */
    z-index: 1;
    pointer-events: none;
}

.wcb-ring-1 {
    animation: wcb-pulse-a 2s ease-out infinite;
}

.wcb-ring-2 {
    animation: wcb-pulse-b 2s ease-out 0.6s infinite;
}

#wcb-label {
    background: #1a1a2e;   /* match #wcb-btn background */
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 7px 16px;
    border-radius: 20px;
    white-space: nowrap;
    display: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    animation: wcb-label-in-right 0.22s ease; /* swap to wcb-label-in-left on the left side */
}
