#barisBawah {
    border: dotted black;
  margin-top: 1.5rem;          /* jarak dari elemen atas */
  padding: 1.25rem 1.5rem;  
    display: flex;
    gap: 20px;
    /* jarak antar kolom */
    align-items: flex-start;
    /* sejajarkan dari atas */
    flex-wrap: wrap;
    /* responsif (turun ke bawah jika layar kecil) */
}

#barisBawah>div {
    flex: 1;
    /* lebar seimbang */
    min-width: 250px;
    /* cegah terlalu sempit */
}

.spinner {
    width: 22px;
    height: 22px;
    border: 3px solid #ddd;
    border-top: 3px solid #ff7a00;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================
   ROOT COLOR SYSTEM
========================= */
:root {
  --primary-gradient: linear-gradient(135deg, #1e90ff, #20c997);
  --primary-blue: #1e90ff;
  --primary-green: #20c997;
  --bg-soft: #f4faff;
  --text-dark: #1f2937;
  --border-soft: #e2eef6;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* =========================
   GLOBAL
========================= */
body {
  background: radial-gradient(circle at top, #e8f6ff, #f4fffb);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--text-dark);
}

/* =========================
   HEADER
========================= */
h1 {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p.text-muted {
  font-size: 0.95rem;
}

/* =========================
   CARD
========================= */
.card {
  border: none;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  background: white;
}

.card-title {
  font-weight: 600;
  color: var(--primary-blue);
}

/* =========================
   FORM CONTROL
========================= */
.form-label {
  font-weight: 500;
  font-size: 0.85rem;
  color: #64748b;
}

.form-control {
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  padding: 10px 14px;
  transition: all 0.25s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.15);
}

/* =========================
   FUZZY COMPLETE DROPDOWN
========================= */
.fuzzycomplete-results {
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.fuzzycomplete-results li {
  padding: 10px 14px;
}

.fuzzycomplete-results li.active {
  background: var(--primary-gradient);
  color: white;
}

/* =========================
   CHECKBOX AREA
========================= */
#checkboxTahun,
#checkboxTurTahun,
#checkboxVerVar,
#checkboxTurVar {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--border-soft);
  max-height: 220px;
  overflow-y: auto;
}

/* checkbox custom */
input[type="checkbox"] {
  accent-color: #20c997;
  cursor: pointer;
}

/* =========================
   BUTTON
========================= */
.btn-success {
  background: var(--primary-gradient);
  border: none;
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(32, 201, 151, 0.35);
}

/* =========================
   TABLE
========================= */
.table {
  border-radius: 14px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-soft);
}

.table thead th {
  background: var(--primary-gradient);
  color: white;
  font-weight: 600;
  text-align: center;
  border: none;
}

.table tbody tr {
  transition: background 0.2s ease;
}

.table tbody tr:hover {
  background: #f1fbff;
}

.table td,
.table th {
  vertical-align: middle;
  font-size: 0.9rem;
}

/* =========================
   SPINNER
========================= */
.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid #dbeafe;
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .card {
    border-radius: 12px;
  }

  .table {
    font-size: 0.8rem;
  }
}
/* =========================
   TABLE LOADER
========================= */
.table-loader {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 14px;
}

.loader-content {
  text-align: center;
  font-size: 0.9rem;
  color: #1e90ff;
  font-weight: 500;
}

/* ===============================
   VARIABEL PICKER - ORANGE MODERN
================================ */

.variabel-highlight {
  height: 56px;
  font-size: 1.05rem;
  font-weight: 500;
  border-radius: 14px;
  border: 2px solid #ffb703;
  background: linear-gradient(135deg, #fff7e6, #ffffff);
  box-shadow: 0 8px 20px rgba(255, 183, 3, 0.25);
  transition: all 0.3s ease;
}

/* Fokus */
.variabel-highlight:focus {
  border-color: #fb8500;
  box-shadow: 0 0 0 0.25rem rgba(251, 133, 0, 0.35);
  outline: none;
  background: #ffffff;
}

/* Placeholder */
.variabel-highlight::placeholder {
  color: #d97706;
  font-weight: 400;
}

/* Hover halus */
.variabel-highlight:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(251, 133, 0, 0.35);
}
.card-title {
  font-weight: 600;
  color: #9a3412;
  letter-spacing: 0.3px;
}
.btn-outline-primary {
  border-radius: 999px;
  padding: 6px 18px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
}
.d-flex.justify-content-end .btn {
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 500;
}
