body {
    font-family: poppins, sans-serif;
    background: #f9fbfd;
    color: #34364a;
}

.bg-primary {
    background-color: #435ebe !important;
}

.icon-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #34364a;
    border: 2px solid #34364a;
    width: 18px;
    height: 18px;
    padding: 14px;
    font-size: 18px;
    border-radius: 41%;
    margin-right: 12px;
    margin-bottom: 8px;
}

.breadcrumb .breadcrumb-item a:hover {
    color: #435ebe !important;
    text-decoration: none;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #435ebe;
    --bs-btn-border-color: #435ebe;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #3950a2;
    --bs-btn-hover-border-color: #364b98;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #364b98;
    --bs-btn-active-border-color: #364b98;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #435ebe;
    --bs-btn-disabled-border-color: #435ebe;
}

.table {
    --bs-table-striped-bg: #f9f9f9;
}

tbody,
td,
tfoot,
th,
thead,
tr {
    border-color: #f9f9f9;
    border-style: solid;
    border-width: 0;
}

.form-search input {
    border-color: #ced4da;
    padding: 0.5rem 1.5rem;
    padding-right: calc(2em + 1.2rem);
    background-image: url(../img/search-icon.svg);
    background-repeat: no-repeat;
    background-position: right calc(1em + 0.3rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-search .was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(2em + 1.2rem);
    background-image: url(../img/search-icon.svg);
    background-repeat: no-repeat;
    background-position: right calc(1em + 0.3rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-search .was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(2em + 1.2rem);
    background-image: url(../img/search-icon.svg);
    background-repeat: no-repeat;
    background-position: right calc(1em + 0.3rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.flatpickr-day {
    border-radius: 15px;
}

.pagination-pill .page-link {
    display: flex;
    border-radius: 41% !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
}

.ellipsis {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-link {
    position: relative;
    display: block;
    color: #6c757d;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.page-link:hover {
    color: #435ebe;
    text-decoration: none;
    background-color: #fff;
    border: 2px solid #435ebe;
}

.page-item .page-link {
    margin: 0 7px;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    font-weight: 500;
    background-color: #435ebe;
}

.footer .copyright a {
    color: #ee5050;
    text-decoration: none;
}

.footer .copyright a:hover {
    color: #eb2d2d;
}

.info {
    padding: 4em 0;
  }
  .circle-loader {
    margin: 0 0 30px 10px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-left-color: #5cb85c;
    animation-name: loader-spin;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    position: relative;
    display: inline-block;
    vertical-align: top;
  }
  .circle-loader, .circle-loader:after {
    border-radius: 50%;
    width: 8em;
    height: 8em;
  }
  .success {
    -webkit-animation: none;
    animation: none;
    border-color: #5cb85c;
    transition: border opacity 500ms ease-out;
  }
  .success .status.draw:after {
    animation-duration: 1.2s;
    animation-timing-function: ease;
    animation-name: checkmark;
    transform: scaleX(-1) rotate(135deg);
  }
  .success .status:after {
    opacity: 1;
    height: 4em;
    width: 2em;
    transform-origin: left top;
    border-right: 2px solid #5cb85c;
    border-top: 2px solid #5cb85c;
    content: '';
    left: 1.8095238095em;
    top: 4em;
    position: absolute;
  }
  .failed {
    -webkit-animation: none;
    animation: none;
    border-color: #f00;
    transition: border opacity 500ms ease-out;
  }
  .failed .status {
    top: 50%;
    left: 50%;
    position: absolute;
  }
  .failed .status.draw:before, .failed .status.draw:after {
    animation-duration: 1.2s;
    animation-timing-function: ease;
    animation-name: crossmark;
  }
  .failed .status.draw:before {
    transform: scaleX(-1) rotate(45deg);
  }
  .failed .status.draw:after {
    transform: scaleX(-1) rotate(225deg);
  }
  .failed .status:before, .failed .status:after {
    opacity: 1;
    height: 2em;
    width: 2em;
    transform-origin: left top;
    border-right: 2px solid #f00;
    border-top: 2px solid #f00;
    content: '';
    position: absolute;
  }
  .failed .status:before {
    left: calc(1.656854259em - 4px);
    top: calc(4px - 1.656854259em);
  }
  .failed .status:after {
    left: calc(5.656854259px - 1.656854259em);
    top: calc(1.656854259em - 2.8284271295px);
  }
  @keyframes loader-spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  @keyframes checkmark {
    0% {
      height: 0;
      width: 0;
      opacity: 1;
    }
    20% {
      height: 0;
      width: 2em;
      opacity: 1;
    }
    40% {
      height: 4em;
      width: 2em;
      opacity: 1;
    }
    100% {
      height: 4em;
      width: 2em;
      opacity: 1;
    }
  }
  @keyframes crossmark {
    0% {
      height: 0;
      width: 0;
      opacity: 1;
    }
    20% {
      height: 0;
      width: 2em;
      opacity: 1;
    }
    40% {
      height: 2em;
      width: 2em;
      opacity: 1;
    }
    100% {
      height: 2em;
      width: 2em;
      opacity: 1;
    }
  }
  

  @keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }

  .fadeIn {
    animation: fadeIn 2s ease-in;
  }

  .animate-on-hover .alert:hover {
    transform: scale(1.05); /* Memperbesar elemen saat dihover */
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); /* Tambahkan bayangan */
}

.dropdown-item.notification-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #e9ecef;
}

.dropdown-item.notification-item i {
  margin-right: 10px;
  font-size: 18px;
}

.parsley-success {
    color: #28a745 !important;
}

.parsley-error {
    color: #dc3545 !important;
}

.parsley-success::before {
    content: "\2714";
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.parsley-error::before {
    content: "\2716";
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url(assets/img/loading.gif) center no-repeat #fff;
}