/* ==========================================================================
   SIDE ACTIONS (Módulo Woo)
   ========================================================================== */
.hybinet-toolbar {
    position: fixed;
    right: 0;
    bottom: 80px;
    width: 42px;
    background: var(--hybinet-palette-white);
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    border: 1px solid var(--hybinet-color-border-soft);
    border-right: none;
    overflow: hidden;
}

.hybinet-toolbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 8px 0;
    color: var(--hybinet-color-text-secondary);
    text-decoration: none;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--hybinet-color-bg-secondary);
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    position: relative;
}

.hybinet-toolbar__item:last-child {
    border-bottom: none;
}

.hybinet-toolbar__item:hover,
.hybinet-toolbar__item:focus,
.hybinet-toolbar__item:active {
    background-color: var(--hybinet-color-bg-secondary);
    color: var(--hybinet-palette-black);
    outline: none;
}

.hybinet-toolbar__item svg {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
}

.hybinet-toolbar__label {
    font-size: 9px;
    font-weight: 500;
}

.hybinet-toolbar__badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--hybinet-color-brand-accent-web); /* Mismo token que el badge del header */
    color: var(--hybinet-color-text-primary); /* Texto oscuro de nuestra paleta */
    font-size: 10px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-sizing: border-box;
    line-height: 1;
}

/* Modificador: Estado oculto/visible (Botón Arriba) */
.hybinet-toolbar__item--top {
    height: 0;
    min-height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: none;
}

.hybinet-toolbar__item--top.is-visible {
    height: 48px;
    min-height: 48px;
    padding: 8px 0;
    opacity: 1;
    border-top: 1px solid var(--hybinet-color-bg-secondary);
}
