/* Navegaci¨Žn lateral AMACATS */
.app-sidebar {
  background: #172524;
  border-right: 1px solid rgba(188, 201, 198, 0.22);
  color: #eaf5f3;
  display: flex;
  flex: 0 0 280px;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition:
    flex-basis 0.3s ease,
    opacity 0.3s ease;
}
.app-sidebar__profile {
  align-items: center;
  border-bottom: 1px solid rgba(188, 201, 198, 0.14);
  display: flex;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
}
.app-sidebar__avatar {
  border: 2px solid #6bd8cb;
  border-radius: 50%;
  height: 48px;
  object-fit: cover;
  width: 48px;
}
.app-sidebar__name,
.app-sidebar__role {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-sidebar__name {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}
.app-sidebar__role {
  color: #9cecdf;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}
.app-sidebar__label {
  color: #91a8a4;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 1rem 1.5rem 0.55rem;
}
.app-sidebar__menu {
  flex: 1;
  overflow-y: auto;
  padding: 0 0.7rem 1rem;
}
.app-sidebar__menu::-webkit-scrollbar {
  width: 5px;
}
.app-sidebar__menu::-webkit-scrollbar-thumb {
  background: rgba(107, 216, 203, 0.35);
  border-radius: 5px;
}
.app-sidebar__link,
.app-sidebar__sublink,
.app-sidebar__logout {
  align-items: center;
  border: 0;
  border-radius: 0.55rem;
  box-sizing: border-box;
  color: #c9d8d5;
  display: flex;
  font-family: inherit;
  font-size: 0.87rem;
  font-weight: 600;
  gap: 0.9rem;
  line-height: 1.2;
  min-height: 45px;
  text-align: left;
  text-decoration: none;
  transition:
    background 0.18s ease,
    color 0.18s ease;
  width: 100%;
}
.app-sidebar__link {
  background: transparent;
  cursor: pointer;
  margin: 0.16rem 0;
  padding: 0.7rem 0.85rem;
}
.app-sidebar__link > i:first-child {
  color: #8eb8b1;
  font-size: 1rem;
  text-align: center;
  width: 1.2rem;
}
.app-sidebar__link:hover,
.app-sidebar__link:focus-visible {
  background: rgba(107, 216, 203, 0.12);
  color: #fff;
  outline: 0;
}
.app-sidebar__link.is-active {
  background: #008378;
  color: #fff;
}
.app-sidebar__link.is-active > i:first-child {
  color: #fff;
}
.app-sidebar__chevron {
  font-size: 0.72rem;
  margin-left: auto;
  transition: transform 0.2s ease;
}
.app-sidebar__group.is-open .app-sidebar__chevron {
  transform: rotate(180deg);
}
.app-sidebar__subitems {
  display: none;
  margin: 0.1rem 0 0.25rem 1.2rem;
  padding-left: 0.8rem;
  position: relative;
}
.app-sidebar__subitems:before {
  background: rgba(107, 216, 203, 0.25);
  content: "";
  height: calc(100% - 0.45rem);
  left: 0;
  position: absolute;
  top: 0.2rem;
  width: 1px;
}
.app-sidebar__group.is-open .app-sidebar__subitems {
  display: block;
}
.app-sidebar__sublink {
  color: #a8beb9;
  font-size: 0.78rem;
  gap: 0.75rem;
  min-height: 36px;
  padding: 0.45rem 0.55rem;
}
.app-sidebar__sublink i {
  color: #71cabd;
  font-size: 0.78rem;
  width: 1rem;
}
.app-sidebar__sublink:hover,
.app-sidebar__sublink:focus-visible,
.app-sidebar__sublink.is-active {
  color: #fff;
  outline: 0;
}
.app-sidebar__sublink.is-active {
  color: #8ff3e6;
}
.app-sidebar__footer {
  border-top: 1px solid rgba(188, 201, 198, 0.14);
  padding: 0.75rem 0.7rem;
}
.app-sidebar__logout {
  color: #ffb4ab;
  padding: 0.7rem 0.85rem;
}
.app-sidebar__logout:hover,
.app-sidebar__logout:focus-visible {
  background: rgba(255, 180, 171, 0.12);
  color: #fff;
  outline: 0;
}
.navLateral-change {
  border-right: 0;
  flex-basis: 0;
  opacity: 0;
  pointer-events: none;
}
.pageContent {
  flex: 1;
  width: auto;
}
.pageContent-change {
  width: auto;
}
.navBar-menu-toggle {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font-size: 1.25rem;
  height: 45px;
  margin-left: 9px;
  width: 40px;
}
.navBar-menu-toggle:hover {
  color: #d9fffa;
}
@media (max-width: 900px) {
  .app-sidebar {
    position: fixed;
    transform: translateX(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
    width: 260px;
    z-index: 30;
  }
  .app-sidebar.navLateral-change {
    transform: translateX(-100%);
  }
  .pageContent {
    width: 100%;
  }
  .navBar {
    margin-bottom: 18px;
  }
}
.app-topbar {
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  color: #334155;
  display: flex;
  flex-shrink: 0;
  height: 64px;
  justify-content: space-between;
  margin-bottom: 30px;
  position: sticky;
  top: 0;
  z-index: 40;
}
.app-topbar__identity,
.app-topbar__account {
  align-items: center;
  display: flex;
}
.app-topbar__identity {
  flex: 1;
  gap: 0.9rem;
  min-width: 0;
  overflow: hidden;
  padding-left: 0.7rem;
}
.app-topbar .navBar-menu-toggle {
  border: 0;
  border-radius: 0.5rem;
  color: #475569;
  height: 42px;
  margin: 0;
  width: 42px;
}
.app-topbar .navBar-menu-toggle:hover {
  background: #f1f5f9;
  color: #0d9488;
}
.app-topbar__brand-mark {
  align-items: center;
  background: #0d9488;
  border-radius: 0.7rem;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.22);
  color: #fff;
  display: flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.app-topbar__title {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
  min-width: 0;
}
.app-topbar__title span {
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-top: 0.18rem;
  text-transform: uppercase;
}
.app-topbar__title strong {
  color: #1e293b;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.app-topbar__account {
  gap: 0.8rem;
  padding: 0 1.1rem;
}
.app-topbar__user {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: right;
}
.app-topbar__user-name {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 700;
}
.app-topbar__user-role {
  color: #94a3b8;
  font-size: 0.67rem;
  margin-top: 0.18rem;
  text-transform: uppercase;
}
.app-topbar__avatar-wrap { position: relative; }
.app-topbar__avatar {
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  height: 36px;
  object-fit: cover;
  width: 36px;
}
.app-topbar__online { background: #10b981; border: 2px solid #fff; border-radius: 50%; bottom: 0; height: 11px; position: absolute; right: -1px; width: 11px; }
.app-topbar__logout {
  align-items: center;
  border-left: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  font-size: 1rem;
  height: 30px;
  justify-content: center;
  margin-left: 0.2rem;
  padding-left: 0.9rem;
  text-decoration: none;
  width: 30px;
}
.app-topbar__logout:hover,
.app-topbar__logout:focus-visible {
  color: #e11d48;
  outline: 0;
}
@media (max-width: 900px) {
  .app-topbar {
    height: 58px;
    margin-bottom: 18px;
  }
  .app-topbar .navBar-menu-toggle {
    height: 58px;
    width: 56px;
  }
  .app-topbar__title strong {
    font-size: 1.08rem;
  }
  .app-topbar__account {
    gap: 0.5rem;
    padding-right: 0.75rem;
  }
  .app-topbar__user {
    display: none;
  }
  .app-topbar__avatar {
    height: 32px;
    width: 32px;
  }
  .app-topbar__brand-mark { flex-basis: 34px; height: 34px; width: 34px; }
  .app-topbar__title span { display: none; }
}
@media (max-width: 560px) {
  .app-topbar__identity { gap: 0.55rem; padding-left: 0.35rem; }
  .app-topbar__title { display: none; }
  .app-topbar__account { padding-left: 0.4rem; }
  .app-topbar__logout { margin-left: 0; }
}
