#htmx_crud{
  width: 100%;
  padding: 9%;
}
#htmx_crud .htmx-indicator{
        visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s linear;
    }
  #htmx_crud  .htmx-request .htmx-indicator{
        visibility: visible;
  opacity: 1;
  z-index: 10;
    }
   #htmx_crud .htmx-request.htmx-indicator{
        visibility: visible;
  opacity: 1;
    z-index: 10;
    }

    #htmx_crud  #fade-me-in.htmx-swapping{
      animation: minimize 0.5s linear forwards;

    }



@keyframes minimize {
  0% {
    max-height: 10px;
    padding-top: 20px;
    padding-bottom: 5px;
    border-width: 1px;
    overflow: hidden;
    opacity: 0.5; margin: 10px 0;
  }
  100% { margin: 0px 0;
    max-height: 0px;
    padding-top: 0;
    padding-bottom: 0px;
    border-width: 0px;
    opacity: 0;
    overflow: hidden;
  }
}



 /* li.minimize {
  animation-duration: 10s;
  animation-fill-mode: forwards;
  animation-name: minimize;
} */









   #htmx_crud  #fade-me-in.htmx-added {
  opacity: 0;
}
#htmx_crud #fade-me-in {
  opacity: 1;
  transition: opacity 1s ease-out;

}

#htmx_crud ul{
    display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin: 0;
  padding: 0 6%;

  position: absolute;
    width: 100%;
    bottom: 3%;
    left: 0;

    height: 60dvh;
    overflow-y: scroll;
}

#htmx_crud li{
  list-style: none;
  width: 86%;
    margin: 10px 0;

  border-bottom:1px solid rgba(0, 0, 0, 0.228) ;
}


#htmx_crud li a{
  position: relative;
  left: -5px;
}

#htmx_crud li .col-1{
  margin: 0 5px;
}

#htmx_crud li a i{
  position: relative;
  font-size: 18px;
  padding: 7px;
  background-color: #f2f5fa;
}

#htmx_crud li a i.fa-trash{
  color: red;
}

#htmx_crud li a i.fa-edit{
  color: blue;
}

#htmx_crud li a i.fa-save{
  color: green;
}


#htmx_crud li a i.fa-xmark{
  color: red;
}


#htmx_crud li a i i.fa-spinner{
  position: absolute;
  top: 10%;
  left: 7%;
  padding: 2px;
  font-size: 21px;
  border-radius: 50%;
  background-color: #f2f5fa;

}

#htmx_crud li:nth-last-child(1){
  list-style: none;
  border-bottom:none ;
}

#htmx_crud li input[type="text"].form-control{
 height: 30px;
 padding: 0;
 margin: 0;
 border: none;
   background-color: #f2f5fa;

}

#htmx_crud li input[type="text"].form-control:disabled{
  background-color: transparent;
}

#htmx_crud li input[type="text"].form-control:focus{
  box-shadow: none;
}

#htmx_crud input:-webkit-autofill,
#htmx_crud input:-webkit-autofill:hover,
#htmx_crud input:-webkit-autofill:focus,
#htmx_crud input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #f2f5fa inset !important;
}

#htmx_crud li div{

  display: flex;
  flex-direction: row;
}

#htmx_crud li div>*:first-child {
  justify-content: stretch;
}

#htmx_crud #div_id_name label{
  display: none;
}
#htmx_crud .row.message-row{
   position: fixed;
   top: 25dvh;
   right:11%;
   width: 85%;
}

#htmx_crud .row.count-row{
   position: fixed;
   top: 25dvh;
   left:10%;
   width: 85%;

}

#htmx_crud #toast-success,#htmx_crud #toast-danger{
  top: 20dvh;
  right: 0;
  width: 100%;
  opacity: 1;
  animation: slide-left 2s ease-in-out ;

}

@keyframes slide-left{
  0%,80%{
    opacity: 1;
  }

  100%{
   opacity: 0;
  }
}
