﻿.floating-nav {
    position: fixed;
    top: 50%; /* Centrado vertical */
    right: 0; /* Pegado al borde derecho */
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8); /* Fondo oscuro semitransparente */
    padding: 10px;
    border-radius: 3px 0 0 3px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.nav-container {
    width: 50px;
    background-color: rgba(4, 5, 7, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    border-right: 1px solid #1a2a40;
    transition: width 0.3s ease;
    overflow-x: hidden;
}

    .nav-container:hover {
        width: 170px;
        border-right: 1px solid #32FF7E;
    }


.nav-icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.nav-item {
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    width: 100%;
    /*padding: 0.5rem 0.5rem;*/
    margin: 5px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    filter: brightness(0) invert(1); /* Blanco por defecto */
    transition: filter 0.3s ease;
}

    .nav-item:hover,
    .nav-item.active {
        filter: brightness(1) invert(0); /* Color original al pasar el mouse */
        color: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px) translateX(-3px);
        color: #ffffff;
        font-weight: 500;
    }


    .nav-item.active::before {
        content: "";
        position: absolute;
        left: -5px;
        top: 0;
        bottom: 0;
        width: 3px;
        background-color: #32FF7E;
    }
.icon-container {
    min-width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-title {
    margin-left: 1rem;
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 0.85rem;
    font-family: 'Inter Variable', sans-serif;
    color: #333;
}

.nav-container:hover .nav-title {
    opacity: 1;
}
