#paginationApp {
  width: 100%;
  padding: 15px 10px;
  background-color: white;
  border-radius: 15px;
  margin: 0 5px;
  position: relative;
  overflow: hidden;
}
.card-view,
.list-view {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.card-view {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.list-view {
  grid-template-columns: 1fr;
}
.card,
.list-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  background: #f9f9f9;
  transition: transform 0.2s, opacity 0.3s;
}
.card img,
.list-item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.card h4,
.list-item h4 {
  text-align: center;
  margin: 5px 0 0;
}
.table-view {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}
.data-table th:nth-child(2),
.data-table td:nth-child(2) {
  position: sticky;
  left: 0;
}

.data-table tr:nth-child(2) th {
  position: sticky;

  top: 0;
}

.data-table th,
.data-table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
  background-color: white;
}
.data-table th:last-child,
.data-table td:last-child {
  text-align: center;
}
.data-table img {
  max-width: 100px;
  height: auto;
  border-radius: 4px;
}
#paginationContainer {
  font-size: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: center;
  margin-top: 20px;
}
#paginationContainer button {
  font-size: 0.6rem;
  padding: 6px 10px;
  background: #eee;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}
#paginationContainer button.active-circle {
  background: #f8ae19;
  color: white;
  /* border-radius: 50%; */
  font-weight: bold;
}
.page-info {
  margin-top: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 0.8rem;
}
.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.inputSearchPagination {
  position: absolute;
  left: -100%;
  top: 0;
  font: small-caption;
  outline: none;
  border: solid 2px #dfeaf2;
  padding: 10px 15px;
  border-radius: 15px;
  font-family: "inter", sans-serif;
  font-size: 0.8rem;
  color: #718ebf;
  width: 50%;
  transition: all 0.2s ease-in-out;
}
.inputSearchPagination.active {
  left: 12px;
}
.selectPagination {
  font: small-caption;
  outline: none;
  border: solid 2px #dfeaf2;
  padding: 10px 15px;
  border-radius: 15px;
  font-family: "inter", sans-serif;
  font-size: 0.8rem;
  color: #718ebf;
  background-color: white;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.btnRoundedPagination {
  position: relative;
  background-color: var(--white);
  width: 32px;
  min-width: 32px;
  font-size: 1rem;
  height: 32px;
  line-height: 1;
  min-height: 32px;
  border-radius: 15px;
  border: solid 2px #dfeaf2;
  color: #718ebf;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.btnRoundedPagination:hover,
.btnRoundedPagination.active {
  background-color: #f8ae19;
  border: none;
  color: white;
}
.titlePagination {
  position: relative;
  padding-left: 15px;
  font-size: 1rem;
  font-weight: bold;
  color: #718ebf;
}
.titlePagination::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  border-radius: 15px;
  background-color: #f8ae19;
}
/* tombol search */
/* modal modalRandP */
.modalRandP {
  position: absolute;
  top: 0;
  left: -100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: white;
  transition: all 0.2s ease-in-out;
  /* z-index: 1; */
}
.modalRandP.active {
  left: 0;
}
/* end modal modalRandP */
/* form input */
.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 10px 0px;
}
.form-control {
  position: relative;
  font: small-caption;
  outline: none;
  border: solid 2px #dfeaf2;
  padding: 10px 15px;
  border-radius: 15px;
  font-family: "inter", sans-serif;
  font-size: 15px;
  color: #718ebf;
}
.form-control::placeholder {
  color: #718ebf;
}
.form-control:focus {
  border: solid 2px var(--primary);
}
/* end form input */

/* card-inputRandP */
.card-inputRandP {
  position: fixed;
  top: 50%;
  left: -100%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  width: 450px;
  height: fit-content;
  border-radius: 15px;
  padding: 10px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-color: white;
  /* overflow-y: scroll; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.card-inputRandP.active {
  left: 50%;
}

/* end card-inputRandP */
#formInputRandP {
  padding: 10px;
  height: calc(100% - 52px);
  /* overflow-y: scroll; */
}
/* lebar hp */
@media screen and (max-width: 1008px) {
  .card-inputRandP {
    position: fixed;
    bottom: -150%;
    top: auto;
    left: 0;
    transform: translate(0%, 0%);
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: fit-content;
    padding: 10px;
    transition: all 0.1s ease-in-out;
    background-color: white;
    box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.156);
    z-index: 1;
  }
  .card-inputRandP.active {
    bottom: 0px;
    left: 0;
  }
  #formInputRandP {
    height: calc(100% - 52px);
  }
  .card_upload {
    display: flex !important;
    position: fixed !important;
    bottom: -150% !important;
    top: auto !important;
    left: 0 !important;
    transform: translate(0%, 0%) !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    padding: 10px !important;
    transition: all 0.1s ease-in-out !important;
    background-color: white !important;
    box-shadow: 0px 0px 6px 6px rgba(0, 0, 0, 0.156) !important;
    z-index: 1 !important;
  }
  .card_upload.active {
    bottom: 0px !important;
    left: 0 !important;
  }
}
/* end lebar hp */
/* progress circle */
.upload-container {
  /* max-width: 300px; */
  margin: auto;
  text-align: center;
}
.img-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  background-color: white;
  transition: all 0.2s ease-in-out;
  /* z-index: 1; */
}
/* .img-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  } */
.progress-circle {
  width: 100px;
  height: 100px;
  margin: 1em auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.progress-circle svg {
  transform: rotate(-90deg);
}
.progress-circle circle {
  fill: none;
  stroke-width: 5;
}
.progress-bg {
  stroke: #eee;
}
.progress-bar {
  stroke: #f8ae19;
  stroke-linecap: round;
  stroke-dasharray: 314; /* 2 * PI * R (R=50) */
  stroke-dashoffset: 314;
  transition: stroke-dashoffset 0.3s;
}
.progress-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-weight: bold;
  background-color: white;
  color: #718ebf;
  border-radius: 50%;
}
#uploadedImage {
  margin-top: 1em;
  max-width: 100%;
  display: none;
}
/* end progress circle */
/* card upload data randp */
.card_upload {
  display: flex;
  position: fixed;
  top: 50%;
  left: -100%;
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  width: 450px;
  height: 90vh;
  border-radius: 15px;
  padding: 10px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-color: white;
  /* overflow-y: scroll; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.card_upload.active {
  left: 50%;
}
/* end card upload data randp */
/* #loading {
    animation: loading 1s linear infinite;
    color: #f8ae19;
    line-height: 1;
  } */
.muatan-loading {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 5px solid #f8ae19;
  border-color: #f8ae19 transparent #f8ae19 transparent;
  animation: loading 1.2s linear infinite;
}
@keyframes loading {
  to {
    transform: rotate(360deg);
  }
}
/* HTML: <div class="loader"></div> */
.loader {
  width: 28px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid #0000;
  border-right-color: #ffa50097;
  position: relative;
  animation: l24 1s infinite linear;
}
.loader:before,
.loader:after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: inherit;
  animation: inherit;
  animation-duration: 2s;
}
.loader:after {
  animation-duration: 4s;
}
@keyframes l24 {
  100% {
    transform: rotate(1turn);
  }
}
