/* Wrapper container for buttons */
.tmv-sb-wrap {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    background: transparent !important;
    z-index: 9999;
}

/* Icon buttons */
.tmv-sb-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #333;
    text-decoration: none;
    transition: opacity 0.3s ease;
    line-height: 1;
    font-size: 16px;
}

/* Hover effect */
.tmv-sb-icon:hover {
    opacity: 0.7;
}

/* Shape variants */
.round {
    border-radius: 50%;
}

.square {
    border-radius: 4px;
}

/* Size variants */
.small {
    width: 30px;
    height: 30px;
    font-size: 14px;
}

.medium {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

.large {
    width: 50px;
    height: 50px;
    font-size: 18px;
}

/* Floating bar container */
.tmv-sb-floating {
    position: fixed;
    padding: 10px;
    background: transparent !important;
    z-index: 9999;
    display: flex;
    gap: 8px;
}

/* Floating bar positioning and layout */
.tmv-sb-floating.left {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    flex-direction: column;
}

.tmv-sb-floating.right {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    flex-direction: column;
}

.tmv-sb-floating.top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
}

.tmv-sb-floating.bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
}

/* Inline buttons wrapper */
.tmv-sb-wrap.tmv-inline {
    width: 100%;
    justify-content: center; /* Center horizontally */
    text-align: center;
}

/* Responsive: On mobile screens, floating bar always moves to bottom */
@media (max-width: 768px) {
    .tmv-sb-floating.left,
    .tmv-sb-floating.right,
    .tmv-sb-floating.top {
        top: auto !important;
        bottom: 0 !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        flex-direction: row !important;
    }
}
