body {
  margin: 0;
}

html {
  overflow-x: hidden;
  overflow-y: scroll;
}

#loading-bg {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--initial-loader-bg, #fff);
  block-size: 100%;
  gap: 1rem 0;
  inline-size: 100%;
}

.loading {
  position: relative;
  box-sizing: border-box;
  border: 3px solid transparent;
  border-radius: 50%;
  block-size: 55px;
  inline-size: 55px;
}

.loading .effect-1,
.loading .effect-2,
.loading .effect-3 {
  position: absolute;
  box-sizing: border-box;
  border: 3px solid transparent;
  border-radius: 50%;
  block-size: 100%;
  border-inline-start: 3px solid var(--initial-loader-color, #eee);
  inline-size: 100%;
}

.loading .effect-1 {
  animation: rotate 1s ease infinite;
}

.loading .effect-2 {
  animation: rotate-opacity 1s ease infinite 0.1s;
}

.loading .effect-3 {
  animation: rotate-opacity 1s ease infinite 0.2s;
}

.loading .effects {
  transition: all 0.3s ease;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(1turn);
  }
}

@keyframes rotate-opacity {
  0% {
    opacity: 0.1;
    transform: rotate(0deg);
  }

  100% {
    opacity: 1;
    transform: rotate(1turn);
  }
}



.banner-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  /* pill shape */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); */
  flex-wrap: wrap;
  /* allow wrapping on smaller screens */
  gap: 10px;
}

/* Left section (Back + Title) */
.banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.banner-left h3 {
  margin: 0;
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  padding: 6px 14px;
  font-size: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.btn-outline {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
}

.btn-outline:hover {
  background: #f5f5f5;
}

.btn-primary {
  background: linear-gradient(-72.47deg, #8c57ff 22.16%, #a082e1 76.47%) !important;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 3px 6px 0 #8c57ff, #8c57ff, 0 0 transparent, 0 0 transparent;
}

.btn-primary:hover {
  background: #0b5ed7;
}

.theme-card {
  margin-top: 40px;
  width: 100%;
  height: auto;
  /* max-height: 650px; */
  background-color: #fff;
  border-radius: 10px;
  padding-block: 10px;
  padding-inline: 10px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); */
}

.box-table {
  width: 100%;
  height: auto;
  padding-block: 10px;
  padding-inline: 10px;
}

.table-search {
  width: 100%;
  display: flex;
  align-items: center;
}

.table-search-input {
  width: 25rem;
  height: 45px;
  border-radius: 10px;
  background-color: rgb(241, 241, 241);
  outline: none;
  padding-inline: 10px;
}

.box-table table {
  width: 100%;
  margin-top: 30px;
}


.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.table th {
  background: linear-gradient(-72.47deg, #8c57ff 22.16%, #8c57ff 76.47%) !important;
  /* gray */
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 12px;
  border: 1px solid #dee2e6;
}

.table td {
  padding: 12px;
  border: 1px solid #dee2e6;
}

.table tr:hover {
  background: #f8f9fa;
}

.table .actionBox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.table button {
  cursor: pointer;
  z-index: 99;
  font-size: 20px;
}

.table button .ri-delete-bin-line {
  color: rgb(236, 72, 72);
}


/* Pagination wrapper */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

/* Page item */
.page-item {
  margin: 0 4px;
}

/* Page link */
.page-link {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  color: #8c57ff;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.page-link:hover {
  background-color: #e9ecef;
  text-decoration: none;
}

/* Active state */
.page-item.active .page-link {
  background-color: #8c57ff;
  color: #fff;
  border-color: #8c57ff;
}

/* Disabled state */
.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  background-color: #f8f9fa;
  border-color: #dee2e6;
}

.myInputBox {
  padding-block: 10px;
  padding-inline: 10px;
}

.myInputBox label {
  font-size: 16px;
  font-weight: 700;
}

.myInput {
  width: 100%;
  height: 40px;
  border-radius: 5px;
  background-color: #f1f1f1da;
  outline: none;
  padding-inline: 10px;
}

/* Responsive behavior */
@media (max-width: 576px) {
  .banner-header {
    flex-direction: column;
    align-items: stretch;
    border-radius: 12px;
    /* switch from pill to boxy */
  }

  .banner-left,
  .banner-header>.btn {
    width: 100%;
    justify-content: center;
  }

  .banner-left h3 {
    text-align: center;
  }
}
