:root {
  --sidebar-width: 285px;
}

body {
  background-color: #f8f9fa;
}

#wrapper {
  overflow-x: hidden;
}

#sidebar-wrapper {
  min-height: 100vh;
  width: var(--sidebar-width);
  margin-left: 0;
  transition: margin 0.25s ease-out;
}

#wrapper.toggled #sidebar-wrapper {
  margin-left: calc(var(--sidebar-width) * -1);
}

.sidebar {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.sidebar-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.list-group-item {
  border: none;
  padding: 0.8rem 1.25rem;
  transition: all 0.3s;
}

.list-group-item:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.list-group-item.active {
  background-color: rgba(255, 255, 255, 0.2) !important;
}

#page-content-wrapper {
  min-width: 100vw;
}

.navbar {
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border: none;
}

/* DataTables customização */
.dataTables_wrapper .dt-buttons {
  margin-bottom: 1rem;
}

.dt-buttons .btn {
  margin-right: 0.5rem;
}

/* Responsividade */
@media (min-width: 768px) {
  #page-content-wrapper {
    min-width: 0;
    width: 100%;
  }
}

/* Animações */
.btn {
  transition: all 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

/* Customização da tabela */
.table {
  margin-bottom: 0;
}

.table thead th {
  border-top: none;
  background-color: #f8f9fa;
  font-weight: 600;
}

.btn-group .btn {
  padding: 0.375rem 0.75rem;
}

/* Dropdown customização */
.dropdown-menu {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border: none;
}

.dropdown-item {
  padding: 0.5rem 1rem;
}

/* Scrollbar customização */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
