.admin-container {
  display: flex;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
}

.admin-header {
  padding: 1rem 0;
  border-bottom: 1px solid #e3e6f0;
  margin-bottom: 1.5rem;
}
.admin-header h4 {
  margin-bottom: 0;
}

.custom-table {
  width: 100%;
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 1.5rem;
}
.custom-table thead {
  background: linear-gradient(to right, #7d5fff, rgb(166.4375, 146, 255));
}
.custom-table thead th {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  border: none;
  padding: 1rem;
  vertical-align: middle;
}
.custom-table thead th:first-child {
  border-top-left-radius: 0.5rem;
}
.custom-table thead th:last-child {
  border-top-right-radius: 0.5rem;
}
.custom-table tbody tr {
  transition: background-color 0.3s ease-in-out;
}
.custom-table tbody tr:hover {
  background-color: rgba(125, 95, 255, 0.05);
}
.custom-table tbody tr:nth-child(even) {
  background-color: rgba(248, 249, 252, 0.03);
}
.custom-table tbody td {
  padding: 0.75rem 1rem;
  vertical-align: middle;
  border-color: #e3e6f0;
}
.custom-table tbody td .badge {
  font-weight: 500;
  padding: 0.4rem 0.6rem;
}
.custom-table .btn-action {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.25rem;
  color: #fff;
}
.custom-table .btn-action.btn-view {
  background-color: #7d5fff;
}
.custom-table .btn-action.btn-view:hover {
  background-color: rgb(83.5625, 44, 255);
}
.custom-table .btn-action.btn-edit {
  background-color: #17a2b8;
}
.custom-table .btn-action.btn-edit:hover {
  background-color: rgb(17.3333333333, 122.0869565217, 138.6666666667);
}
.custom-table .btn-action.btn-delete {
  background-color: #dc3545;
}
.custom-table .btn-action.btn-delete:hover {
  background-color: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}
.custom-table .btn-action i {
  font-size: 0.875rem;
}
.custom-table .status-badge {
  border-radius: 30px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
}
.custom-table .status-badge.active {
  background-color: #28a745;
  color: white;
}
.custom-table .status-badge.inactive {
  background-color: #6c757d;
  color: white;
}
.custom-table .status-badge.pending {
  background-color: #ffc107;
  color: #212529;
}

.table-responsive {
  border-radius: 0.5rem;
  overflow-x: auto;
}
@media (max-width: 768px) {
  .table-responsive table {
    min-width: 800px;
  }
  .table-responsive table td {
    white-space: nowrap;
  }
}

.card {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}
.card .card-header {
  background-color: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 1.5rem;
}
.card .card-body {
  padding: 1.5rem;
}
.card .card-footer {
  background-color: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 1.5rem;
}
.card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.sidebar {
  width: 250px;
  min-height: 100vh;
  background: linear-gradient(135deg, #fff 0%, #f8f9fc 100%);
  border-right: 1px solid #e3e6f0;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  z-index: 999;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
}
.sidebar.collapsed {
  width: 70px;
}
.sidebar.collapsed .sidebar-brand .brand-text {
  display: none;
}
.sidebar.collapsed .nav-item .nav-link {
  text-align: center;
  padding: 0.75rem 1rem;
}
.sidebar.collapsed .nav-item .nav-link span {
  display: none;
}
.sidebar.collapsed .nav-item .nav-link i {
  font-size: 1.25rem;
  margin-right: 0;
}
.sidebar .sidebar-brand {
  height: 4.375rem;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  border-bottom: 1px solid #e3e6f0;
}
.sidebar .sidebar-brand .brand-icon {
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
}
.sidebar .sidebar-brand .brand-text {
  color: #7d5fff;
  font-weight: 700;
  font-size: 1.2rem;
  transition: display 0.3s ease-in-out;
}
.sidebar .sidebar-divider {
  border-top: 1px solid #e3e6f0;
  margin: 1rem 0;
}
.sidebar .sidebar-heading {
  padding: 0 1rem;
  font-weight: 600;
  font-size: 0.75rem;
  color: #858796;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}
.sidebar .nav-item {
  position: relative;
}
.sidebar .nav-item .nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  color: #5a5c69;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}
.sidebar .nav-item .nav-link i {
  font-size: 0.85rem;
  margin-right: 0.5rem;
  color: #858796;
  transition: all 0.3s ease-in-out;
}
.sidebar .nav-item .nav-link span {
  transition: display 0.3s ease-in-out;
}
.sidebar .nav-item .nav-link:hover {
  background-color: #f0f0f7;
}
.sidebar .nav-item .nav-link:hover i {
  color: #7d5fff;
}
.sidebar .nav-item .nav-link.active {
  background-color: #e9ecf4;
  color: #7d5fff;
  font-weight: 600;
}
.sidebar .nav-item .nav-link.active i {
  color: #7d5fff;
}
.sidebar .nav-item .nav-link.active:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: #7d5fff;
}
.sidebar .nav-item .collapse, .sidebar .nav-item .collapsing {
  margin: 0 1rem;
  border-radius: 0.35rem;
  background-color: #f8f9fc;
}
.sidebar .nav-item .collapse .collapse-inner, .sidebar .nav-item .collapsing .collapse-inner {
  padding: 0.5rem 0;
  min-width: 10rem;
}
.sidebar .nav-item .collapse .collapse-inner .collapse-item, .sidebar .nav-item .collapsing .collapse-inner .collapse-item {
  display: block;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
  color: #5a5c69;
  font-size: 0.85rem;
  border-radius: 0.25rem;
  white-space: nowrap;
  transition: background-color 0.3s ease-in-out;
}
.sidebar .nav-item .collapse .collapse-inner .collapse-item:hover, .sidebar .nav-item .collapsing .collapse-inner .collapse-item:hover {
  background-color: #f0f0f7;
  color: #7d5fff;
}
.sidebar .nav-item .collapse .collapse-inner .collapse-item.active, .sidebar .nav-item .collapsing .collapse-inner .collapse-item.active {
  color: #7d5fff;
  font-weight: 600;
  background-color: #e9ecf4;
}

.content-wrapper {
  margin-left: 250px;
  min-height: 100vh;
  padding: 1.5rem;
  transition: margin-left 0.3s ease-in-out;
  width: calc(100% - 250px);
  max-width: 100%;
  overflow-x: hidden;
  flex: 1;
}
.content-wrapper.sidebar-collapsed {
  margin-left: 70px;
  width: calc(100% - 70px);
}

.sidebar-toggle {
  background-color: transparent;
  border: none;
  color: #858796;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease-in-out;
}
.sidebar-toggle:hover {
  color: #7d5fff;
}

@media (max-width: 768px) {
  .sidebar {
    width: 70px;
  }
  .sidebar.mobile-open {
    width: 250px;
  }
  .sidebar .brand-text, .sidebar .nav-link span, .sidebar .sidebar-heading, .sidebar .user-info {
    display: none;
  }
  .sidebar.collapsed {
    width: 0;
    overflow: hidden;
  }
  .content-wrapper {
    margin-left: 70px;
    width: calc(100% - 70px);
    padding: 1rem;
  }
  .content-wrapper.sidebar-collapsed {
    margin-left: 0;
    width: 100%;
  }
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
  }
  .sidebar-overlay.show {
    display: block;
  }
}
.user-profile {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e3e6f0;
  margin-top: auto;
}
.user-profile .avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 0.75rem;
  border: 2px solid #e3e6f0;
}
.user-profile .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.user-profile .user-info .user-name {
  font-weight: 600;
  color: #5a5c69;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}
.user-profile .user-info .user-role {
  font-size: 0.75rem;
  color: #858796;
}

.badge-counter {
  position: absolute;
  transform: scale(0.7);
  transform-origin: top right;
  right: 0.25rem;
  margin-top: -0.25rem;
  background-color: #7d5fff;
  color: #fff;
  border-radius: 0.625rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.sidebar::-webkit-scrollbar {
  width: 0.5rem;
}

.sidebar::-webkit-scrollbar-track {
  background-color: #f8f9fc;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #e3e6f0;
  border-radius: 0.25rem;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background-color: #858796;
}

/*# sourceMappingURL=style.css.map */
