<style type="text/css">
/* Fix z-index SweetAlert2 */
.swal2-container {
  z-index: 999999 !important;
}

/* Jika menggunakan modal */
.swal2-popup {
  z-index: 9999999 !important;
}

  
  /* Untuk Select2 single select */
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    outline: none;
    border-color: #0349b1 !important;
/*    box-shadow: 0 0 0 3px rgba(3, 73, 177, 0.25) !important;*/
}

/* Untuk Select2 multiple select */
.select2-container--default .select2-search--inline .select2-search__field:focus {
    outline: none;
    border-color: #0349b1 !important;
/*    box-shadow: 0 0 0 3px rgba(3, 73, 177, 0.25) !important;*/
}

/* Untuk ring focus pada container Select2 */
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #0349b1 !important;
/*    box-shadow: 0 0 0 3px rgba(3, 73, 177, 0.25) !important;*/
}


#image_preview > div{
  width: 200px;
  height: 90%;
}


#image_preview > div > img{
  width: 200px;
  height: auto;
}


#image_preview > div > button{
  top: 0%;
  right: -10%;
}


#image_preview_edit > div{
  width: 200px;
  height: 90%;
}


#image_preview_edit > div > img{
  width: 200px;
  height: auto;
}


#image_preview_edit > div > button{
  top: 0%;
  right: -10%;
}




  .badge-danger-blink {
      font-size: 12px;
      display: inline-block;
      padding: 1.5px 8px;
      background-color: #de3d23;
      color: white;
      border-radius: 2px;
      font-weight: 500;
      text-align: center;
      animation: blink 1s linear infinite;
      box-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
  }

  @keyframes blink {
      0% { opacity: 1; }
      50% { opacity: 0.3; }
      100% { opacity: 1; }
  }

  @media (min-width: 400px){

    #image_preview > div > button{
      top: 0%;
    }


    #image_preview_edit > div > button{
      top: 0%;
    }


  }



      .lds-ring,
      .lds-ring div {
        box-sizing: border-box;
      }
      .lds-ring {
        display: inline-block;
        position: relative;
        width: 20px;
        height: 20px;
      }
      .lds-ring div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 20px;
        height: 20px;
  /*      margin: 4px;*/
        border: 3px solid #ffffff;
        border-radius: 50%;
        animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: #ffffff transparent transparent transparent;
      }
      .lds-ring div:nth-child(1) {
        animation-delay: -0.45s;
      }
      .lds-ring div:nth-child(2) {
        animation-delay: -0.3s;
      }
      .lds-ring div:nth-child(3) {
        animation-delay: -0.15s;
      }
      @keyframes lds-ring {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(360deg);
        }
      }




.lds-ring-md,
.lds-ring-md div {
  box-sizing: border-box;
}
.lds-ring-md {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring-md div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #0349b1;
  border-radius: 50%;
  animation: lds-ring-md 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #0349b1 transparent transparent transparent;
}
.lds-ring-md div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring-md div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring-md div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.btn-light-primary{
  background-color: rgb(2, 62, 145, 0.08);
  color: #023e91;
}


.btn-light-primary:hover{
  background-color: rgb(2, 62, 145, 0.08);
  color: #023e91;
}

</style>
