:root {
  --primary-color: #5a1267;
  --primary-color-dark: #460e50;
  --secondary-color: #e5e5e5;
  --secondary-color-dark: #696969;
}

body,
html {
  font-size: 14px !important;
}

body::-webkit-scrollbar {
  display: none;
}

ul.nav-pills > li.nav-item > a.active {
  background-color: rgba(38, 143, 255, 0.5) !important;
}

ul.nav-treeview > li.nav-item > .active {
  background-color: var(--secondary-color) !important;
}

tr:hover {
  transition: 0.3s ease-in-out !important;
  background-color: lightgray !important;
}

.pointer {
  text-decoration: underline;
}

.pointer:hover {
  color: blue;
  cursor: pointer;
}

.material-icons {
  vertical-align: middle;
}

.datepicker {
  background-color: #ffffff !important;
}

.text-uli-blue,
.text-uli-blue a,
.text-uli-blue i {
  color: #384967 !important;
}

.text-ega-gray {
  color: #576974 !important;
}

.text-24px {
  font-size: 24px !important;
}

.text-abu {
  color: #d6d6d6 !important;
}
.text-ega-abu {
  color: #bebebe !important;
}

.text-maroon {
  color: #c71454 !important;
}

.table-maroon {
  background-color: #c71454;
  color: #faff00;
}

.table-dark-blue {
  background-color: #0f4567;
  color: #fff;
}

.bg-sv {
  background-color: #276da4 !important;
  color: #fff !important;
}

.bg-maroon {
  background-color: #c71454 !important;
  color: #faff00 !important;
}

.bg-abu {
  background-color: #626262 !important;
  color: #fff !important;
}

.bg-hijau {
  background-color: #28b43f !important;
  color: #fff !important;
}

.bg-ega-blue {
  background-color: #133691 !important;
  color: #fff !important;
}

@keyframes ripple2 {
  0% {
    background-color: transparent;
  }
  25% {
    background-color: #dc3545;
  }
  50% {
    background-color: transparent;
  }
  75% {
    background-color: #dc3545;
  }
  100% {
    background-color: transparent;
  }
}

.bg-red-blink {
  animation-name: ripple2;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes ripple_success {
  0% {
    background-color: transparent;
  }
  25% {
    background-color: #28a745;
  }
  50% {
    background-color: transparent;
  }
  75% {
    background-color: #28a745;
  }
  100% {
    background-color: transparent;
  }
}

.bg-success-blink {
  animation-name: ripple_success;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes ripple_warning {
  0% {
    background-color: transparent;
  }
  25% {
    background-color: #ffc107;
  }
  50% {
    background-color: transparent;
  }
  75% {
    background-color: #ffc107;
  }
  100% {
    background-color: transparent;
  }
}

.bg-warning-blink {
  animation-name: ripple_warning;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes ripple_purple {
  0% {
    background-color: transparent;
  }
  25% {
    background-color: #871fde;
  }
  50% {
    background-color: transparent;
  }
  75% {
    background-color: #871fde;
  }
  100% {
    background-color: transparent;
  }
}

.bg-purple-blink {
  animation-name: ripple_purple;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

@keyframes danger-blink {
  0% {
    background-color: transparent;
  }
  25% {
    background-color: #dc3545;
  }
  50% {
    background-color: transparent;
  }
  75% {
    background-color: #dc3545;
  }
  100% {
    background-color: transparent;
  }
}

.bg-danger-blink {
  animation-name: danger-blink;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

.bg-light2 {
  background-color: #f8f9fa !important;
  border: 2px solid #9ecaed;
  box-shadow: 0 0 10px #9ecaed;
}

.opacity-50 {
  opacity: 0.5;
}

/* Button dark blue */

.btn-dark-blue {
  color: #fff;
  background-color: rgba(38, 143, 255, 0.5);
  border-color: var(--primary-color);
  border-radius: 5px;
}

.btn-dark-blue:hover {
  color: #fff;
  background-color: var(--primary-color-dark);
  border-color: var(--primary-color-dark);
}

.btn-dark-blue:focus,
.btn-dark-blue.focus {
  color: #fff;
  background-color: var(--primary-color);
  border-color: #0062cc;
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-dark-blue-outline {
  color: var(--primary-color);
  background-color: #fff;
  border-color: var(--primary-color);
  border-radius: 5px;
}

.btn-dark-blue-outline:hover {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-dark-blue-outline:focus,
.btn-dark-blue-outline.focus {
  color: var(--primary-color);
  background-color: #fff;
  border-color: #0062cc;
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}
/* Button blue */

.btn-blue {
  color: #fff;
  background-color: #133691;
  border-color: #aebde5;
  border-radius: 5px;
}

.btn-blue:hover {
  color: #fff;
  background-color: #102457;
  border-color: #102457;
}

.btn-blue:focus,
.btn-blue.focus {
  color: #fff;
  background-color: #133691;
  border-color: #133691;
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-blue-outline {
  color: #133691;
  background-color: #fff;
  border-color: #133691;
  border-radius: 5px;
}

.btn-blue-outline:hover {
  color: #fff;
  background-color: #133691;
  border-color: #133691;
}

.btn-blue-outline:focus,
.btn-blue-outline.focus {
  color: #133691;
  background-color: #fff;
  border-color: #0062cc;
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-grey {
  color: #fff;
  background-color: #B9B4C7;
  border-color: #B9B4C7;
  border-radius: 10px;
}

.btn-magenta:hover {
  color: #fff;
  background-color: #e40044;
  border-color: #ff719b;
}

.btn-magenta:focus,
.btn-magenta.focus {
  color: #fff;
  background-color: #e40044;
  border-color: #ff719b;
  box-shadow: 0 0 0 0.2rem #ff719b;
}

/* Button pale green */

.btn-pale-green {
  color: #fff;
  background-color: #82b83c;
  border-color: #82b83c;
}

.btn-pale-green:hover {
  color: #fff;
  background-color: #669030;
  border-color: #98d746;
}

.btn-pale-green:focus,
.btn-pale-green.focus {
  color: #fff;
  background-color: #82b83c;
  border-color: #98d746;
  box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-pale-green-outlined {
  color: #82b83c;
  background-color: #fff;
  border-color: #82b83c;
}

.btn-pale-green-outlined:hover {
  color: #fff;
  background-color: #82b83c;
  border-color: #82b83c;
}

/* Radius Line Selection */
#line-selection {
  border-radius: 10px;
}

/* Btn filter */
.btn-filter {
  background-color: transparent;
  border-color: #669030;
}

/* Styling Generated Product Entry */
#header-info {
  font-weight: 700;
}

.header-info > h6 {
  margin-bottom: 0px !important;
}

.info-content > p {
  margin-bottom: 0px !important;
}

#rol {
  float: right;
}

@media (min-width: 240px) {
  .mt-xs-2,
  .my-xs-2 {
    margin-top: 0.5rem !important;
  }
}

@media (min-width: 576px) {
  .mt-xs-2,
  .my-xs-2 {
    margin-top: 0px !important;
  }
}

.head {
  margin: 10px;
  display: flex;
  justify-content: space-between; /* Elemen akan tersebar sejajar dengan ruang antara */
  align-items: center; /* Pusatkan secara vertikal */
}

#ppd {
  font-weight: bold;
  color: #133691;
  flex-grow: 1; /* Biarkan elemen ini menempati sisa ruang */
  text-align: center; /* Pusatkan teks horizontal */
}

#clock {
  color: #133691;
}

.ppd {
  margin-top: 30px;
  font-size: 25px;
}

.ppd tbody tr td {
  font-weight: 700;
}

.ppd thead tr th {
  background-color: #133691;
  font-weight: 500;
  color: #fff;
  padding: 5px;
}

.normal td {
  color: #133691;
}

.danger td {
  color: #dc3545;
}

.warning td {
  color: #ffc107;
}
