.box-section {
  background: linear-gradient(135deg, rgba(140, 60, 200, 0.25), rgba(100, 0, 160, 0.35)); /* ungu lebih cerah */
  border: 1px solid rgba(180, 90, 255, 0.4); /* border glowing ungu lembut */
  border-radius: 12px;
  padding: 20px 25px;
  margin-bottom: 25px;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 20px rgba(160, 60, 255, 0.08); /* efek cahaya dari dalam */
  /* Fade-in dihapus */
}

.box-section h5 {
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
}

/* === INPUT FIELD STYLE === */
.box-section input.form-control {
  border: 1px solid rgba(180, 100, 255, 0.3);
  background: rgba(255, 255, 255, 0.05); /* transparan gelap */
  color: #fff; /* teks putih */
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Saat fokus (klik input) */
.box-section input.form-control:focus {
  border-color: rgba(200, 140, 255, 0.8);
  background: rgba(120, 0, 200, 0.15);
  color: #fff;
  box-shadow:
    0 0 12px rgba(200, 120, 255, 0.5),
    inset 0 0 10px rgba(160, 80, 255, 0.3);
  transform: scale(1.02);
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Hover efek halus */
.box-section input.form-control:hover {
  border-color: rgba(200, 140, 255, 0.5);
}

/* Placeholder style */
.box-section input.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.box-section input.form-control:focus::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Responsive spacing di HP */
@media (max-width: 576px) {
  .box-section {
    padding: 15px 18px;
  }
}

/* Animasi glowing input saat focus */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow:
      0 0 12px rgba(200, 120, 255, 0.5),
      inset 0 0 10px rgba(160, 80, 255, 0.3);
  }
  50% {
    box-shadow:
      0 0 18px rgba(220, 160, 255, 0.7),
      inset 0 0 14px rgba(180, 100, 255, 0.4);
  }
}

/* Notifikasi kecil (misal validasi atau warning) */
#notif-id {
  color: #ffc107; /* kuning lembut */
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateY(-5px);
  font-weight: 500;
}

#notif-id.show {
  opacity: 1;
  transform: translateY(0);
}

#notif-id.d-none {
  display: none;
}

/* === SELECT FIELD STYLE === */
.box-section select.form-control {
  border: 1px solid rgba(180, 100, 255, 0.3);
  background: rgba(255, 255, 255, 0.05); /* sama dengan input */
  color: #fff; /* teks putih */
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
  appearance: none; /* hilangkan default dropdown style */
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Saat select di-fokuskan */
.box-section select.form-control:focus {
  border-color: rgba(200, 140, 255, 0.8);
  background: rgba(120, 0, 200, 0.15);
  color: #fff;
  box-shadow:
    0 0 12px rgba(200, 120, 255, 0.5),
    inset 0 0 10px rgba(160, 80, 255, 0.3);
  transform: scale(1.02);
  animation: pulseGlow 2s ease-in-out infinite;
}

/* Style khusus untuk option di dropdown */
.box-section select.form-control {
  background: rgba(255,255,255,0.05) !important;
  color: #fff !important;
  border: 1px solid rgba(180, 100, 255, 0.3) !important;
}