@font-face {
  font-family: "Inter", sans-serif;
  src: url('../fonts/webfonts/DMSerifText-Regular.ttf') format('truetype');
}

.point-font {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: bold;
}

.title-font {
  margin-left: 1.3rem;
  color: #3F87B9;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: bold;
}

.description-font {
  margin-left: 1.3rem;
  font-size: 16px;
  margin-top: 1rem;
  font-family: "Inter", sans-serif;
}

.desc-font {
  font-size: 16px;
  font-family: "Inter", sans-serif;
}

.desc-font-bold2 {
  font-size: 16px;
  font-weight: bold;
  margin-top: 1rem;
  font-family: "Inter", sans-serif;
}

/* footer ombak */
body>footer>img {
  padding-top: 5rem;
  height: 200px !important;
  z-index: 2 !important;
}

#dropdownMenuLink>span {
  padding-right: 10px;
}

.dashed-top-border {
  border-top: 2px dashed #3F87B9;
}

.dropdown-toggle::after {
  position: relative;
  top: 3px;
  padding-left: 15px !important;
  opacity: 0.8;
  content: "\f078";
  font-weight: 900;
  font-family: "Font Awesome 5 pro";
  border: 0;
  font-size: 80%;
}

body>div.container>div:nth-child(4)>div.col-md-6>div>div>div:nth-child(2)>div>span {
  font-family: 'DMSerifText', serif;
  font-size: 16px;
  font-weight: 400;
}

.custom-button {
  background-color: white;
  border: none;
  width: 100%;
  height: 100%;
}

/* ngide */
.list-container {
  cursor: pointer;
  width: 100%;
  overflow: hidden;
}

.list-wrapper {
  display: flex;
  overflow: hidden;
  flex-wrap: nowrap;
  transition: transform 0.3s ease;

}

.list-item {
  font-family: 'Inter', serif;
  flex: 0 0 auto;
  width: 380px;
  height: 390px;
  margin-right: 20px;
  background-color: white;
  border-radius: 10px;
}

.list-item-custom {
  flex: 0 0 auto;
  width: 400px;
  height: auto;
  margin-right: 20px;
  margin-bottom: 25px;
  background-color: white;
  border-radius: 10px;
}

.selected {
  background-color: #ECF3F8 !important;
}

.btn-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.dropdown-custom {
  font-weight: bold !important;
}

body>footer>div {
  z-index: 3 !important;
}

#package {
  padding: 0 !important;
}

.dropdown-item-custom.dropdown-custom {
  font-size: 14px;
  display: block;
  width: 100%;
  padding: .25rem 1rem;
  clear: both;
  font-weight: 400;
  color: #212529;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

/* loading css */
.overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(38, 50, 56, 0.20);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.spinner {
  position: fixed;
  left: calc(50% - 50px);
  top: 50%;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(#0000 10%, var(--color-blue2));
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 13px), #000 0);
  animation: spinner-zp9dbg 1s infinite linear;
}

@keyframes spinner-zp9dbg {
  to {
    transform: rotate(1turn);
  }
}

/* Media Queries untuk Responsivitas */
@media (max-width: 768px) {

  .list-wrapper {
    display: flex;
    overflow: auto;
    flex-wrap: nowrap;
    transition: transform 0.3s ease;
  }

  .point-font {
    font-size: 18px;
  }

  .title-font {
    font-size: 20px;
    margin-left: 1rem;
  }

  .description-font,
  .desc-font,
  .desc-font-bold2 {
    font-size: 14px;
    margin-left: 1rem;
  }

  .list-item,
  .list-item-custom {
    width: 100%;
    height: auto;
    margin-right: 10px;
  }

  /* Hide dropdown menu initially */
  .dropdown-menu {
    display: none;
  }

  /* Show dropdown menu on button hover */
  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .input-group.serial-number{
        width: 100% !important;
        display: flex;
        align-items: center;
  }
  .col-md-2 {
    flex: 0 0 auto;
    width: 100%;
  }

  body > section > div > div.row.mb-40.mt-80{
    padding: 10px;
  }
  
  .row:not(.gx-0):not(.gx-1):not(.gx-2):not(.gx-3):not(.gx-4):not(.gx-5) {
    margin-right: -6px !important;
    margin-left: -6px !important;
  }

  /* #oldPrice46{
    font-weight: bold;
    margin-left: 5px;
  }

  #titleAddonContainer46 > div:nth-child(2) > div.col > div.container.d-flex.justify-content-between.mt-1 > label:nth-child(2) > span:nth-child(3){
    padding-left: 4px;
  } */
  
  .custome-strikethrough::before {
    bottom: 5px !important;
    left: -5px !important;
  }
}

@media (max-width: 480px) {

  .point-font {
    font-size: 15px !important;
  }

  .title-font {
    font-size: 15px !important;
  }

  /* Hide dropdown menu initially */
  .dropdown-menu {
    display: none;
  }

  /* Show dropdown menu on button hover */
  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .dropdown-menu .dropdown-item.selected {
    background-color: lightgreen;
  }

  #attendaceValue {
    font-size: 12px !important;
  }

  #gpsValue {
    font-size: 12px !important;
  }

  .list-wrapper {
    display: flex;
    overflow: auto;
    flex-wrap: nowrap;
    transition: transform 0.3s ease;
  }

  body>div:nth-child(4)>div>div.col>div.row>div.col.ml-2>div.roboto-font.mb-2 {
    margin-top: 0px !important;
  }

  #mobileListContainer {
    margin-top: 60px;
    padding-left: 10px;
    padding-right: 10px;
    width: 108% !important;
  }

  #detailModal1>div>div>div.modal-body>div.container>div:nth-child(19)>div>p:nth-child(1) {
    font-size: 15px !important;
  }

  #detailModal1>div>div>div.modal-body>div.container>div:nth-child(19)>div>p:nth-child(2) {
    font-size: 15px !important;
  }

  #detailModal1>div>div>div.modal-body>div:nth-child(3)>span {
    font-size: 15px !important;
  }

  #addonContainer {
    padding: 2rem 0.5rem 4rem 0.5rem !important;
  }

  #deviceListContainer {
    padding: 2rem 0.5rem 4rem 0.5rem !important;
  }

  #mobileContainer {
    padding: 2rem 0.5rem 4rem 0.5rem !important;
  }

  #main-desc {
    padding: 2rem 0.5rem 4rem 0.5rem !important;
  }

  body>div:nth-child(3)>div.row.mt-2>div.col.d-flex.justify-content-end.align-items-baseline>div>div {
    margin-right: 0px !important;
  }

  body>div:nth-child(3)>div.row.mt-2>div:nth-child(2)>div>div {
    margin-left: 0px !important;
  }

  .form-check-label {
    font-size: 12px !important;
  }

  body>div:nth-child(3)>div:nth-child(2)>div:nth-child(2)>img {
    height: 90% !important;
  }

  body>div:nth-child(3)>div:nth-child(2)>div.col.d-flex.justify-content-end.align-items-baseline>img {
    height: 90% !important;
  }

  body>div:nth-child(3)>div.row.mt-2>div.col.d-flex.justify-content-end.align-items-baseline {
    margin-top: -1.5rem !important;
  }

  body>div:nth-child(3)>div.row.mt-2>div:nth-child(2) {
    margin-top: -1.5rem !important;
  }

  .addons-info {
    font-size: 12px !important;
  }

  .payment-info {
    font-size: 12px !important;
  }

  .add-on-price {
    font-size: 12px !important;
  }

  .valueCount {
    font-size: 12px !important;
  }

  #mobilePackageCount {
    font-size: 12px !important;
  }

  .package-info {
    font-size: 12px !important;
  }

  #main-desc>div>div.col-md-5.flex.justify-content-end>div>div.dashed-top-border>div.d-flex.justify-content-between.w-100.mt-2 {
    font-size: 12px !important;
  }

  #mobilesInput {
    font-size: 12px !important;
  }

  #devicesInput {
    font-size: 12px !important;
  }

  #dropdownMenuButton {
    font-size: 12px !important;
  }

  .dropdown-item-custom.dropdown-custom {
    font-size: 12px !important;
  }

  #buttonText {
    font-size: 12px !important;
  }

  #mobileListContainer>div:nth-child(2) {
    padding-top: 50px !important;
  }

  #mobileListContainer>div:nth-child(3) {
    padding-top: 50px !important;
  }

  #mobileListContainer>div:nth-child(1) {
    width: 100% !important;
  }

  .input-group.serial-number{
    width: 100% !important;
    /* display: flex;
    align-items: center; */
  }


   body > section > div > div.row.mb-40.mt-80{
    padding: 10px;
  }
  .row:not(.gx-0):not(.gx-1):not(.gx-2):not(.gx-3):not(.gx-4):not(.gx-5) {
    margin-right: -6px !important;
    margin-left: -6px !important;
  }

  /* #oldPrice46{
    font-weight: bold;
    margin-left: 5px;
  }
  #titleAddonContainer46 > div:nth-child(2) > div.col > div.container.d-flex.justify-content-between.mt-1 > label:nth-child(2) > span:nth-child(3){
    padding-left: 4px;
  } */

  .custome-strikethrough::before {
    bottom: 5px !important;
    left: -5px !important;
  }
}