/* ===================== Halaman cek pesanan ===================== */
.cp { --cp-b: rgba(255, 255, 255, .075); --cp-p: #171720; --cp-r: #1d1d28; --cp-i: #f1f0f7; --cp-m: #aaa9ba; --cp-d: #79788e; --cp-a: #8c79ff; padding: 22px 0 46px; color: var(--cp-i); }

/* ---------- Kotak pencarian ---------- */
.cp-hero { position: relative; overflow: hidden; padding: 38px 34px; border: 1px solid var(--cp-b); border-radius: 22px; background: radial-gradient(circle at 92% 0, rgba(140, 121, 255, .3), transparent 52%), radial-gradient(circle at 0 100%, rgba(95, 209, 163, .12), transparent 45%), #15151e; }
.cp-hero::after { content: ""; position: absolute; top: -40px; right: -30px; width: 240px; height: 240px; border: 1px solid rgba(180, 168, 255, .12); border-radius: 50%; box-shadow: 0 0 0 30px rgba(180, 168, 255, .03), 0 0 0 64px rgba(180, 168, 255, .02); pointer-events: none; }
.cp-hero-isi { position: relative; z-index: 1; max-width: 680px; }
.cp-hero h1 { margin: 6px 0 8px; font-family: var(--display); font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.045em; line-height: 1.12; }
.cp-hero p.cp-sub { margin: 0 0 22px; color: var(--cp-m); font-size: 15px; }
.cp-form { display: flex; align-items: center; gap: 8px; padding: 7px; border: 1px solid rgba(180, 168, 255, .25); border-radius: 16px; background: rgba(12, 12, 18, .7); box-shadow: 0 16px 40px rgba(0, 0, 0, .3); transition: border-color .15s, box-shadow .15s; }
.cp-form:focus-within { border-color: rgba(157, 140, 255, .7); box-shadow: 0 0 0 4px rgba(126, 103, 240, .15), 0 16px 40px rgba(0, 0, 0, .3); }
.cp-form > i { margin-left: 12px; color: var(--cp-d); font-size: 16px; }
.cp-form input { min-width: 0; flex: 1; height: 46px; border: 0; outline: 0; background: none; color: var(--cp-i); font-size: 16px; letter-spacing: .02em; }
.cp-form input::placeholder { color: var(--cp-d); letter-spacing: 0; }
.cp-form button { display: inline-flex; height: 46px; align-items: center; gap: 8px; padding: 0 22px; border: 0; border-radius: 11px; background: var(--accent-strong, #725cf4); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; cursor: pointer; transition: filter .15s, transform .15s; }
.cp-form button:hover { filter: brightness(1.1); transform: translateY(-1px); }
.cp-form button:disabled { opacity: .6; cursor: wait; transform: none; }
.cp-petunjuk { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: var(--cp-d); font-size: 12.5px; }
.cp-petunjuk span { display: inline-flex; align-items: center; gap: 6px; }
.cp-petunjuk i { color: #b4a8ff; }
.cp-petunjuk a { color: #c8bfff; font-weight: 800; }
@media (max-width: 640px) {
  .cp-hero { padding: 24px 16px; border-radius: 18px; }
  .cp-form { flex-wrap: wrap; }
  .cp-form > i { display: none; }
  .cp-form input { flex-basis: 100%; padding: 0 10px; }
  .cp-form button { width: 100%; justify-content: center; }
}

/* ---------- Langkah & legenda status ---------- */
.cp-langkah { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.cp-langkah > div { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--cp-b); border-radius: 14px; background: var(--cp-p); }
.cp-langkah b.no { display: grid; width: 30px; height: 30px; flex: none; place-items: center; border-radius: 9px; background: rgba(140, 121, 255, .14); color: #c8bfff; font-family: var(--display); font-size: 14px; }
.cp-langkah strong { display: block; color: var(--cp-i); font-size: 13.5px; }
.cp-langkah small { color: var(--cp-d); font-size: 12px; line-height: 1.5; }
@media (max-width: 760px) { .cp-langkah { grid-template-columns: 1fr; } }

/* ---------- Status ---------- */
.cp-status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.cp-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cp-status.sukses { background: rgba(95, 209, 163, .12); color: #6fdcb0; }
.cp-status.proses { background: rgba(100, 170, 255, .12); color: #8ec2ff; }
.cp-status.pending { background: rgba(240, 192, 109, .12); color: #f3cd8a; }
.cp-status.gagal { background: rgba(236, 133, 145, .12); color: #f3a2ac; }
.cp-status.proses::before { animation: cp-kedip 1.2s infinite; }
@keyframes cp-kedip { 50% { opacity: .25; } }

/* ---------- Seksi ---------- */
.cp-seksi { margin-top: 34px; }
.cp-seksi-kepala { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cp-seksi-kepala h2 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.cp-seksi-kepala p { margin: 4px 0 0; color: var(--cp-m); font-size: 13px; }
.cp-live { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid rgba(95, 209, 163, .3); border-radius: 999px; background: rgba(95, 209, 163, .08); color: #6fdcb0; font-size: 12px; font-weight: 800; }
.cp-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5fd1a3; box-shadow: 0 0 0 0 rgba(95, 209, 163, .6); animation: cp-denyut 1.8s infinite; }
@keyframes cp-denyut { 70% { box-shadow: 0 0 0 8px rgba(95, 209, 163, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 209, 163, 0); } }

/* ---------- Transaksi real-time ---------- */
.cp-trx { overflow: hidden; border: 1px solid var(--cp-b); border-radius: 16px; background: var(--cp-p); }
.cp-trx-baris { display: grid; grid-template-columns: 44px minmax(0, 1.5fr) minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, .045); transition: background .2s; }
.cp-trx-baris:first-child { border-top: 0; }
.cp-trx-baris:hover { background: rgba(255, 255, 255, .02); }
.cp-trx-baris.baru { animation: cp-masuk .9s ease; }
@keyframes cp-masuk { from { background: rgba(140, 121, 255, .16); } to { background: transparent; } }
.cp-trx-logo { width: 44px; height: 44px; overflow: hidden; border-radius: 11px; background: #1d1d28; }
.cp-trx-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cp-trx-logo span { display: grid; width: 100%; height: 100%; place-items: center; color: #b4a8ff; font-weight: 800; }
.cp-trx b { display: block; overflow: hidden; color: var(--cp-i); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.cp-trx small { display: block; overflow: hidden; color: var(--cp-d); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.cp-trx .inv { color: var(--cp-m); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12.5px; }
.cp-trx .waktu { color: var(--cp-d); font-size: 12px; white-space: nowrap; }
.cp-trx-kosong { padding: 34px 16px; color: var(--cp-d); font-size: 13px; text-align: center; }
@media (max-width: 760px) {
  .cp-trx-baris { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; padding: 11px 12px; }
  .cp-trx-baris .kol-inv, .cp-trx-baris .waktu { display: none; }
  .cp-trx-logo { width: 40px; height: 40px; }
}

@media (max-width: 700px) { .cp { padding-bottom: 80px; } }
