/* Scoped XGLOS warranty page — certificate / premium. Do not affect global pages. */
.xg-warranty {
  --xg-w-ink: #f5f5f5;
  --xg-w-mute: #9aa0a8;
  --xg-w-line: rgba(255, 255, 255, 0.16);
  --xg-w-metal: linear-gradient(120deg, #d8d8d8 0%, #f8f8f8 35%, #a8a8a8 55%, #ececec 100%);
  --xg-w-panel: #121212;
  --xg-w-deep: #070809;
  color: var(--xg-w-ink);
}

.xg-warranty .xg-w-shell {
  max-width: 720px;
  margin: 0 auto;
}

.xg-warranty .xg-w-search {
  background: var(--xg-w-panel);
  border: 1px solid var(--xg-w-line);
  border-radius: 4px;
  padding: 28px 24px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.xg-warranty .xg-w-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--xg-w-line);
  margin-bottom: 22px;
}

.xg-warranty .xg-w-mode {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--xg-w-mute);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 10px;
  cursor: pointer;
  min-height: 48px;
}

.xg-warranty .xg-w-mode[aria-selected="true"] {
  color: #0a0a0a;
  background: var(--xg-w-metal);
}

.xg-warranty .xg-w-panel[hidden] { display: none !important; }

.xg-warranty .xg-w-ringkas {
  border-left: 3px solid #cfcfcf;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 14px;
}

.xg-warranty .xg-w-ringkas strong {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.xg-warranty .xg-w-cert {
  margin-top: 28px;
  border: 1px solid var(--xg-w-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 40%),
    var(--xg-w-deep);
  position: relative;
  overflow: hidden;
}

.xg-warranty .xg-w-cert::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.xg-warranty .xg-w-cert-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 28px 18px;
  border-bottom: 1px solid var(--xg-w-line);
}

.xg-warranty .xg-w-cert-brand {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.2em;
  background: var(--xg-w-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.xg-warranty .xg-w-cert-meta {
  color: var(--xg-w-mute);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
}

.xg-warranty .xg-w-status {
  align-self: flex-start;
  border: 1px solid #fff;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.xg-warranty .xg-w-status.is-hangus,
.xg-warranty .xg-w-status.is-selesai {
  border-color: var(--xg-w-mute);
  color: var(--xg-w-mute);
}

.xg-warranty .xg-w-cert-body {
  padding: 24px 28px 8px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px 28px;
}

.xg-warranty .xg-w-field b {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--xg-w-mute);
  margin-bottom: 4px;
  font-weight: 600;
}

.xg-warranty .xg-w-field span {
  font-size: 16px;
  font-weight: 600;
}

.xg-warranty .xg-w-field.xg-w-paket span {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.xg-warranty .xg-w-next {
  margin: 8px 28px 20px;
  padding: 16px 18px;
  border: 1px solid var(--xg-w-line);
  background: rgba(255, 255, 255, 0.03);
}

.xg-warranty .xg-w-next h3,
.xg-warranty .xg-w-timeline h3,
.xg-warranty .xg-w-benefit h3 {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--xg-w-mute);
}

.xg-warranty .xg-w-timeline {
  padding: 0 28px 28px;
}

.xg-warranty .xg-w-timeline ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--xg-w-line);
}

.xg-warranty .xg-w-timeline li {
  position: relative;
  padding: 0 0 18px 18px;
}

.xg-warranty .xg-w-timeline li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.xg-warranty .xg-w-timeline .when {
  color: var(--xg-w-mute);
  font-size: 12px;
}

.xg-warranty .xg-w-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

/* Author display rules must not override the HTML hidden attribute. */
.xg-warranty [hidden] { display: none !important; }

.xg-warranty .warranty-scan-dialog { border: none; padding: 0; background: transparent; max-width: min(520px, 96vw); }
.xg-warranty .warranty-scan-dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
.xg-warranty .warranty-scan-panel {
  background: #0f1115;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 18px;
}
.xg-warranty .warranty-scan-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.xg-warranty .warranty-scan-head h3 { margin: 0; font-size: 18px; }
.xg-warranty .warranty-scan-status { color: #9ba1ad; font-size: 13px; min-height: 1.4em; }
.xg-warranty .warranty-scan-reader { min-height: 220px; background: #000; margin: 10px 0 14px; }
.xg-warranty .warranty-scan-controls { display: flex; flex-wrap: wrap; gap: 8px; }
.xg-warranty .warranty-scan-note { color: #64748b; font-size: 12px; margin: 12px 0 0; }
.xg-warranty .visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 700px) {
  .xg-warranty .xg-w-cert-body { grid-template-columns: 1fr; }
  .xg-warranty .xg-w-cert-head { flex-direction: column; }
}

/* Verified card: WSGROUP reference, with a private-data-safe public layout. */
.xg-warranty .xg-w-cert--reference {
  color: #18212e; background: #fff; border: 1px solid #c9c9c4;
  border-radius: 20px; box-shadow: 0 18px 48px rgba(0,0,0,.16);
  --xg-w-line: #e4e7eb; --xg-w-mute: #637083;
}
.xg-warranty .xg-w-cert--reference::before { display: none; }
.xg-warranty .xg-w-cert--reference .xg-w-cert-head {
  background: #111; border-bottom: 2px solid #b8bec6; padding: 24px;
  flex-direction: row; align-items: center;
}
.xg-warranty .xg-w-cert--reference .xg-w-cert-brand {
  color: #fff; background: none; font-size: 20px; letter-spacing: -.025em; line-height: 1.4;
}
.xg-warranty .xg-w-cert--reference .xg-w-cert-brand span { font-weight: 600; }
.xg-warranty .xg-w-cert--reference .xg-w-cert-meta {
  color: #d6d6d3; font-size: 12px; letter-spacing: .025em; text-transform: none;
}
.xg-warranty .xg-w-cert--reference .xg-w-status {
  flex-shrink: 0; align-self: center; border: 0; border-radius: 999px;
  background: #d9f8e6; color: #12683d; padding: 7px 12px; letter-spacing: .05em;
}
.xg-warranty .xg-w-cert--reference .xg-w-status.is-hangus { background:#fee2e2; color:#991b1b; }
.xg-warranty .xg-w-cert--reference .xg-w-status.is-selesai { background:#e5e7eb; color:#374151; }
.xg-warranty .xg-w-cert--reference .xg-w-cert-body {
  padding: 26px 24px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 32px;
}
.xg-warranty .xg-w-cert--reference .xg-w-field { min-width: 0; }
.xg-warranty .xg-w-cert--reference .xg-w-field b { font-size:11px; letter-spacing:.04em; }
.xg-warranty .xg-w-cert--reference .xg-w-field span,
.xg-warranty .xg-w-cert--reference .xg-w-field.xg-w-paket span {
  display:block; color:#18212e; font-size:14px; line-height:1.6; font-weight:500;
  letter-spacing:0; overflow-wrap:anywhere;
}
.xg-warranty .xg-w-cert--reference .xg-w-terms,
.xg-warranty .xg-w-cert--reference .xg-w-next {
  margin: 0 24px 20px; padding:16px; background:#f8f9fb; border:1px solid #e4e7eb; border-radius:12px;
}
.xg-warranty .xg-w-cert--reference .xg-w-terms h3 { margin:0 0 8px; font-size:12px; color:#637083; text-transform:uppercase; letter-spacing:.06em; }
.xg-warranty .xg-w-cert--reference .xg-w-terms p { margin:0; font-size:13px; line-height:1.8; white-space:pre-line; overflow-wrap:anywhere; }
.xg-warranty .xg-w-cert--reference .xg-w-timeline li::before { background:#929aa5; }
@media (max-width:560px) {
  .xg-warranty .xg-w-cert--reference .xg-w-cert-head { padding:20px 18px; gap:12px; flex-wrap:wrap; }
  .xg-warranty .xg-w-cert--reference .xg-w-cert-brand { font-size:18px; }
  .xg-warranty .xg-w-cert--reference .xg-w-cert-body { grid-template-columns:1fr; padding:22px 18px; gap:16px; }
  .xg-warranty .xg-w-cert--reference .xg-w-next,
  .xg-warranty .xg-w-cert--reference .xg-w-terms { margin-left:18px; margin-right:18px; }
}

/* Integrated verification QR and restrained, print-friendly card composition. */
.xg-warranty .xg-w-card-main { display:grid; grid-template-columns:minmax(0,1fr) 190px; align-items:start; }
.xg-warranty .xg-w-cert--reference .xg-w-cert-body { gap:18px 20px; }
.xg-warranty .warranty-card-qr-panel { box-sizing:border-box; padding:26px 22px 22px 0; text-align:center; }
.xg-warranty .warranty-card-qr { box-sizing:border-box; display:block; width:164px; max-width:100%; margin:0 auto 12px; background:#fff; border:1px solid #e2e5e9; border-radius:10px; color:#202734; text-decoration:none; }
.xg-warranty .warranty-card-qr svg { display:block; width:100%; height:auto; border-radius:10px; }
.xg-warranty .warranty-card-qr-panel b { display:block; color:#202734; font-size:11px; font-weight:600; }
.xg-warranty .warranty-card-qr-panel p { color:#637083; font-size:11px; line-height:1.5; margin:5px 0 0; }
@media(max-width:700px) {
  .xg-warranty .xg-w-card-main { grid-template-columns:1fr; }
  .xg-warranty .warranty-card-qr-panel { padding:0 20px 24px; }
}
/* Two-field primary lookup; alternate methods stay secondary. */
.xg-warranty .warranty-simple { max-width:580px; margin:0 auto; box-sizing:border-box; }
.xg-warranty .warranty-search-heading { margin:0 0 24px; font-size:23px; font-weight:750; letter-spacing:-.02em; }
.xg-warranty .warranty-simple label { display:block; font-size:14px; color:#e4e7eb; margin-bottom:18px; }
.xg-warranty .warranty-simple input:not([type=hidden]) { box-sizing:border-box; width:100%; margin-top:8px; padding:14px; border:1px solid #42464d; border-radius:9px; background:#0c0d10; color:#fff; font:inherit; }
.xg-warranty .warranty-simple input:focus { outline:2px solid #b8bec6; outline-offset:2px; }
.xg-warranty .warranty-search-help { margin:0 0 22px; font-size:13px; line-height:1.6; color:#adb5c1; }
.xg-warranty .warranty-search-submit { width:100%; min-height:48px; }
.xg-warranty .warranty-search-alternatives { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 24px; margin-top:22px; padding-top:18px; border-top:1px solid #30343a; }
.xg-warranty .warranty-search-link { appearance:none; border:0; background:none; color:#e5e7eb; font:inherit; font-size:13px; text-decoration:underline; text-underline-offset:4px; min-height:36px; cursor:pointer; }
.xg-warranty .warranty-simple [data-search-result] { margin-top:0; }
.xg-warranty .warranty-simple [data-search-result] p { color:#adb5c1; font-size:13px; }