/* =====================================================================
   /cek-pesanan (UI v3, 12 Okt 2026): Cari pesananku + Cek keaslian tiket
   File terpisah dari help-pages.css supaya FAQ & Kontak tidak ikut berubah.
   ===================================================================== */
.ck { --ink: #0d1b2e; --soft: #4d5c74; --muted: #5f6b80; --line: #e4e9f0; --brand: #1e5bd6; --brand-dark: #0b3d91; --brand-soft: #eef4ff; --page: #f5f7fb;
  background: var(--page); color: var(--ink); font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.ck *, .ck *::before, .ck *::after { box-sizing: border-box; }
.ck svg { width: 20px; height: 20px; flex: none; }
.ck a { color: var(--brand); }

/* hero */
.ck-hero { background: var(--brand-dark); color: #fff; padding: 36px 0 76px; }
.ck-crumb { font-size: 13.5px; color: #c9d8f5; margin-bottom: 10px; }
.ck-crumb a { color: #fff; font-weight: 700; text-decoration: none; }
.ck-crumb a:hover { text-decoration: underline; }
.ck-hero h1 { margin: 0 0 8px; font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; color: #fff; }
.ck-hero p { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.6; color: #dbe6ff; }

.ck-body { margin-top: -48px; padding-bottom: 56px; }
.ck-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.ck-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.ck-signed { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; color: var(--soft); }

/* pilihan keperluan */
.ck-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ck-tabs a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s; }
.ck-tabs a:hover { border-color: #c9d7f3; text-decoration: none; color: var(--ink); }
.ck-tabs a svg { color: var(--muted); }
.ck-tabs b { display: block; font-size: 15px; font-weight: 800; }
.ck-tabs small { display: block; font-size: 13px; color: var(--soft); }
.ck-tabs a.is-active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 91, 214, .12); }
.ck-tabs a.is-active svg { color: var(--brand); }
.ck-tabs a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* kartu form */
.ck-card { padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.ck-card h2 { margin: 0 0 6px; font-size: 21px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.ck-card__sub { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--soft); }
.ck-label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.ck-field { display: flex; gap: 10px; }
.ck-input { flex: 1; min-width: 0; height: 52px; margin: 0; padding: 0 16px; border: 1.5px solid #d5dce6; border-radius: 14px; background: #fff; font-family: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.ck-input--code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .04em; }
.ck-input::placeholder { color: #8a95a8; font-weight: 500; letter-spacing: 0; }
.ck-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30, 91, 214, .14); }
.ck-input.is-invalid { border-color: #d92d3a; }
.ck-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--brand); color: #fff !important; font-family: inherit; font-size: 15px; font-weight: 800; white-space: nowrap; cursor: pointer; text-decoration: none; transition: background .15s; }
.ck-btn:hover { background: #0f3a8f; text-decoration: none; }
.ck-btn:disabled { opacity: .7; cursor: wait; }
.ck-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ck-btn svg { width: 18px; height: 18px; }
.ck-btn--small { height: 44px; padding: 0 16px; font-size: 14px; }
.ck-err { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: #b4232f; }
.ck-note { margin: 14px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
.ck-hpot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ck-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14.5px; font-weight: 800; color: var(--brand); }

/* sudah dikirim */
.ck-sent { text-align: left; }
.ck-sent__ic { width: 52px; height: 52px; margin-bottom: 14px; border-radius: 16px; background: #e7f8ee; color: #137a3f; display: flex; align-items: center; justify-content: center; }
.ck-sent__ic svg { width: 26px; height: 26px; }
.ck-sent p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: var(--soft); }
.ck-sent p b { color: var(--ink); word-break: break-all; }
.ck-sent__tips { margin: 0 0 4px; padding: 14px 16px 14px 34px; border-radius: 14px; background: var(--page); font-size: 14px; line-height: 1.6; color: var(--soft); }
.ck-sent__tips li + li { margin-top: 6px; }

/* hasil cek tiket: potongan tiket dengan cap status */
.ck-result { margin-top: 18px; border-radius: 20px; border: 1.5px solid; overflow: hidden; background: #fff; --edge: var(--line); }
.ck-result--ok { border-color: #a7e3c0; --edge: #a7e3c0; }
.ck-result--used { border-color: #f3cf8a; --edge: #f3cf8a; }
.ck-result--bad { border-color: #f3c2c8; --edge: #f3c2c8; }
.ck-result__top { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.ck-result--ok .ck-result__top { background: #ecfbf2; }
.ck-result--used .ck-result__top { background: #fff8eb; }
.ck-result--bad .ck-result__top { background: #fdf3f4; }
.ck-result__ic { width: 44px; height: 44px; flex: none; border-radius: 14px; color: #fff; display: flex; align-items: center; justify-content: center; }
.ck-result--ok .ck-result__ic { background: #137a3f; }
.ck-result--used .ck-result__ic { background: #b45309; }
.ck-result--bad .ck-result__ic { background: #b4232f; }
.ck-result h3 { margin: 0; font-size: 19px; font-weight: 800; color: var(--ink); }
.ck-result__top p { margin: 3px 0 0; font-size: 14.5px; line-height: 1.5; color: #3c4a60; }
.ck-tear { position: relative; height: 22px; }
.ck-tear::before { content: ""; position: absolute; left: 20px; right: 20px; top: 10px; border-top: 2px dashed #d6dde8; }
.ck-tear i { position: absolute; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid var(--edge); }
.ck-tear i:first-child { left: -12px; }
.ck-tear i:last-child { right: -12px; }
.ck-result__data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; margin: 0; padding: 6px 18px 18px; }
.ck-result__data .is-wide { grid-column: 1 / -1; }
.ck-result__data dt { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ck-result__data dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; color: var(--ink); word-break: break-word; }
.ck-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; }
.ck-items { margin: 0; padding: 0; list-style: none; }
.ck-items li { margin: 0; }
.ck-items small { font-weight: 500; color: var(--soft); }
.ck-result__note { margin: 0; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.55; color: var(--soft); }

/* contoh letak kode */
.ck-where { display: flex; gap: 18px; align-items: center; margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--page); }
.ck-where p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--soft); }
.ck-where b { color: var(--ink); }
.ck-where__ticket { position: relative; flex: none; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.ck-where__qr { width: 40px; height: 40px; border-radius: 6px; background:
  linear-gradient(90deg, var(--ink) 30%, transparent 30%, transparent 45%, var(--ink) 45%, var(--ink) 60%, transparent 60%) 0 0 / 100% 33.3% repeat-y,
  linear-gradient(var(--ink) 30%, transparent 30%) 0 0 / 33.3% 100% repeat-x; opacity: .85; }
.ck-where__code small { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.ck-where__code b { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; color: var(--ink); }

.ck-safe { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--soft); }
.ck-safe svg { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }

/* samping */
.ck-side { display: flex; flex-direction: column; gap: 12px; margin-top: 0; }
.ck-tile { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
a.ck-tile:hover { border-color: #c9d7f3; text-decoration: none; color: var(--ink); }
.ck-tile__ic { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.ck-tile__ic svg { width: 19px; height: 19px; }
.ck-tile b { display: block; font-size: 15px; font-weight: 800; }
.ck-tile > span:last-child > span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.55; color: var(--soft); }
.ck-tile .ck-tile__more { margin-top: 8px !important; font-weight: 800; color: var(--brand) !important; }
a.ck-tile:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

@media (max-width: 991.98px) {
  .ck-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .ck-hero { padding: 26px 0 64px; }
  .ck-hero h1 { font-size: 30px; }
  .ck-hero p { font-size: 15px; }
  .ck-tabs { grid-template-columns: 1fr; gap: 8px; }
  .ck-card { padding: 18px; border-radius: 18px; }
  .ck-card h2 { font-size: 19px; }
  .ck-field { flex-direction: column; }
  .ck-field .ck-input { flex: none; width: 100%; }
  .ck-btn { width: 100%; }
  .ck-signed .ck-btn { width: 100%; }
  .ck-result__data { grid-template-columns: 1fr; }
  .ck-where { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .ck-tabs a, .ck-input, .ck-btn { transition: none; }
}
