* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.page-content-wrapper {
  background-color: #f6f6f6;
  min-height: 100vh;
  padding-top: 4.5rem;
}

.page-content {
  padding: 2rem 0.5rem;
}

.table-wrapper {
  background-color: white;
  border-radius: 0.5rem;
  margin-top: 2rem;
}

.table-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0.6rem;
}

.table-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0rem 0.6rem 1rem 0.6rem;
}

.table-header .table-title {
  font-size: 1.2rem;
  padding: 0 0.6rem;
}

.table-header .search-input {
  position: relative;
}

.table-header .search-input input {
  padding: 0.4rem 1rem 0.5rem 3rem;
}

.table-header .search-input i {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
}

.table-header .add-button {
  padding: 0.4rem 1rem 0.5rem 1rem;
  background-color: #0041c2;
  color: white;
  outline: none;
  border: 1px solid #0041c2;
  border-radius: 0.2rem;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.table-header .export-button {
  padding: 0.4rem 1rem 0.5rem 1rem;
  background-color: transparent;
  color: black;
  outline: none;
  border: 1px solid black;
  border-radius: 0.2rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.table-header .export-button:hover {
  padding: 0.4rem 1rem 0.5rem 1rem;
  background-color: transparent;
  color: gray;
  outline: none;
  border: 1px solid gray;
}

.table-header .add-button i {
  font-size: 1.1rem;
}

.table-header .add-button:hover {
  background-color: transparent;
  color: #0041c2;
}

/* FILTER */
.filter-wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  padding: 1rem 0.6rem;
}

.filter {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.filter-submit-button {
  padding: 0.3rem 1rem 0.4rem 1rem;
  background-color: #0041c2;
  color: white;
  outline: none;
  border: 1px solid #0041c2;
  border-radius: 0.2rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.filter-submit-button:hover {
  background-color: transparent;
  color: #0041c2;
}

/* TABLE  */
.custom-table-heading {
  text-wrap: nowrap;
  padding: 0.5rem 1rem !important;
}

.custom-table-heading.center {
  text-align: center;
}

.custom-table-heading.right {
  text-align: right;
}

.custom-table-cell {
  padding: 0.5rem 1rem !important;
}

.custom-table-cell.center {
  text-align: center;
}

.custom-table-cell.right {
  text-align: right;
}

.custom-table-image {
  max-width: 40px;
  max-height: 40px;
  border-radius: 50%;
}

.custom-table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 1rem 1rem 1rem;
}

.custom-table-pagination button {
  padding: 0.4rem 1rem;
  background-color: transparent;
  color: gray;
  outline: none;
  border: 1px solid gray;
  border-radius: 0.2rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .page-content-wrapper {
    margin-left: 260px;
  }

  .page-content {
    padding: 2rem 1.5rem;
  }

  .filter-wrapper {
    gap: 1rem;
    background-color: gray;
    border-radius: 0.2rem;
    padding: 1.6rem 1rem;
  }

  .filter-wrapper.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .filter-wrapper.two {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-label {
    margin-bottom: 0.4rem;
    color: white;
    font-size: 1.2rem;
  }

  .table-header {
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 1rem;
  }

  .table-actions {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0rem 0.6rem 1rem 0.6rem;
  }

  .table-header .search-input input {
    min-width: 300px;
  }
}

@media (min-width: 1200px) {
  .table-header {
    flex-direction: row;
    align-items: center;
  }
}
