:root {
  --primary: #5965fc;
  --secondary: #6c757d;
  --light-bg: #f7f7fb;
  --card-bg: #ffffff;
  --border: #e0e0e5;
  --bg-table-th: #f4f0ef;
}

body {
  background-color: var(--light-bg);
  font-family: "Satoshi", sans-serif;
  color: #333;
}

.sidebar {
  background-color: var(--card-bg);
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  height: 90vh;
  overflow-y: auto;
  position: sticky;
  top: 91px;
}

.sidebar h1 {
  font-size: 1.37rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  color: #2c3e50;
  padding-left: 16px;
}

.sidebar .nav-link {
  color: #374151;
  font-size: 1.065rem;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.sidebar .nav-link i {
  margin-right: 12px;
  width: 20px;
  text-align: center;
}

.sidebar .nav-link:hover {
  background-color: rgba(89, 101, 252, 0.1);
  color: var(--primary);
}

.sidebar .nav-link.active {
  font-weight: 600;
  color: var(--primary);
  position: relative;
  z-index: 5;
  box-shadow: 0 0 10px rgba(89, 101, 252, 0.3);
}

.nav-item {
  position: relative;
}

.sidebar .nav-link.active::after,
.sidebar .nav-link:hover::before {
  content: "✦";
  position: absolute;
  left: -10px;
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.content {
  padding: 2rem;
  background-color: #fffbff;
}

.header-section {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-top: 91px;
}

#tableTitle {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  padding-top: 10px;
}

.table-description {
  color: var(--secondary);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.table-card {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.table-responsive {
  border-radius: 0.75rem;
  overflow: hidden;
}

.table thead th {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  border: none;
  padding: 1rem;
  text-align: center;
  vertical-align: middle;
}

.table tbody td {
  padding: 0.85rem;
  text-align: center;
  vertical-align: middle;
  border: none;
}

.table-hover tbody tr:hover {
  background-color: rgba(8, 19, 174, 0.08);
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-bg-type: var(--bg-table-th);
}

.accordion-body {
  padding: 0;
}

@media (max-width: 991.98px) {
  .sidebar {
    display: none;
  }

  .content {
    padding: 1rem;
  }

  .content {
    padding: 0;
  }

  .accordion-button:not(.collapsed) {
    background-color: #fff;
  }

  .table thead th {
    background-color: var(--bs-table-striped-bg);
    color: #000;
  }
}

@media (min-width: 992px) {
  .accordion-item {
    border: none;
    background-color: #fffbff;
    padding-top: 91px;
  }

  .accordion-header {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
    padding-top: 10px;
  }

  .accordion-button {
    border: none;
    font-weight: 700;
    pointer-events: none;
    background-color: #fffbff;
    color: #2c3e50 !important;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    padding-top: 10px;
    padding-left: 0;
  }

  .accordion-button:not(.collapsed) {
    background-color: #fffbff;
  }

  .accordion-button::after {
    display: none;
  }

  .collapse:not(.show) {
    display: block;
  }
}

@media (max-width: 991.98px) {
  .table-responsive-scroll-mobile {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    display: block;
  }

  .table-unisex {
    min-width: 600px;
  }

  #accordionUomo .accordion-item > .accordion-header > .accordion-button {
    text-indent: 20px;
  }

  #accordionMobile .accordion-item > .accordion-header > .accordion-button {
    text-indent: 20px;
  }

  #accordionUomo > .accordion-item > .accordion-header > .accordion-button,
  #accordionMobile > .accordion-item > .accordion-header > .accordion-button,
  #accordionUnisex > .accordion-item > .accordion-header > .accordion-button {
    text-indent: 0;
    font-weight: 700;
  }
}
