body {
  display: flex;
  height: 100vh;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
}
.sidebar {
  width: 300px;
  background-color: #1e252e;
  color: #e9e9e9;
  flex-shrink: 0;
  padding-top: 20px;
  position: fixed;
  height: 100%;
  overflow-y: auto;
}
.sidebar .sidebar-heading {
  padding: 0 20px;
  font-size: 1.5rem;
  text-align: center;
}
.sidebar .subtext {
  font-size: 0.9rem;
  text-align: center;
  color: #c0c0c0;
  margin-top: 5px;
}
.sidebar .badge {
  font-size: 0.7rem;
  margin-left: 5px;
}
.sidebar a {
  color: #e9e9e9;
  text-decoration: none;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  position: relative;
  margin-top: 5px;
}
.sidebar a i {
  margin-right: 10px;
}
.sidebar a:hover {
  color: #fff;
  background-color: #0d6efd;
  border-right: 4px solid #6c9fff;
}
.sidebar .submenu a:hover {
  color: #fff;
}
.sidebar a .arrow {
  margin-left: auto;
  transition: transform 0.3s;
}
.submenu {
  display: none;
  flex-direction: column;
  background-color: #292f38;
  overflow: hidden;
}
.submenu.show {
  display: flex;
  animation: expand 0.3s ease-out forwards;
}
.submenu.hide {
  animation: collapse 0.3s ease-out forwards;
}
@keyframes expand {
  from {
    max-height: 0;
  }
  to {
    max-height: 500px; /* Ajuste conforme necessário */
  }
}
@keyframes collapse {
  from {
    max-height: 500px; /* Ajuste conforme necessário */
  }
  to {
    max-height: 0;
  }
}
.sidebar .submenu a {
  padding-left: 40px;
  font-size: 0.9rem;
  color: #a0a0a0;
  display: flex;
  align-items: center;
}
.sidebar .submenu a::before {
  content: "•";
  margin-right: 10px;
}
.content {
  flex-grow: 1;
  padding: 20px;
  margin-left: 300px;
  overflow-y: auto;
}
.content section {
  padding: 20px;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 5px;
}
.content a {
  text-decoration: none;
  color: #1e252e;
  font-weight: 300;
}
.content a:hover {
  text-decoration: none;
  color: #0d6efd;
}
.content h2 {
  color: #1e252e;
  display: flex;
  align-items: center;
}
.content h2 i {
  margin-right: 10px;
  font-size: 1.5rem;
}
.content .highlight {
  background-color: #bfdbfe45;
  color: #2566eb;
  font-weight: 500;
  padding: 2px 4px;
  border-radius: 4px;
}
.content footer {
  margin-top: 20px;
  text-align: center;
  color: #6c757d;
}
.collapse-button {
  display: none;
  background-color: #1e252e;
  border: none;
  color: #e9e9e9;
  padding: 10px 15px;
  width: 100%;
  text-align: left;
}
.collapse-button:focus {
  outline: none;
}
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }
  .sidebar.show {
    transform: translateX(0);
  }
  .collapse-button {
    display: block;
  }
  .content {
    margin-left: 0;
  }
}
.sidebar-footer {
  padding: 10px;
  text-align: center;
}