.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  width: 2px;
  height: 100%;
  background: #e5e7eb;
}
.timeline-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 24px;
}
.timeline-dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e5e7eb;
}
.timeline-item.done .timeline-dot {
  background: #22c55e;
}
.timeline-item.active .timeline-dot {
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,.2);
}
.timeline-content small {
  display: block;
  color: #6b7280;
  font-size: 12px;
  margin: 4px 0;
}
.timeline-content p {
  margin: 0;
  font-size: 14px;
}

* {
  font-family: 'Inter', sans-serif;
}

body {
  background: #f4f6fb;
  color: #1f2937;
}

/* ================= TOPBAR ================= */
.topbar {
  background: #0f172a;
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar .logo {
  font-weight: 700;
  font-size: 18px;
}

.top-menu {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.top-menu a {
  color: #c7d2fe;
  text-decoration: none;
  font-weight: 500;
}

.top-menu a.active,
.top-menu a:hover {
  color: #fff;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

/* ================= CONTENT ================= */
.main-content {
  padding: 28px;
}

/* ================= CARD ================= */
.card {
  border: none;
  border-radius: 16px;
}

.card-soft {
  background: #fff;
  padding: 20px;
}

.card-gradient {
  background: linear-gradient(135deg, #6366f1, #3b82f6);
  color: #fff;
  padding: 20px;
}

/* ================= TABLE ROW HOVER ================= */
.row-hover:hover > td {
  background-color: #eff6ff; /* biru muda */
  transition: background-color 0.2s ease-in-out;
}

/* ================= STATUS LIST ================= */
.asset-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.asset-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed #e5e7eb;
}

/* ================= GRAFIK PLACEHOLDER ================= */
.chart-placeholder {
  height: 200px;
  background: repeating-linear-gradient(
    45deg,
    #e5e7eb,
    #e5e7eb 10px,
    #f8fafc 10px,
    #f8fafc 20px
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 14px;
}

/* ================= FLOATING LABEL CUSTOM ================= */
.form-floating-custom {
  position: relative;
}

.form-floating-custom .form-control,
.form-floating-custom .form-select {
  padding: 16px 14px;
  border-radius: 12px;
  border: 1px solid #d1d5db;
  background-color: #fff;
}

.form-floating-custom label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #6b7280;
  background: #fff;
  padding: 0 6px;
  pointer-events: none;
  transition: 0.2s ease;
}

/* SAAT FOCUS ATAU ADA ISI */
.form-floating-custom .form-control:focus + label,
.form-floating-custom .form-control:not(:placeholder-shown) + label,
.form-floating-custom .form-select:focus + label,
.form-floating-custom .form-select:not([value=""]) + label {
  top: -6px;
  font-size: 12px;
  color: #2563eb;
}

/* FOCUS EFFECT */
.form-floating-custom .form-control:focus,
.form-floating-custom .form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 .15rem rgba(37,99,235,.15);
}

/* ================= STATUS BADGE ================= */
.badge-status {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
}

/* Dibuat */
.badge-dibuat {
  background: #e5e7eb;   /* abu-abu muda */
  color: #374151;
}

/* Diproses */
.badge-diproses {
  background: #fde68a;   /* kuning */
  color: #92400e;
}

/* Selesai */
.badge-selesai {
  background: #bbf7d0;   /* hijau */
  color: #065f46;
}

/* ===============================
   BADGE & SOFT DELETE VISUAL
================================ */
.badge {
  font-size: 11px;
}

.opacity-50 {
  opacity: .5;
}

.opacity-50 .btn {
  pointer-events: none;
}

/* =========================
   HOVER EFFECT EXPORT BUTTON
========================= */
.btn-success:hover,
.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  transition: all .2s ease;
}

.btn-success,
.btn-danger {
  transition: all .2s ease;
}

/* SWEETALERT TOAST MODERN */
.swal-toast-modern {
  border-radius: 14px !important;
  padding: 14px 18px !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  font-size: 14px;
}

