.u-section-1 .u-sheet-1 {
  min-height: 832px;
}

.u-section-1 .u-list-1 {
  width: 946px;
  margin: 205px 91px 60px auto;
}

.u-section-1 .u-repeater-1 {
  min-height: 255px;
  grid-auto-columns: calc(33.3333% - 60px);
  grid-template-columns: calc(33.3333% - 60px) calc(33.3333% - 60px) calc(33.3333% - 60px);
  grid-gap: 90px 90px;
}

.u-section-1 .u-container-layout-1 {
  padding: 10px;
}

.u-section-1 .u-image-1 {
  height: auto;
  margin-top: 0;
  margin-bottom: 0;
}

.u-section-1 .u-container-layout-2 {
  padding: 10px;
}

.u-section-1 .u-image-2 {
  height: auto;
  margin-top: 0;
  margin-bottom: 0;
}

.u-section-1 .u-container-layout-3 {
  padding: 10px;
}

.u-section-1 .u-image-3 {
  height: auto;
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 1199px) {
  .u-section-1 .u-sheet-1 {
    min-height: 786px;
  }

  .u-section-1 .u-list-1 {
    width: 940px;
    margin-right: 0;
    margin-bottom: -415px;
  }

  .u-section-1 .u-repeater-1 {
    min-height: 254px;
    grid-auto-columns: calc(33.333333333333336% - 60px);
    grid-template-columns: repeat(3, calc(33.333333333333336% - 60px));
  }

  .u-section-1 .u-image-1 {
    height: NaNpx;
  }

  .u-section-1 .u-image-2 {
    height: NaNpx;
  }

  .u-section-1 .u-image-3 {
    height: NaNpx;
  }
}

@media (max-width: 991px) {
  .u-section-1 .u-sheet-1 {
    min-height: 1126px;
  }

  .u-section-1 .u-list-1 {
    width: 539px;
    margin-top: 195px;
    margin-right: auto;
    margin-bottom: 60px;
  }

  .u-section-1 .u-repeater-1 {
    min-height: 595px;
    grid-auto-columns: calc(50% - 45px);
    grid-template-columns: calc(50% - 45px) calc(50% - 45px);
  }
}

@media (max-width: 767px) {
  .u-section-1 .u-sheet-1 {
    min-height: 1392px;
  }

  .u-section-1 .u-list-1 {
    width: 249px;
    margin-top: 126px;
    margin-bottom: -756px;
  }

  .u-section-1 .u-repeater-1 {
    min-height: 957px;
    grid-auto-columns: calc(100% - 0px);
    grid-template-columns: 100%;
  }

  .u-section-1 .u-container-layout-1 {
    padding-top: 0;
    padding-bottom: 3px;
  }

  .u-section-1 .u-image-1 {
    margin-top: 1px;
  }

  .u-section-1 .u-container-layout-2 {
    padding-top: 0;
    padding-bottom: 3px;
  }

  .u-section-1 .u-image-2 {
    margin-top: 1px;
  }

  .u-section-1 .u-container-layout-3 {
    padding-top: 0;
    padding-bottom: 3px;
  }

  .u-section-1 .u-image-3 {
    margin-top: 1px;
  }
}

@media (max-width: 575px) {
  .u-section-1 .u-sheet-1 {
    min-height: 1240px;
  }

  .u-section-1 .u-list-1 {
    width: 180px;
    margin-top: 105px;
    margin-bottom: -908px;
  }

  .u-section-1 .u-repeater-1 {
    min-height: 855px;
    grid-auto-columns: 100%;
  }

  .u-section-1 .u-container-layout-1 {
    padding-bottom: 0;
  }

  .u-section-1 .u-image-1 {
    height: auto;
  }

  .u-section-1 .u-container-layout-2 {
    padding-bottom: 0;
  }

  .u-section-1 .u-image-2 {
    height: auto;
  }

  .u-section-1 .u-container-layout-3 {
    padding-bottom: 0;
  }

  .u-section-1 .u-image-3 {
    height: auto;
  }
}

section {
  max-width: 90%;
  margin: 0 auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  padding-bottom: 50px;
  padding-top: 20px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 6px 20px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background-color: #fff; /* optional for contrast */
}

/* Search bar styling */
#searchQuery {
  /* background-image: url('/css/searchicon.png'); */
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='gray' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.742 10.344l3.387 3.387-1.397 1.397-3.387-3.387a6 6 0 111.397-1.397zM6.5 10.5a4 4 0 100-8 4 4 0 000 8z'/%3E%3C/svg%3E");
  background-position: 10px center;
  background-repeat: no-repeat;
  width: 100%;
  font-size: 15px;
  padding: 10px 16px 10px 40px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

#searchQuery:focus {
  border-color: #242c5c;
  outline: none;
  box-shadow: 0 0 4px rgba(36, 44, 92, 0.4);
}

/* Table styling */
#client {
  border-collapse: collapse;
  width: 100%;
  min-width: 600px; /* ensures scroll on small screens */
  font-size: 16px;
  border-radius: 8px;
  overflow: hidden;
}

/* Header styling */
#client th {
  background-color: #242c5c;
  color: #ffffff;
  text-align: center;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 18px;
}

/* Row and cell styling */
#client td {
  text-align: left;
  padding: 10px 12px;
  color: #000000;
}

#client tr {
  border-bottom: 1px solid #e0e0e0;
}

/* Hover effects */
#client tr:hover {
  background-color: #f8f9ff;
}

#client td:hover {
  color: #242c5c;
}

#client td.status span{
  color: #ffff;
  background-color: #057c37;
  font-weight: 600;
  border-radius: 5px;
  padding: 5px;
}
/* Search Button */
.search-button {
  padding: 10px 18px;
  background-color: #242c5c; /* deep navy */
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  height: 48px;
}

.search-button:hover {
  background-color: #1a2047; /* slightly darker on hover */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.search-button:active {
  background-color: #10142f;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* Make table responsive */
@media (max-width: 768px) {
  #searchQuery {
    font-size: 14px;
    padding: 10px 12px 10px 36px;
  }

  #client {
    font-size: 14px;
  }

  #client th,
  #client td {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  #searchQuery {
    font-size: 13px;
    padding: 8px 10px 8px 32px;
  }

  #client {
    font-size: 13px;
  }

  #client th,
  #client td {
    padding: 6px 8px;
  }
}