/* Converted SCSS -> flattened CSS */
.upload-section {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 0 15px;
}

.upload-section .upload-card .input-file input {
  height: 100%;
  width: 100%;
  cursor: pointer;
}

.upload-section .upload-label {
  font-size: 15px;
  color: #222;
  margin-bottom: 10px;
  font-weight: 500;
  display: block;
}

.upload-section .upload-card {
  background: #f7fbff;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  min-height: 64px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .upload-section .box-top {
    display: flex;
    margin-bottom: 10px;
  }
}

.upload-section .upload-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #eaf3fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  position: relative;
}

.upload-section .upload-thumb img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.upload-section .upload-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.upload-section .upload-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 2px;
}

.upload-section .upload-desc {
  font-size: 13px;
  color: #888;
}

.upload-section .upload-btn {
  background: #0d2c7a;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 28px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 24px;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(13, 44, 122, 0.08);
}

.upload-section .upload-btn:hover {
  background: #1746b1;
}

@media (max-width: 768px) {
  .upload-section .upload-card {
    padding: 12px 10px;
    flex-direction: column;
    text-align: center;
  }

  .upload-section .upload-btn {
    padding: 8px 16px;
    font-size: 14px;
    width: 100%;
    margin-top: 10px;
  }
}

.file-slider {
  max-width: 600px;
  margin: 0 auto;
}

.file-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  padding: 16px 24px;
  margin: 0 8px;
  min-height: 64px;
  position: relative;
}

.file-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #eaf3fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  position: relative;
}

.file-thumb img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.file-thumb .file-type {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #1e88e5;
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 0 0 0 6px;
  font-weight: 500;
}

.file-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.file-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 2px;
}

.file-size {
  font-size: 13px;
  color: #888;
}

.file-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
}

.action-btn {
  border-radius: 50%;
  display: flex;
  align-items: center;
  padding: 0;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
  transition: background 0.2s;
}

.action-btn.view svg {
  fill: #0d2c7a;
}

.action-btn.view:hover svg {
  fill: #1746b1;
}

.action-btn.delete svg {
  fill: #e53935;
}

.action-btn.delete:hover svg {
  fill: #b71c1c;
}

.action-btn svg {
  width: auto;
  height: 28px;
  display: block;
}

@media (min-width: 768px) {
  #ModalInfoProduk {
    display: none;
  }

  #ModalInfoProduk {

  }
}

@media (max-width: 768px) {
  .file-card {
    padding: 12px 10px;
  }
}

#ModalInfoProduk .modal-content {
  position: absolute;
  bottom: 0;
}

#loadingSpinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.8);
  height: 100%;
  width: 100%;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.loader {
  color: #FCB600;
  font-size: 45px;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform: translateZ(0);
  animation: mltShdSpin 1.7s infinite ease, round 1.7s infinite ease;
}

@keyframes mltShdSpin {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em,
      0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em,
      0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em,
      0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em,
      -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em,
      -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em,
      -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em,
      -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em,
      -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em,
      -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em,
      0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}

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

.box-pop-up-modal.max-100 {
  max-width: 100%;
  height: 100%;
}

#modalNotEligible .box-pop-up-modal-inner.text-center {
  padding: 40px 20px;
}

#ModalGantiProduct {
  padding-right: 0 !important;
}

.modal-dialog.max-100 {
  max-width: 100% !important;
  margin: 0 !important;
}

@media screen and (max-width: 768px) {
  .modal-dialog.max-100 {
    height: 100%;
  }
}

#ModalGantiProduct a.close-pop-up {
  z-index: 99;
  position: absolute;
  background: #00008f;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
}

#ModalGantiProduct .modal-header {
  background: #fff;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border: .0625rem solid transparent;
}

#ModalGantiProduct .box-content-card.col-md-12.row {
  max-height: 95vh;
  margin: 0;
  overflow-x: scroll;
  justify-content: center;
  padding-bottom: 15px;
}

#ModalGantiProduct .modal-content {
  height: 100%;
  max-height: 100vh;
  border: 0;
  box-shadow: unset;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.CX-pop-up-modal.modal-default .box-pop-up-modal > .close-pop-up {
  right: 15px;
  top: 15px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease;
  margin: 10px;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card:hover .product-body {
  padding: 15px;
}

.product-card.card-sjtr {
  background-color: #4976BA;
}

.product-card.card-sijitu {
  background-color: #00008F;
}

.product-card .box-img {
  width: auto;
  max-height: 110px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.product-card .box-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.product-card .product-ribbon {
  color: #473400;
  font-size: 15px;
  font-weight: 600;
}

.product-card .product-ribbon {
  --f: 1em;
  --r: .8em;
  position: absolute;
  top: 20px;
  left: calc(-1 * var(--f));
  padding-right: 1em;
  padding-left: 2rem;
  line-height: 2;
  background: #FCB600;
  border-bottom: var(--f) solid #0005;
  border-right: var(--r) solid #0000;
  clip-path: polygon(
    0 0,
    0 calc(100% - var(--f)),
    var(--f) 100%,
    var(--f) calc(100% - var(--f)),
    100% calc(100% - var(--f)),
    calc(100% - var(--r)) calc(50% - var(--f) / 2),
    100% 0
  );
}

.product-card .product-header {
  background-color: #FCB600;
  color: #000;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 14px;
}

.product-card .product-body {
  padding: 15px;
}

.product-card .product-body .box-topheader span {
  color: #ffffff;
  font-size: 12px;
}

.product-card .product-body h3 {
  font-size: 18px;
  margin: 10px 0;
  color: #ffffff;
  transition: all 0.3s ease;
}

.product-card .product-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 150px;
  overflow-x: auto;
}

.product-card .product-body ul li {
  margin: 5px 0;
  margin-left: 15px;
  font-size: 13px;
  color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
}

.product-card .product-body ul li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Pro";
  margin-right: 5px;
  position: absolute;
  top: 0;
  left: -19px;
}

.product-card .product-body ul li:hover {
  /* hover styles if needed */
}

.product-card .product-footer {
  display: flex;
  flex-wrap: wrap;
}

.product-card .product-footer .box-biaya-premi {
  width: 100%;
  padding: 14px;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  align-items: center;
  display: inline-flex;
  margin-bottom: 15px;
}

.product-card .product-footer .box-biaya-premi span {
  font-size: 13px;
  font-weight: 400;
  color: #FFFFFF;
}

.product-card .product-footer .box-biaya-premi .curren {
  text-align: right;
  font-size: 24px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.product-card .product-footer .box-action {
  display: flex;
  gap: 10px;
  width: 100%;
  padding-bottom: 15px;
}

.product-card .product-footer .box-action a {
  font-size: 14px;
  padding: 10px 15px;
  border-radius: 100px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
}

.product-card .product-footer .box-action .btn-custom-secondary {
  flex-basis: 100%;
  color: #4976BA;
  border: 2px solid #FFFFFF;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

.product-card .product-footer .box-action .btn-custom-secondary:hover {
  background-color: #00008F;
  border: 2px solid #00008F;
  color: #ffffff;
}

.product-card .product-footer .box-action .btn-border-secondary {
  color: #FFFFFF;
  background-color: #4976BA;
  border: 2px solid;
  font-weight: bold;
}

.product-card .product-footer .box-action .btn-border-secondary:hover {
  background-color: #FCB600;
  border: 2px solid #FCB600;
  color: #FFFFFF;
}