.navbar {
  background-color: #f8f9fa;
}

.navbar-brand {
  font-weight: bold;
}

body {
  padding-top: 70px;
  /* untuk menghindari overlap navbar */
}

body.dark-mode {
  background-color: #121212;
  color: #f1f1f1;
}

.card.dark-mode {
  background-color: #1e1e1e;
  color: #f1f1f1;
}

.dark-mode .form-control,
.dark-mode .btn {
  background-color: #2c2c2c;
  color: #f1f1f1;
  border-color: #444;
}

.dark-mode .form-control::placeholder {
  color: #aaa;
}

footer.dark-mode,
.dark-mode footer {
  background-color: #1a1a1a;
  color: #f1f1f1;
}

.dark-mode input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.dark-mode input[type="date"] {
  background-color: #2c2c2c;
  color: #f1f1f1;
  border-color: #444;
}

.dark-mode .btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

.dark-mode table.table {
  background-color: #1e1e1e;
  color: #f1f1f1;
  border-color: #444;
}

.dark-mode table.table th,
.dark-mode table.table td {
  background-color: #1e1e1e;
  color: #f1f1f1;
  border-color: #444;
}
.dark-mode .bg-success-subtle {
  background-color: #14532d !important; /* Hijau lebih gelap */
  color: #f1f1f1;
}

.dark-mode .border {
  border-color: #444 !important; /* Warna border lebih gelap */
  background-color: #1e1e1e; /* Background gelap biar konsisten */
  color: #f1f1f1; /* Text tetap putih abu-abu */
}

body,
input,
button,
.card,
.navbar,
footer {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

* {
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  /* Efek glow biru lembut */
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
  background-color: #0d6efd; /* Warna utama Bootstrap */
  color: white;
  font-weight: 500;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkmark-container {
  width: 100%;
  max-width: 250px;
  height: 250px;
}

.checkmark {
  width: 100%;
  height: 100%;
  stroke: #28a745;
  stroke-width: 3;
  stroke-miterlimit: 10;
  fill: none;
  animation: scaleIn 0.3s ease-in-out forwards;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: strokeCircle 0.6s ease-out forwards;
}

.checkmark-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: strokeCheck 0.4s 0.6s ease-out forwards;
}

@keyframes strokeCircle {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes strokeCheck {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes scaleIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
