/* Estilos del menú lateral */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 85px;
    height: 100%;
    transition: 0.3s ease;
    overflow: hidden scroll;
    background: #064b98; 
    padding: 0 0 20px 0;
    backdrop-filter: blur(8px);
    box-shadow: 8px 0px 15px rgba(255, 107, 53, 0.1);
    border-right: 1px solid rgba(255, 107, 53, 0.1);
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.menu:hover {
    width: 260px;
}

/* Estilos para el logo del menú */
.menu-logo {
    padding: 15px 0;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: 0.3s;
}

.menu-logo.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #FF6B35;
}

.menu-logo.active {
    background: linear-gradient(90deg, rgba(255,107,53,0.2) 0%, rgba(255,107,53,0) 100%);
}

.menu-logo a {
    display: flex;
    justify-content: center;
    width: 100%;
}

.menu-logo-image {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: 2px solid #FF6B35;
}

.menu:hover .menu-logo-image {
    transform: scale(1.1);
}

.menu-content {
    padding-top: 10px;
}

.menu-content li {
    list-style: none;
    border-radius: 0 50px 50px 0;
    transition: 0.3s;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.menu-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: transparent;
    transition: background 0.3s;
}

.menu-content li:hover::before {
    background: rgba(255, 107, 53, 0.5);
}

.menu-content li:hover {
    background: rgba(255, 107, 53, 0.15);
}

.menu-content li a {
    text-decoration: none;
    color: #f0f0f0;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: 0.2s;
    padding: 8px 0;
    white-space: nowrap;
}

.menu-content li span:nth-child(2) {
    opacity: 0;
    transition: 0.3s;
}

.menu:hover .menu-content li span:nth-child(2) {
    opacity: 1;
}

.material-symbols-outlined {
    padding: 10px;
    font-size: 25px;
    margin-right: 10px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.8);
    color: white;
    transition: 0.3s;
    min-width: 45px;
    text-align: center;
}

.menu-content li:hover .material-symbols-outlined {
    background: #5faee3;
    box-shadow: 0 0 10px rgba(95, 174, 227, 0.3);
}

.menu-content li.active::before {
    background: #FF6B35;
}

.menu-content li.active {
    background: linear-gradient(90deg, rgba(255,107,53,0.2) 0%, rgba(255,107,53,0) 100%);
}

.menu-content li.active .material-symbols-outlined {
    background: #FF6B35;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .menu {
        width: 100%;
        height: 60px;
        padding: 0;
        overflow: hidden;
        bottom: 0;
        top: auto;
        flex-direction: row;
        align-items: center;
    }
    
    .menu-logo {
        margin-bottom: 0;
        padding: 5px;
        margin-left: 10px;
        background-color: transparent;
        border-bottom: none;
    }
    
    .menu-logo.active {
        background: transparent;
    }
    
    .menu-logo.active::before {
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
    }
    
    .menu-logo.active a .menu-logo-image {
        border: 2px solid #FF6B35;
        box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    }
    
    .menu-logo-image {
        width: 50px;
        height: 50px;
    }
    
    .menu-content {
        display: flex;
        justify-content: space-around;
        padding: 5px 0;
        width: 100%;
    }
    
    .menu-content li {
        padding: 0;
        margin: 0;
        border-radius: 0;
    }
    
    .menu-content li::before {
        width: 100%;
        height: 3px;
        top: 0;
        left: 0;
    }
    
    .menu-content li span:nth-child(2) {
        display: none;
    }
    
    .menu:hover {
        width: 100%;
    }
    
    .menu:hover .menu-content li span:nth-child(2) {
        display: none;
    }
    
    .material-symbols-outlined {
        margin-right: 0;
    }
    
    .menu:hover .menu-logo-image {
        transform: scale(1);
    }
}