.mainSection {
  padding: 0 0 100px;
  display: flex;
  justify-content: center;
}

/* <!-- entities sections --> */

.entitySections {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* entities Top */

.entitiesTop {
  padding: 30px 0 20px;
  border-bottom: 1px solid #f3f3f3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.breadCrumb {
  color: #595959;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.breadCrumb a {
  font-weight: 500;
}

.breadCrumb i {
  font-size: 10px;
}

.entitiesHeader {
  line-height: 1.4;
  letter-spacing: 0.7px;
  font-size: 32px;
  font-weight: 800;
}

.entitiesBottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.entityFilters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.entityCount {
  color: #333;
}

.entityCount span {
  color: #000;
  font-weight: 600;
}

.entityActions {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  gap: 20px;
}

.entitySearch {
  width: 250px;
  height: 35px;
  padding: 0 15px;
  border: 1px solid #f1f1f1;
  border-radius: 5px;
  color: #4b4b4b;
  display: flex;
  align-items: center;
  gap: 5px;
}

.entitySearch input {
  flex: 1;
  height: 100%;
  border: none;
  background-color: none;
  font-family: "Inter";
  color: #4b4b4b;
}

.entitySearch input:focus {
  outline: none;
}

.projectsSort select {
  height: 35px;
  padding: 0 10px;
  border: 1px solid #f1f1f1;
  border-radius: 5px;
  background-color: white;
  color: #4b4b4b;
  font-family: "Inter";
  cursor: pointer;
}

.entityHeadersRight {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.entityHeadersRight::-webkit-scrollbar {
  display: none;
}

.entityHeadersRight:first-child {
  scroll-snap-align: start;
}

.entityFilter {
  padding: 10px 20px;
  font-weight: 500;
  background-color: #f3f4f6;
  border-radius: 19px;
  color: #2d2e2f;
  cursor: pointer;
}

.entityFilter.active {
  background-color: #f35163;
  color: white;
}

/* entities */

.entities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.entity {
  position: relative;
  min-width: 250px;
  flex: 1 1 350px !important;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.entityTop {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.entityImage {
  width: 50px;
  height: 50px;
  /* border: 1px solid #e5e7eb; */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.entityImage img {
  width: 35px;
  height: 35px;
}

.entityName {
  padding: 10px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.entityType {
  font-size: 13px;
  color: #4b4b4b;
}

.entityBottom {
  margin: 15px 20px 25px;
  /* border: 1px solid #e5e7eb; */
  border-radius: 5px;
}

.entityExtra {
  padding: 10px 0;
  color: #757474;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.entityExtra:first-child {
  border-bottom: 1px solid #e5e7eb;
}

.entityExtra h5 {
  color: #000;
}

.showEntity {
  position: absolute;
  top: 30px;
  right: 20px;
  transform: rotate(180deg);
}

/* pagination */

.paginationSection {
  width: 85%;
  padding: 60px 0 0;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #222b3a;
}

.paginationPrevious.inactive,
.paginationNext.inactive {
  opacity: 0.5;
  pointer-events: none;
}

.paginationNumbers {
  display: flex;
  align-items: center;
}

.paginationNumbers span {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paginationNumbers span.active {
  border: 2px solid #000;
  border-radius: 50%;
}

.paginationNumbers span:hover {
  cursor: pointer;
  font-weight: 600;
  transition: font-weight 0.4s ease-in-out;
}

/* empty state */

.emptyState {
  width: 100%;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.emptyIcon {
  width: 140px;
  height: 140px;
  margin: 10px 0;
  background-color: #fafafa;
  color: #6b6b6b;
  border-radius: 50%;
  font-size: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.emptyHeader {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.emptyDes {
  max-width: 300px;
  color: #4b4b4b;
  font-size: 15px;
  text-align: center;
}

.emptyButton {
  margin-top: 20px;
  padding: 10px 30px;
  background-color: #f35163;
  color: white;
  border-radius: 5px;
  font-weight: 600;
}

/* entity responsive */

@media (max-width: 1200px) {
}

@media (max-width: 868px) {
  .entitySections {
    width: 85%;
  }

  .entitySearch {
    width: 100%;
  }

  
}

@media (max-width: 640px) {
}

/* @extra  */

.skeleton {
  min-width: 250px;
  flex: 1 1 350px !important;
  padding: 20px;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  border-radius: 10px;
}

.skeletonTop {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeletonName {
  width: 60%;
  height: 20px;
  animation: pulse 1.5s infinite;
  border-radius: 10px;
}

.skeletonOrg {
  width: 40%;
  height: 15px;
  animation: pulse 1.5s infinite;
  border-radius: 10px;
}

.skeletonBottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skeletonDes {
  width: 90%;
  height: 50px;
  animation: pulse 1.5s infinite;
  border-radius: 10px;
}

.skeletonExtra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  border-radius: 10px;
}

.skeletonButton {
  width: 30%;
  height: 30px;
  animation: pulse 1.5s infinite;
  border-radius: 10px;
}

.skeletonDate {
  width: 40%;
  height: 15px;
  animation: pulse 1.5s infinite;
  border-radius: 10px;
}

@keyframes pulse {
  0% {
    background-color: #f3f4f6;
  }
  50% {
    background-color: #e5e7eb;
  }
  100% {
    background-color: #f3f4f6;
  }
}

.pageHidden {
  display: none !important;
}
