.bbf-fb-widget {
    position: fixed;
    top: 50%;
    right: -340px; /* Szerokość panelu ukryta poza ekranem */
    transform: translateY(-50%);
    width: 340px;
    height: 500px;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    background: #ffffff;
    border-radius: 10px 0 0 10px;
}

.bbf-fb-widget.open {
    right: 0;
}

.bbf-fb-tab {
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 140px;
    background: #1877F2; /* Kolor Facebooka */
    color: #ffffff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px 0 0 10px;
    box-shadow: -4px 0 10px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}

.bbf-fb-tab:hover {
    background: #166fe5;
}

.bbf-fb-tab svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    margin-bottom: 10px;
}

.bbf-fb-tab span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
}

.bbf-fb-panel {
    width: 100%;
    height: 100%;
    background: #ffffff;
    overflow: hidden;
    border-radius: 10px 0 0 10px;
}

/* Ukryj na bardzo małych ekranach, jeśli zajmuje za dużo miejsca, lub dostosuj */
@media (max-width: 480px) {
    .bbf-fb-widget {
        width: 300px;
        right: -300px;
    }
}
