/* ==========================================================================
   LINK BERKAH – Tracking Pengajuan
   ========================================================================== */

.tr-hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-bottom: 18px; padding: 22px 20px;
  color: #fff; border-radius: var(--radius-card);
  background: radial-gradient(420px 180px at 100% 0%, rgba(255, 215, 0, .22), transparent 60%), linear-gradient(125deg, #047857 0%, #059669 45%, #0d9488 100%);
  box-shadow: 0 18px 32px -20px rgba(4, 120, 87, .85);
}
.tr-hero::before { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; right: -70px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .24), transparent 68%); }
.tr-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; padding: 5px 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .16);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.tr-eyebrow i { color: #fcd34d; }
.tr-hero h1 {
  margin: 0; font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.55rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em;
}
.tr-hero p { margin: 8px 0 0; font-size: .86rem; line-height: 1.6; color: #d1fae5; max-width: 36em; }

.tr-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 18px;
}
.tr-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tr-head h2 {
  margin: 0; font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem; font-weight: 800; color: var(--ink);
}
.tr-new {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border-radius: 12px; background: linear-gradient(120deg, var(--em-500), var(--teal-600));
  color: #fff; font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap;
}

.tr-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 16px; }
.tr-field { flex: 1 1 220px; min-width: 0; }
.tr-filter label { display: block; margin-bottom: 6px; font-size: .75rem; font-weight: 700; color: #475569; letter-spacing: .04em; text-transform: uppercase; }
.tr-filter input {
  width: 100%; min-height: 46px; padding: 0 14px;
  border: 1px solid var(--em-200); border-radius: 14px; background: #f8fafc;
  font-size: .92rem; outline: none;
}
.tr-filter input:focus { border-color: var(--em-500); background: #fff; box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
.tr-filter button {
  min-height: 46px; padding: 0 18px; border: 0; border-radius: 14px; cursor: pointer;
  font-weight: 700; color: #fff; background: linear-gradient(120deg, var(--em-500), var(--teal-600));
  white-space: nowrap;
}

.tr-list { display: grid; gap: 12px; }
body .trk-card {
  display: block; padding: 16px; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid #f59e0b;
  border-radius: 18px; box-shadow: var(--shadow-card);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
body .trk-card:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -22px rgba(5, 150, 105, .45); }
body .trk-card[data-tone="is-teal"] { border-left-color: var(--teal-600); }
body .trk-card[data-tone="is-green"] { border-left-color: var(--em-500); }
body .trk-card[data-tone="is-red"] { border-left-color: #ef4444; }
.trk-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
body .trk-kode { font-family: 'Outfit', sans-serif; font-weight: 800; color: var(--em-700); font-size: .95rem; letter-spacing: .02em; }
body .trk-badge {
  font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: #fef3c7; color: #92400e; white-space: nowrap;
}
body .trk-card[data-tone="is-teal"] .trk-badge { background: #ccfbf1; color: #115e59; }
body .trk-card[data-tone="is-green"] .trk-badge { background: var(--em-100); color: var(--em-700); }
body .trk-card[data-tone="is-red"] .trk-badge { background: #fee2e2; color: #991b1b; }
.trk-title { margin: 10px 0 2px; font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.trk-sub { margin: 0; font-size: .82rem; color: var(--muted); }
.trk-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line);
  font-size: .78rem; color: var(--muted); font-weight: 600;
}
.trk-nilai { color: var(--em-700); font-weight: 800; font-size: .9rem; }
.trk-more { color: var(--em-600); font-weight: 700; }

.tr-hide { display: none !important; }
.tr-load, .tr-empty { text-align: center; padding: 36px 16px; color: var(--muted); }
.tr-load i, .tr-empty i { display: block; font-size: 2rem; color: var(--em-500); margin-bottom: 8px; }
.tr-empty b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.tr-err { padding: 14px; text-align: center; border-radius: 14px; background: #fef2f2; color: #b91c1c; font-weight: 600; }

@media (min-width: 1024px) {
  .tr-hero { padding: 36px 40px; margin-bottom: 24px; }
  .tr-hero h1 { font-size: 2.1rem; }
  .tr-hero p { font-size: .95rem; }
  .tr-panel { padding: 24px; }
  .tr-list { gap: 14px; }
}
