:root {
  --font-family-erlangga: "Erlanggsa Sans", sans-serif;
  --blue: #0a51bf;
  --abu-2: #efefef;
  --teks-black: #1c1c1c;
  --white: #ffffff;
}

@font-face {
  font-family: "Erlangga Sans";
  src: url("../font/Erlangga/ERLANGGASANS25-REGULAR.OTF") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: var(--font-family-erlangga);
  margin: 0;
  padding: 0;
}

main {
  overflow-x: hidden;
}

.custom-tooltip {
  --bs-tooltip-bg: #0a51bf;
  --bs-tooltip-color: #fff;
}

.img-logo {
  width: 150px;
  height: auto;
}

/* #region Auth */
.auth-title {
  color: var(--blue2, #0a51bf);
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.auth-header {
  color: var(--blue, #0a51bf);
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.32px;
}

.auth-text {
  color: var(--blue, #0a51bf);
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}

.auth-input {
  display: flex;
  height: 60px;
  padding: 12px 20px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;

  border-radius: 40px;
  background: #fff;
  border: 1px solid gray;

  color: var(--teks-black, #1c1c1c);
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.auth-select {
  height: 60px;
  padding: 12px 20px;
  border-radius: 40px;
  /* background-color: var(--abu-2, #efefef); */
  background-color: #fff;
  border: 1px solid gray;
  color: var(--teks-black, #1c1c1c);
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;

  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23257afe' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-position: right 1.5rem center;
}

#batal {
  background-color: var(--bs-secondary-bg);
}

.select-hide {
  display: none;
}

.select2-selection--single {
  display: flex !important;
  align-items: center !important;
  height: 60px !important;
  padding: 12px 20px !important;
  border-radius: 40px !important;
  background-color: #fff !important;
  color: var(--teks-black, #1c1c1c) !important;
  font-family: var(--font-family-erlangga) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: normal !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23257afe' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.5rem center !important;
  background-size: 16px 12px !important;
  padding-right: 3rem !important;
  /* border: var(--bs-border-width) solid var(--bs-border-color) !important; */
  border: 1px solid gray !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  display: none !important;
}

/* .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px;
} */

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: var(--blue2, #0a51bf) !important;
  color: #fff !important;
}

.select2-container--default .select2-selection__placeholder {
  color: #55585b !important;
}

.select2-container--default .select2-selection__rendered {
  color: #1c1c1c !important;
  padding-left: 0 !important;
}

.select2-selection.is-invalid {
  border-color: #dc3545 !important;
}

.btn-cekregis,
.btn-cekregis:hover,
.btn-cekregis:focus,
.btn-cekregis:active {
  color: #fff !important;
  border-color: #257afe;

  --bs-btn-color: #0a51bf;
  --bs-btn-border-color: #dee2e6;

  --bs-btn-hover-bg: #efefef;
  --bs-btn-hover-color: #0a51bf;
  --bs-btn-hover-border-color: #dee2e6;

  --bs-btn-focus-shadow-rgb: 108, 117, 125;

  --bs-btn-active-bg: #efefef;
  --bs-btn-active-color: #0a51bf;
  --bs-btn-active-border-color: #dee2e6;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);

  /* border: var(--bs-border-width) solid var(--bs-border-color); */
  border: 1px solid gray;
  border-left: none;
  background: #0a51bf !important;
}

#button-check-perpus,
#batal {
  border-top-right-radius: 40px !important;
  border-bottom-right-radius: 40px !important;
}

.form-control:disabled {
  background-color: var(--bs-secondary-bg) !important;
  color: var(--bs-secondary-color) !important;
  opacity: 1;
}

.input-icon {
  position: absolute;
  right: 35px;
  top: 65%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #257afe;
  cursor: pointer;
}

.select-icon {
  position: absolute;
  right: 20px;
  top: 65%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #257afe;
  cursor: pointer;
}

.input-pass {
  padding-right: 60px !important;
}

.bg-login {
  height: 100vh;
  background-image: url("../img/background/bg-anggota-login.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.bg-regis {
  height: 100vh;
  background-image: url("../img/background/bg-anggota-login.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.bg-title {
  color: #fff;
  font-family: var(--font-family-erlangga);
  font-size: 60px;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
}

.bg-text {
  color: #fff;
  font-family: var(--font-family-erlangga);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.left-panel {
  /* padding: 3rem; */
  overflow-y: auto;
  height: 100vh;
}
/* #endregion */

/* #region Sidebar */
.sidebar {
  border-right: 1px solid #9b9b9b;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-body {
  flex-direction: column;
}

.side-text {
  display: flex;
  align-items: center;
  color: var(--abu-teks, #9b9b9b);
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  transition: color 0.3s ease;
}

.side-text:hover,
.side-text.active {
  color: var(--blue2, #0a51bf);
}

.side-text svg {
  width: 24px;
  height: 24px;
}
/* #endregion */

/* #region Navbar */
.navbar {
  background: #fff;
}

.search {
  height: 50px;
  padding: 6px 20px;
  border-radius: 100px;
  /* background: #efefef; */
  background: #fff;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.05);
  border: 1px solid gray;
}

.btn-search {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 50px;
  height: 50px;

  border-radius: 100px;
  background: #0a51bf !important;
  padding: 0;
  border: 1px solid gray !important;
}

.icon-search {
  font-size: 20px;
  color: #fff;
}

.circle-profile-navbar {
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* border: 0.5px solid #eaeaea; */
  border: 1px solid var(--abu-teks, #9b9b9b);
  overflow: hidden;
}

.img-profile-navbar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.circle-profile-dropdown {
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* border: 0.5px solid #eaeaea; */
  border: 1px solid var(--abu-teks, #9b9b9b);

  overflow: hidden;
}

.circle-profile-avatar {
  display: flex;
  width: 100px;
  height: 100px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* border: 0.5px solid #eaeaea; */
  border: 1px solid var(--abu-teks, #9b9b9b);
  overflow: hidden;
}

.img-profile-dropdown {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.img-profile-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
}

.dropdown-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  color: #1c1c1c;
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 576px) {
  .dropdown-title {
    font-size: 14px;
  }
}

.dropdown-text {
  color: var(--abu-teks, #9b9b9b);
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}

.dropdown-content {
  display: flex;
  padding: 5px 10px;
  align-items: center;
  border-bottom: 0.912px solid var(--teks-01, #989b9d);
  font-family: var(--font-family-erlangga);
  color: #1c1c1c;
  font-size: 12.767px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;

  text-decoration: none;
}

.dropdown-content:hover {
  color: #606060;
  border-bottom: 1px solid var(--teks-01, #989b9d);
}

.dropdown-content:hover svg path {
  fill: #606060;
}

.drop-menu {
  min-width: 200px;
  padding: 1rem;

  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);

  overflow-y: auto;
}
/* #endregion */

/* #region Modal */
.modal-header,
.modal-footer {
  border: none;
}

.modal-header {
  padding-bottom: 0;
}

.modal-content {
  border-radius: 30px;
  background: var(--white, #fff);
}

.btn-exit {
  --bs-btn-close-color: #000;
  --bs-btn-close-bg: url("../img/icons/keluar.png");
  --bs-btn-close-opacity: none;
  --bs-btn-close-hover-opacity: none;
  --bs-btn-close-focus-shadow: none;
  --bs-btn-close-focus-opacity: none;
  --bs-btn-close-disabled-opacity: none;
  box-sizing: content-box;
  width: 2em;
  height: 2em;
  padding: 0.25em 0.25em;
  color: none;
  background: none;
  filter: var(--bs-btn-close-filter);
  border: 0;
  border-radius: 0.375rem;
  opacity: none;
}

.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-radio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  padding: 10px;
}

.radio-filter {
  border: 2px solid #0951bc;
}

.radio-filter:checked[type="radio"] {
  background-color: transparent;
  border: 2px solid #0951bc;
  /* --bs-form-check-bg-image: url(
    data:image/svg + xml,
    %3csvgxmlns="http://www.w3.org/2000/svg"viewBox="-4 -4 8 8"%3e%3ccircler="2"fill="%23fff"/%3e%3c/svg%3e
  ); */

  background-image: url("../img/icons/radio-checked.svg");
}

.modal-radio:has(input[type="radio"]:checked) {
  border-radius: 8px;
  background: var(--abu, #ddd);

  display: flex;
  padding: 10px;
}

.filter-header {
  padding: 10px;
  border-radius: 8px;
  background: var(--abu, #ddd);

  color: var(--blue2, #0a51bf);
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
/* #endregion */

/* #region Beranda */
.beranda-header {
  color: var(--blue2, #0a51bf);
  font-family: var(--font-family-erlangga);
  /* font-size: 22px; */
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.beranda-sub-header {
  color: #606060;
  font-family: var(--font-family-erlangga);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.beranda-link {
  display: flex;
  padding: 2px 8px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: var(--abu, #ddd);

  color: var(--teks-2, #0a51bf);
  text-align: right;
  font-family: var(--font-family-erlangga);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 21px */
  letter-spacing: 0.14px;
  text-decoration: none;
}

.swiper-slide {
  padding-bottom: 20px;
  width: auto;
  max-width: 100%;
  flex-shrink: 0;
  height: 100%;
}

.swiper.buku,
.swiper.agenda {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  height: 100%;
}

.card-beranda {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 20px;
  background: #0a51bf;
  /* background: linear-gradient(142deg, var(--blue2, #0a51bf) 17.19%, #b9d4ff 76.73%); */
}

.logo-beranda {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
/* #endregion */

/* #region Buku */
.card-favorit {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.book-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  width: 100%;
  box-shadow: var(--bs-box-shadow) !important;
  border-radius: 30px;
  background: #ddd;
}

.book-img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  max-height: 500px;
  display: block;
  aspect-ratio: 3 / 4;
}

.book-detail-img {
  width: 300px;
  height: 100%;
  object-fit: cover;
  max-height: 500px;
}

.book-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  text-decoration: none;
  flex-grow: 1;
}

.book-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  padding-bottom: 0;
}

.book-footer {
  display: flex;
  flex-direction: column;
  justify-content: end;

  border: none;
  background-color: transparent;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
  padding-top: 0;
}

.book-title {
  color: var(--blue2, #0a51bf);
  text-align: center;
  font-family: inherit;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;

  flex-grow: 1;
}

@media (max-width: 576px) {
  .book-title {
    font-size: 12px;
  }
}

.book-text {
  color: var(--teks-02, #5d5f61);
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  margin-bottom: 0;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 576px) {
  .book-text {
    font-size: 10px;
  }
}

.ribbon-date {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 2;

  color: #fff;
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
  border-radius: var(--bs-border-radius) !important;
}

.toast {
  background: #fff !important;
  border: 1px solid #0a51bf !important;
  color: #0a51bf !important;
}
/* #endregion */

/* #region Agenda Literasi */
.agenda-literasi {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.2rem;
}

.agenda {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: 1px solid transparent;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0;
  padding-bottom: 0;
  transition: background 0.3s ease, border 0.3s ease;
}

.agenda.active {
  border: 1px solid var(--blue2, #0a51bf) !important;
  background: var(--blue2, #0a51bf) !important;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) !important;
}

.agenda-card {
  display: flex;
  flex-direction: column;
  border-radius: 0px 0px 28.592px 28.592px;
  box-shadow: var(--bs-box-shadow) !important;
  background: var(--abu, #ddd);
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.agenda-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 250px;
}

.agenda-title {
  color: var(--teks-2, #545353);
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 1rem;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agenda-text {
  display: flex;
  align-items: center;
  color: var(--teks-2, #545353);
  font-family: var(--font-family-erlangga);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.agenda-text.lokasi {
  align-items: flex-start;
  margin-bottom: 0;
}

.lokasi-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus {
  background: var(--blue2, #0a51bf) !important;
}

.nav-link {
  color: var(--blue2, #0a51bf);
}
/* #endregion */

/* #region Profil */
.btn-upload-foto,
.btn-upload-foto:hover,
.btn-upload-foto:focus,
.btn-upload-foto:active {
  display: flex;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;

  border-radius: 20px;
  border: 1px solid var(--abu-teks, #9b9b9b) !important;

  color: var(--blue, #0a51bf) !important;
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.profil-input {
  height: 60px;
  flex-shrink: 0;

  border-radius: 20px;
  border: 1px solid gray;
  background: #fff;

  color: var(--191919, #191919);
  font-family: var(--font-family-erlangga);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.bg-hapus {
  display: flex;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;

  border-radius: 10px;
  background: var(--merah-muda, #f3797e);
}

.hapus-title {
  color: var(--teks-black, #1c1c1c);
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.hapus-text {
  color: #606060;
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.hapus-input {
  display: flex;
  height: 60px;
  /* padding: 0px 20px; */
  justify-content: space-between;
  align-items: center;
  align-self: stretch;

  border-radius: 14px;
  border: 1px solid gray;
}

.btn-paham,
.btn-paham:hover,
.btn-paham:focus,
.btn-paham:active {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-self: stretch;
  border: none !important;

  color: var(--biru-teks, #257afe) !important;
  font-family: var(--font-family-erlangga);
  font-size: 20.763px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
}

.select-profil #kelas.select2-hidden-accessible + .select2-container--default .select2-selection--single,
.select-profil #jenis_kelamin.select2-hidden-accessible + .select2-container--default .select2-selection--single {
  padding: 6px 12px !important;
  border-radius: 20px !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 100% !important;
  font-style: normal !important;
  font-weight: 400 !important;
  flex-shrink: 0;
}

.profil-select {
  height: 60px;
  border-radius: 20px;
  background-color: #fff;
  border: 1px solid var(--abu-teks, #9b9b9b);
  flex-shrink: 0;
  border: 1px solid gray !important;

  color: var(--191919, #191919);
  font-family: var(--font-family-erlangga);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;

  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23257afe' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-position: right 1.5rem center;
}

.form-select:disabled {
  color: var(--bs-secondary-color) !important;
}

.img-thumbnail.pilih-avatar {
  border: 1px solid var(--abu-teks, #9b9b9b) !important;
  border-radius: 50px;
}

.label-profil {
  color: var(--teks-2, #545353);
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
/* #endregion */

/* #region Perpus */
.perpus-title {
  color: var(--teks-2, #545353);
  font-family: var(--font-family-erlangga);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.perpus-text {
  color: var(--teks-0, #606060);
  font-family: var(--font-family-erlangga);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

@media (max-width: 576px) {
  .perpus-text {
    font-size: 18px;
  }
}

/* .bg-info-perpustakaan {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  height: 100vh;
  padding: 60px 30px;

  border-radius: 20px;
  background: var(--blue, #0a51bf);
} */

.bg-info-perpustakaan {
  /* display: flex; */
  /* padding: 40px 20px; */
  /* align-items: center; */
  /* gap: 3px; */
  /* align-self: stretch; */

  border-radius: 40px;
  border: 1px solid var(--blue2, #0a51bf);
  background: rgba(10, 81, 191, 0.1);
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

.info-perpus {
  padding: 40px 30px;
  display: flex;
  /* align-items: center; */
}

@media (max-width: 576px) {
  .bg-info-perpustakaan {
    height: 100%;
  }
}

/* .pustakawan {
  border-radius: 20px;
  margin-bottom: 2rem;
} */

.pustakawan-title {
  color: var(--putih, #fff);
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 2rem;
}

.pustakawan-text {
  color: var(--putih, #fff);
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;

  text-decoration: none;
}
/* #endregion */

/* #region Buku Kunjungan */
.bk-input {
  display: flex;
  height: 50px;
  padding: 12px 20px;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;

  border-radius: 40px;
  background: white;
  border: 1px solid gray;

  color: var(--teks-black, #1c1c1c);
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}

.bk-select {
  height: 50px;
  padding: 12px 20px;
  border-radius: 40px;
  background-color: white;
  border: 1px solid gray !important;

  color: var(--teks-black, #1c1c1c);
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;

  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23257afe' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-position: right 1.5rem center;
}

.bk-card {
  border-radius: 40px;
  border: 1px solid var(--blue2, #0a51bf);
}
/* #endregion */

/* #region Keranjang */
.keranjang-input {
  width: 80px;
  height: 30px;
  display: inline-block;
  text-align: center;
}

.bg-cart {
  padding: 20px 50px;
  align-items: center;

  border-radius: 30px;
  border: 0.5px solid var(--teks-0, #606060);
  background: var(--abu-2, #efefef);
}

@media (max-width: 576px) {
  .bg-cart {
    padding: 20px 20px;
  }
}

.cart-img {
  width: 150px;
  height: auto;
  border-radius: 20px;
}

.cart-header {
  color: #606060;
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-top: 1rem;
}

.cart-title {
  color: #606060;
  font-family: var(--font-family-erlangga);
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.cart-text {
  color: #606060;
  font-family: var(--font-family-erlangga);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.cart-content {
  color: #606060;
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  flex-direction: nowrap;
}

.cart-info {
  color: #0a51bf;
  font-family: var(--font-family-erlangga);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  flex-direction: nowrap;
}

.btn-cart-delete,
.btn-cart-delete:hover,
.btn-cart-delete:focus,
.btn-cart-delete:active {
  border-radius: 10px;
  border: 0.75px solid var(--Color-2, #ff4040) !important;
  background: var(--abu-2, #efefef) !important;
}

.pinjam-title {
  color: #606060;
  font-family: var(--font-family-erlangga);
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.pinjam-text {
  color: #606060;
  font-family: var(--font-family-erlangga);
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.tolak-title {
  color: var(--blue, #0a51bf);
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.32px;
}

.ditolak-title {
  color: var(--blue2, #0a51bf);
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 0.14px;
}

.ditolak-text {
  color: var(--Color-2, #ff4040);
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 0.14px;
}

.ditolak-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  padding: 10px;

  border-radius: 10px;
  border: 1px solid var(--abu-teks, #9b9b9b);
}

#cart-badge {
  font-size: 12px;
  /* padding: 5px 8px; */
  padding: 5px 5px;
  display: none;
}

#cart-badge.show {
  display: inline;
}

.ref + .select2.select2-container.select2-container--default {
  width: auto !important;
}
/* #endregion */

/* #region History */
.bg-history {
  display: flex;
  padding: 10px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  border-radius: 8px;
  background: var(--abu-2, #efefef);
}

.history {
  width: 100%;
  border-radius: 8px;
  border: 1px solid transparent;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0;
  padding-bottom: 0;
  transition: background 0.3s ease, border 0.3s ease;
}

.history.active {
  border: 1px solid var(--blue2, #0a51bf) !important;
  background: var(--blue2, #0a51bf) !important;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) !important;
}

.nav-pills {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav-pills::-webkit-scrollbar {
  display: none;
}

table.dataTable th {
  font-size: 14px;
  font-weight: 600;
}

table.dataTable td {
  font-size: 12px;
}

.status {
  cursor: default;
  padding: 0.5rem;
  width: 100%;
  text-align: center;
}

/* div.dataTables_wrapper div.dataTables_paginate {
  padding-top: 0.5em;
} */
/* #endregion */

/* #region Detail Buku */
.detail-title {
  color: var(--blue2, #0a51bf);
  font-family: var(--font-family-erlangga);
  /* font-size: 40px; */
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
}

/* @media (max-width: 576px) {
  .detail-title {
    font-size: 30px;
  }
} */

.detail-text {
  color: var(--teks-02, #5d5f61);
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-align: justify;
}

@media (max-width: 576px) {
  .detail-text {
    font-size: 14px;
  }
}

/* .share-icon {
  display: flex;
  width: 37.809px;
  height: 37.809px;
  padding: 6.302px;
  justify-content: center;
  align-items: center;
  gap: 15.754px;
  flex-shrink: 0;

  border-radius: 157.539px;
  background: #0a51bf;
  text-decoration: none;
} */

.share-icon {
  display: flex;
  width: 50px;
  height: 50px;
  padding: 10.5px 10px;
  justify-content: center;
  align-items: center;
  border: none;

  border-radius: 40px;
  background: var(--abu, #ddd) !important;
  text-decoration: none;
}

/* .share-icon i {
  font-size: 24px;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.3s ease;
} */

/* .favorite-icon {
  display: flex;
  width: 37.809px;
  height: 37.809px;
  padding: 6.302px;
  justify-content: center;
  align-items: center;
  gap: 15.754px;
  flex-shrink: 0;

  border-radius: 157.539px;
  background: #eff5ff;
} */

.favorite-icon {
  display: flex;
  width: 50px;
  height: 50px;
  padding: 10.5px 10px;
  justify-content: center;
  align-items: center;
  border: none;

  border-radius: 40px;
  background: var(--abu, #ddd) !important;
  text-decoration: none;
}

.favorite-icon i {
  font-size: 24px;
  color: #9b9b9b;
  cursor: pointer;
  transition: color 0.3s ease;
}

.favorite-icon.active i {
  color: red;
}

.bg-buku {
  border-radius: 20px;
  background: var(--abu-2, #efefef);
  padding: 1.5rem;
}
/* #endregion */

/* #region Button */
.btn-primary {
  display: flex;
  padding: 0.5rem 1rem;
  justify-content: center;
  align-items: center;
  align-self: stretch;

  border-radius: 10px;
  border: 1px solid #0951bc !important;
  background: #0951bc !important;

  color: #fff !important;
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  transition: fill 0.3s ease;
}

.btn-outline-danger {
  display: flex;
  padding: 0.5rem 1rem;
  justify-content: center;
  align-items: center;
  align-self: stretch;

  border-radius: 10px;
  border: 1px solid #ff0909 !important;
  background: #fff !important;

  color: #eb5757 !important;
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 100%;
  transition: fill 0.3s ease;
}
.btn-outline-danger.w-75 {
  height: 50px;
}

.btn-outline-danger:hover {
  background: #ff4040 !important;
  color: #fff !important;
}

.btn-outline-danger:hover svg path {
  fill: white !important;
}

.btn-secondary {
  display: flex;
  padding: 0.5rem 1rem;
  justify-content: center;
  align-items: center;
  align-self: stretch;

  border-radius: 10px;
  border: 1px solid #545353 !important;
  background: #ddd !important;

  /* color: #545353 !important; */
  color: #0a51bf !important;
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

/* .btn-secondary:hover {
  background: #0a51bf !important;
  color: #fff !important;
} */

/* .btn-secondary:hover svg path {
  fill: white !important;
  stroke: white !important;
} */

.btn-danger {
  display: flex;
  padding: 0.5rem 1rem;
  justify-content: center;
  align-items: center;
  align-self: stretch;

  border-radius: 10px;
  border: 1px solid #ff4040 !important;
  background: #ff4040 !important;

  color: #fff !important;
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.btn-disabled {
  display: flex;
  padding: 0.5rem 1rem;
  justify-content: center;
  align-items: center;
  align-self: stretch;

  border-radius: 10px;
  border: 1px solid #ddd !important;
  background: #ddd !important;

  color: #545353 !important;
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  transition: fill 0.3s ease, stroke 0.3s ease;
}

.btn-white {
  display: flex;
  height: 38.931px;
  justify-content: center;
  align-items: center;
  gap: 19.466px;
  align-self: stretch;

  border-radius: 10.382px;
  background: #fff;

  color: var(--biru-teks, #257afe);
  font-family: var(--font-family-erlangga);
  font-size: 20.763px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  text-decoration: none;
}
/* #endregion */

/* #region Usulan Buku*/
.usulan-buku {
  border-radius: 20px;
  background: var(--blue2, #0a51bf);
}

.usul-title {
  color: var(--putih, #fff);
  font-family: var(--font-family-erlangga);
  font-size: 46.718px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
}

.usul-text {
  color: var(--putih, #fff);
  font-family: var(--font-family-erlangga);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
}
/* #endregion */

/* #region Text */
.text-blue {
  color: #0a51bf !important;
}

.text-black {
  color: #1c1c1c !important;
}

.text-white {
  color: #fff !important;
}

.text-abu {
  color: var(--teks-2, #545353) !important;
}

.fs-60 {
  font-size: calc(2.25rem + 2vw) !important;
}

.fs-50 {
  font-size: calc(2rem + 1.5vw) !important;
}

@media (min-width: 1200px) {
  .fs-60 {
    font-size: 3.75rem !important;
  }
  .fs-50 {
    font-size: 3.125rem !important;
  }
}

.text-main {
  color: var(--Black, #1c1c1c);
  font-family: var(--font-family-erlangga);
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.text-sub {
  color: var(--Black, #1c1c1c);
  font-family: var(--font-family-erlangga);
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.text-section {
  color: var(--Black, #1c1c1c);
  font-family: var(--font-family-erlangga);
  font-size: 30px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.text-content {
  color: var(--Black, #1c1c1c);
  font-family: var(--font-family-erlangga);
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.text-note {
  color: var(--Black, #1c1c1c);
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* @media (max-width: 992px) {
  .text-main {
    font-size: 42px;
  }

  .text-sub {
    font-size: 32px;
  }

  .text-section {
    font-size: 26px;
  }

  .text-content {
    font-size: 20px;
  }

  .text-note {
    font-size: 15px;
  }
} */

/* @media (max-width: 576px) {
  .text-main {
    font-size: 32px;
  }

  .text-sub {
    font-size: 28px;
  }

  .text-section {
    font-size: 22px;
  }

  .text-content {
    font-size: 18px;
  }

  .text-note {
    font-size: 14px;
  }
} */
/* #endregion */

/* #region Landing Page */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/background/bg-preloader.png");
  background-color: #0a51bf;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* html.no-scroll,
body.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: none;
} */

.bg-landing-page {
  /* height: 100vh; */
  padding-top: env(safe-area-inset-top, 1.5rem);
  box-sizing: border-box;
  min-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* background-color: yellow; */
  background-image: url("../img/background/bg-landing-page.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
}

.page-card {
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border-radius: 12px;
  border: 3px solid #fefefe;
  background: rgba(226, 225, 225, 0.1);
  transition: all 0.3s ease;
}

.page-card:hover {
  border: 3px solid #0a51bf;
  background: #0a51bf;
}

.page-title {
  color: #fff;
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.page-text {
  color: #fff;
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.navbar-transparent {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;

  border-bottom: 1px solid #fff;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(50px);
}

.hero-section {
  background-image: url("../img/background/hero-section.png");
  background-size: cover;
  background-position: center;
}

.read-section {
  background: var(--gradient2, linear-gradient(246deg, #5080f1 0%, #51e1ff 99.45%));
}

.card-fitur {
  padding: 50px 100px;
  border-radius: 40px;
  background: var(--putih, #fff);
  box-shadow: 0px 0px 4.984px 2.167px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
  .card-fitur {
    padding: 25px 50px;
  }
}

@media (max-width: 576px) {
  .card-fitur {
    padding: 10px 25px;
  }
}

.img-fitur {
  width: auto;
  height: 84px;
}

@media (max-width: 992px) {
  .img-fitur {
    height: 64px;
  }
}

@media (max-width: 576px) {
  .img-fitur {
    height: 54px;
  }
}

.card-blue {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 40px;
  background: rgba(10, 81, 191, 0.1);

  padding: 90px 30px;
  text-align: center;
}

@media (max-width: 992px) {
  .card-blue {
    padding: 60px 20px;
    border-radius: 30px;
  }
}

@media (max-width: 576px) {
  .card-blue {
    padding: 30px 10px;
    border-radius: 20px;
  }
}

.badge-biru {
  display: inline-flex;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;

  border-radius: 45px;
  border: 1.5px solid var(--blue2, #0a51bf);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(30px);
}

.logo-plain {
  width: 35px;
  height: auto;
}

@media (max-width: 992px) {
  .logo-plain {
    width: 30px;
  }
}

@media (max-width: 576px) {
  .logo-plain {
    width: 25px;
  }
}

.user-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
}

.user-circle {
  display: flex;
  width: 100px;
  height: 100px;
  padding: 27px;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;

  border-radius: 79.347px;
  border: 2px dashed #105acc;
  background: #ecf3fe;
}

.btn-wa {
  display: flex;
  padding: 12px 18px;
  justify-content: center;
  align-items: center;
  gap: 10px;

  border: none !important;
  border-radius: 130.233px;
  background: var(--Gradient-1, linear-gradient(180deg, rgba(37, 122, 254, 0.7) 0%, rgba(10, 81, 191, 0.7) 100%));

  color: var(--White, #fff) !important;
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.promotion-section {
  border-radius: 30px;
  border: 1px solid var(--blue2, #0a51bf);
  background: linear-gradient(246deg, #5080f1 0%, #51e1ff 99.45%), url("../img/background/diagonal.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: unset;
  background-blend-mode: hard-light;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.footer-bg {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: var(--blue2, #0a51bf);
}
/* #endregion */

/* #region Buku Tamu*/
.check-perpus {
  border: 2px solid #0a51bf;
}

.card-bg-perpus {
  display: flex;
  padding: 40px 20px;
  justify-content: center;

  border-radius: 40px;
  /* background: var(--gradient2, linear-gradient(246deg, #5080f1 0%, #51e1ff 99.45%)); */
  background: var(--blue2, #0a51bf);
}

.card-perpus {
  display: flex;
  height: 100%;
  padding: 15px;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border-radius: 40px;
  background: #efefef;
}

.img-perpus {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.bg-tamu {
  height: 100vh;
  background-image: url("../img/background/bg-anggota-buku-tamu.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
/* #endregion */

/* HIGHLIGHT */
/* #region Pagination */
.pagination {
  --bs-pagination-border-color: #9b9b9b;
  --bs-pagination-active-border-color: #9b9b9b;
  --bs-pagination-disabled-border-color: #9b9b9b;
  --bs-pagination-hover-border-color: #9b9b9b;
}

.page-item.active .page-link {
  background-color: #0a51bf;
}

.page-link {
  color: #0a51bf;
}
/* .page-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  border-radius: 100px !important;
  background: var(--abu-teks, #9b9b9b) !important;
  border: none !important;

  color: var(--putih, #fff) !important;
  text-align: center;
  font-family: var(--font-family-erlangga);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.page-link.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 100px !important;
  border: 2px solid var(--abu-teks, #9b9b9b) !important;
  background: #fff !important;
  padding: 0;
}

.active > .page-link.arrow,
.page-item.active .page-link.arrow {
  border-color: var(--blue2, #0a51bf) !important;
}

.disabled > .page-link.arrow,
.page-item.disabled .page-link.arrow {
  border-color: var(--abu-teks, #9b9b9b) !important;
}

.active > .page-link > .page-number,
.page-item.active .page-link .page-number {
  background: var(--blue2, #0a51bf) !important;
}
.disabled > .page-link.arrow > .page-number,
.page-item.disabled .page-link.arrow .page-number {
  background: var(--abu-teks, #9b9b9b) !important;
}

.page-link.arrow {
  border-color: var(--blue2, #0a51bf) !important;
}

.page-link .page-number.arrow {
  background: var(--blue2, #0a51bf) !important;
} */
/* #endregion */

/* #region Kartu Anggota */
.kartu {
  width: 250px;
  background-color: white;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
  border: solid 1px !important;
}

.kartu-header {
  padding: 15px 0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.kartu-header img {
  width: 30px;
  margin-bottom: 5px;
}

.qr-code {
  margin: 20px 0;
}

.qr-code img {
  width: 100px;
  height: 100px;
}

.username-siswa {
  font-weight: bold;
  font-size: 18px;
  color: #333;
}

.email-siswa {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.divider {
  border-top: 1px solid #ddd;
  margin: 15px auto;
  width: 80%;
}

.footer-logo img {
  width: 90px;
  margin-top: 10px;
}

@media print {
  @page {
    size: A4;
    margin: 20mm;
  }

  body * {
    visibility: hidden;
  }

  #cetak,
  #cetak * {
    visibility: visible;
  }

  #cetak {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  /* #cetak {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    width: 100%;
  } */
}
/* #endregion */

#img-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  cursor: zoom-out;
  user-select: none;
}

#close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  z-index: 10001;
  cursor: zoom-out;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 0 30px #000;
  cursor: zoom-out;
  user-select: none;
  -webkit-user-drag: none;
}
