body {
  /* font-family: Arial, sans-serif; */
  display: flex;
}
.sidebar {
  background-color: #f8f9fa;
  height: 100vh;
  width: 200px;
  padding: 10px;
  position: sticky;
  top: 0;
  left: 0;

  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  /* transition: width 0.3s ease, max-width 0.3s ease; */
  li .alter-nav-item {
    opacity: 1;
    height: 100%;
    width: 100px;

    /* transition: opacity .3s ease-in-out, width .3s ease, height .001s ease; */
  }
  .font-break {
    word-wrap: break-word;
    height: 50px;
    /* transition: height .1s ease; */
    .small {
      font-size: 12px;
    }
  }
}
.animated-sidebar {
  transition: width 0.3s ease, max-width 0.3s ease;
  li .alter-nav-item {
    transition: opacity 0.3s ease-in-out, width 0.3s ease, height 0.001s ease;
  }
  .font-break {
    transition: height 0.1s ease;
  }
}
.sidebar.collapsed {
  width: 70px; /* Ancho cuando está colapsado */

  li .alter-nav-item {
    opacity: 0;
    height: 0;
    width: 0;
  }
  .font-break {
    height: 0;
    word-wrap: normal;
    font-size: 0;
    .small {
      font-size: 0;
    }
  }
}
.headbar {
  background-color: #f8f9fa;
  height: min-content;
  width: fit-content;
  padding: 10px;
  gap: 10px;
  /* position: sticky; */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar .logo {
  font-size: 30px;
  color: #007bff;
  margin-bottom: 20px;
  text-align: center;
}

.sidebar .nav-link {
  color: #495057;
  width: fit-content;
  font-size: 18px;
  padding: 12px;
  border-radius: 5px;
  margin-bottom: 15px;
  transition: background-color 0.3s ease;
}
.icon-container svg {
  width: 20px;
  height: 20px;
}

.sidebar .nav-link:hover {
  background-color: #f1f1f1;
}
.list-group li .active-btn {
  background-color: #e0dffd;
}
.page-icon{
  width: 54px;
  height: 54px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto;
}
.avatar-item {
  width: 30px;
  height: 30px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  position: relative;
  border: 1px solid;
  border-color: rgb(98, 98, 190) rgb(120, 92, 190) rgb(156, 95, 184)
    rgb(188, 96, 156);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main-content {
  margin-left: 270px; /* Sidebar width */
  padding: 30px;
  background-color: #ffffff;
  width: calc(100% - 270px);
}
.collapse-button{
  border: none;
  margin: auto 0;
}

.collapse-button:focus {
  box-shadow: none !important;
}
.user-status {
  background-color: #5bdf70;
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  bottom: -2px;
  right: -2px;
}
.mybtn{
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  background-color: transparent;
  border-radius: 5px;
  padding: 5px;
}
.mybtn:hover{
  background-color: #f1f1f1;
}
.floating-message {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: auto;
  max-width: 90%;
}
.hidden{
    display:none !important;
}


@media (width <= 750px) {
  .sidebar {
    width: 70px; /* Ancho cuando está colapsado */

    li .alter-nav-item {
      opacity: 0;
      height: 0;
      width: 0;
    }
    .font-break {
      height: 0;
      word-wrap: normal;
      font-size: 0;
      .small {
        font-size: 0;
      }
    }
  }
  .collapse-button{
    display: none;
  }
}