/* ============================================================
   THEMED CONFIRM MODAL — My 0D1'$ (sesuai tema.php)
   Menggunakan var(--warna-primer/sekunder) & gradient
   ============================================================ */
.tc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.tc-overlay.aktif {
  display: flex;
  opacity: 1;
}
.tc-card {
  background: white;
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.6) inset;
  overflow: hidden;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}
.tc-overlay.aktif .tc-card {
  transform: translateY(0) scale(1);
}
.tc-card::before {
  content:'';
  position:absolute;
  top:0; left:0; right:0;
  height: 5px;
  background: var(--gradient-tombol, linear-gradient(135deg, #3b82f6, #1d4ed8));
}
.tc-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(var(--rgb-primer,59,130,246),0.18), rgba(var(--rgb-primer,59,130,246),0.32));
  display: flex; align-items: center; justify-content: center;
  font-size: 34px;
  margin: 28px auto 14px;
  box-shadow: 0 8px 22px rgba(var(--rgb-primer,59,130,246),0.18);
  border: 1.5px solid rgba(var(--rgb-primer,59,130,246),0.18);
}
.tc-card h3 {
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--warna-sekunder, #1d4ed8);
  letter-spacing: -0.3px;
  margin: 0 24px 8px;
  line-height: 1.3;
}
.tc-card p {
  text-align: center;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0 24px 22px;
}
.tc-card p b { color: var(--warna-sekunder, #1d4ed8); }
.tc-card p .tc-no {
  display: inline-block;
  background: linear-gradient(135deg, rgba(var(--rgb-primer),0.14), rgba(var(--rgb-primer),0.22));
  color: var(--warna-sekunder);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.2px;
  border: 1px solid rgba(var(--rgb-primer),0.18);
  margin: 0 2px;
}
.tc-actions {
  display: flex;
  gap: 10px;
  padding: 16px 20px 20px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
}
.tc-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  border: none;
  cursor: pointer;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.2px;
}
.tc-btn-cancel {
  background: white;
  color: #64748b;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.tc-btn-cancel:hover { background: #f1f5f9; color: #334155; border-color: #cbd5e1; transform: translateY(-1px); }
.tc-btn-confirm {
  background: var(--gradient-tombol, linear-gradient(135deg, #10b981, #059669));
  color: white;
  box-shadow: 0 6px 18px rgba(var(--rgb-sekunder,29,78,216),0.28);
}
.tc-btn-confirm:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(var(--rgb-sekunder),0.35); filter: brightness(1.03); }
.tc-btn:active { transform: scale(0.98); }
.tc-hint {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin: 0 24px 16px;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .tc-card { border-radius: 18px; }
  .tc-icon-wrap { width: 64px; height: 64px; font-size: 30px; border-radius: 16px; margin-top: 22px; }
  .tc-card h3 { font-size: 17px; }
  .tc-card p { font-size: 13px; }
  .tc-actions { padding: 14px 16px 16px; gap: 8px; }
  .tc-btn { padding: 11px 14px; font-size: 13.5px; }
}
