/* Creator sign-in (/masuk?next=creator, /masuk on creator.kolabaja.com) and the invite page /creator/u/<code> in the
   app's colors (30 Nov 2026), so landing, sign-in and portal are one dark flow like the app. Only on PayShell pages
   with dark=true (body.kp-dark). Since 4 Des 2026 every PayShell page is dark by default (buyer sign-in, profile,
   checkout, help; extras in akun-dark.css); webinar pages keep their own look. Linked first in <body>. */
body.kp-dark {
  --bg: #08080a;
  --panel: #141417;
  --panel-2: #1c1c21;
  --line: rgba(255, 255, 255, 0.08);
  --ink: #f4f4f6;
  --muted: #a0a0ab;
  --dim: #8a8a95;
  --red: #f0465e;
  --red-hover: #d63650;
  --red-press: #c22e47;
  --red-soft: rgba(240, 70, 94, 0.18);
  --on-red: #fff;
  --ok: #4bdb91;
  --ok-soft: rgba(75, 219, 145, 0.12);
  --shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.8);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, 'Segoe UI', Roboto, sans-serif;
  --kb-ink: #f4f4f6;
  --kb-muted: #a0a0ab;
  --kb-red: #f0465e;
  --kb-red-2: #ff5c73;
  --kb-paper: #111114;
  --kb-paper-2: #16161a;
  --kb-line: rgba(255, 255, 255, 0.12);
  --kb-line-2: rgba(255, 255, 255, 0.22);
  --kb-ring: rgba(240, 70, 94, 0.22);
  color-scheme: dark;
  background: radial-gradient(900px 420px at 50% -140px, #5a1424 0%, #2a0b12 40%, transparent 75%) no-repeat, #08080a !important;
  color: #f4f4f6 !important;
  font-family: var(--font) !important;
}
body.kp-dark :is(h1, h2, h3) { color: #fff !important; }
body.kp-dark a { color: #fff; }
body.kp-dark .kp-secure { background: rgba(255, 255, 255, 0.06) !important; border-color: rgba(255, 255, 255, 0.1) !important; }

/* the sign-in card: the app's dark panel instead of the cream "sticker" card */
body.kp-dark :is(.kw-card, .kw-member, .kp-card) { background: #141417 !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.85) !important; }
body.kp-dark .kw-note { background: rgba(240, 70, 94, 0.1) !important; border: 1px solid rgba(240, 70, 94, 0.3) !important; box-shadow: none !important; }
body.kp-dark .kw-hero mark { background: #f0465e !important; color: #fff !important; box-shadow: none !important; }
body.kp-dark .kw-tag { background: rgba(255, 255, 255, 0.08) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.12); }
body.kp-dark .kw-input { background: #111114 !important; border: 1px solid rgba(255, 255, 255, 0.14) !important; color: #f4f4f6 !important; box-shadow: none !important; }
body.kp-dark .kw-input:focus { border-color: #f0465e !important; outline: 3px solid rgba(240, 70, 94, 0.2) !important; }
body.kp-dark .kw-input::placeholder { color: #6e6e78; }
body.kp-dark .kw-btn { border: 1px solid rgba(255, 255, 255, 0.14) !important; background: #1c1c21 !important; color: #fff !important; box-shadow: none !important; }
body.kp-dark .kw-btn:active { transform: scale(0.98) !important; }
body.kp-dark .kw-btn-go { background: #f0465e !important; border-color: #f0465e !important; box-shadow: 0 12px 24px -14px rgba(240, 70, 94, 0.9) !important; }
body.kp-dark .kw-btn-go:hover { background: #d63650 !important; }
body.kp-dark .kw-btn-dark { background: #f4f4f6 !important; color: #08080a !important; }
body.kp-dark .kw-code { background: #111114 !important; border-color: rgba(255, 255, 255, 0.2) !important; color: #f4f4f6 !important; }
body.kp-dark .kw-error { color: #ff8a9b !important; }
body.kp-dark .kw-member-top { background: #1c1c21 !important; color: #fff !important; }
body.kp-dark .kp-modal-card { background: #141417 !important; color: #f4f4f6 !important; }

/* invite banner: the app red */
body.kp-dark .iv-hero { background: radial-gradient(120% 90% at 50% 0%, #ff5c73 0%, #f0465e 40%, #b8283f 100%) !important; box-shadow: 0 30px 60px -30px rgba(240, 70, 94, 0.7) !important; }
body.kp-dark .iv-hero h1 mark { color: #d63650 !important; }
body.kp-dark .iv-steps b { color: #d63650 !important; }

/* Breathing room (1 Des 2026, Riski: "teks Masuk pakai WhatsApp jangan dempet, kasih padding"):
   a calmer headline with space around the highlighted word, wider column, roomier cards. */
body.kp-dark .kp-top { max-width: 560px; padding: 22px 20px 10px; }
body.kp-dark .kp-main { max-width: 560px; padding: 28px 20px 40px; }
body.kp-dark .kw-hero { margin: 0 0 28px; }
body.kp-dark .kw-hero .kw-tag { margin-bottom: 6px; }
body.kp-dark .kw-hero h1 { font-size: clamp(34px, 6.5vw, 48px) !important; line-height: 1.16 !important; letter-spacing: -0.03em; margin: 16px 0 16px !important; }
body.kp-dark .kw-hero mark { display: inline-block; margin-top: 8px; padding: 0.04em 0.26em 0.1em !important; border-radius: 14px !important; line-height: 1.1; }
body.kp-dark .kw-hero p { margin: 0; font-size: 16px; line-height: 1.6; color: #a0a0ab; }
body.kp-dark :is(.kw-card, .kw-member, .kp-card) { padding: 26px 24px !important; margin-bottom: 20px !important; border-radius: 22px !important; }
body.kp-dark .kw-note { padding: 22px 24px !important; border-radius: 20px !important; line-height: 1.6; }
body.kp-dark .kw-label { margin-bottom: 10px; font-size: 15px; }
body.kp-dark .kw-input { min-height: 54px; padding: 14px 18px !important; border-radius: 14px !important; font-size: 17px; }
body.kp-dark .kw-actions { margin-top: 18px; gap: 12px; }
body.kp-dark .kw-btn { min-height: 50px; padding: 13px 24px !important; }
body.kp-dark .kw-fine, body.kp-dark .kp-main > p { line-height: 1.6; }
body.kp-dark .kp-legal { padding: 8px 20px 32px; line-height: 1.6; }
/* invite banner: more room inside and before the form */
body.kp-dark .iv-hero { padding: 34px 26px 28px !important; margin-bottom: 22px !important; }
body.kp-dark .iv-hero h1 { line-height: 1.12 !important; margin: 14px 0 14px !important; }
body.kp-dark .iv-lede { margin-bottom: 20px !important; }

/* ================= Creator sign-in, design M1 "foto + panel" (1 Des 2026) ================= */
body.kp-dark.kp-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); min-height: 100vh; }
body.kp-split .kp-aside { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #000; }
body.kp-split .cm-aside { position: relative; height: 100%; }
body.kp-split .cm-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
body.kp-split .cm-aside::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(8 8 10 / 0.1) 0%, rgb(8 8 10 / 0.25) 45%, rgb(8 8 10 / 0.94) 100%); }
body.kp-split .cm-cap { position: absolute; left: 44px; right: 44px; bottom: 48px; z-index: 1; }
body.kp-split .cm-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #fff;
  background: rgb(20 20 23 / 0.7); border: 1px solid rgb(255 255 255 / 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
body.kp-split .cm-pill i { width: 8px; height: 8px; border-radius: 50%; background: #4bdb91; box-shadow: 0 0 0 4px rgb(75 219 145 / 0.2); }
body.kp-split .cm-title { margin: 16px 0 20px !important; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; color: #fff; }
body.kp-split .cm-title em { font-style: normal; color: #f0465e; }
body.kp-split .cm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
body.kp-split .cm-stats li {
  display: grid; gap: 2px; padding: 14px 16px; border-radius: 18px; background: rgb(20 20 23 / 0.72);
  border: 1px solid rgb(255 255 255 / 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
body.kp-split .cm-stats b { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
body.kp-split .cm-stats b img { width: 22px; height: 22px; }
body.kp-split .cm-stats small { color: #a0a0ab; font-size: 12.5px; }

body.kp-split .kp-col {
  display: flex; flex-direction: column; min-height: 100vh;
  background: radial-gradient(700px 380px at 80% -120px, #3a0f19 0%, transparent 70%), #08080a;
}
body.kp-split .kp-top, body.kp-split .kp-main, body.kp-split .kp-legal { width: 100%; max-width: 480px; margin: 0 auto; }
body.kp-split .kp-main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 24px 24px 32px; }
body.kp-split .kp-top { padding: 28px 24px 0; }
body.kp-split .kp-top .kp-logo { visibility: hidden; }
body.kp-split .cm-hero { margin-bottom: 26px; }
body.kp-split .cm-hero h1 { font-size: clamp(30px, 2.6vw, 36px) !important; line-height: 1.15 !important; letter-spacing: -0.025em; margin: 0 0 10px !important; }
body.kp-split .cm-hero p { font-size: 16px; }
body.kp-split #wa-step-phone { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
body.kp-split .cm-field { display: flex; align-items: stretch; border-radius: 16px; background: #111114; border: 1px solid rgb(255 255 255 / 0.14); overflow: hidden; transition: border-color 0.15s, box-shadow 0.15s; }
body.kp-split .cm-field:focus-within { border-color: #f0465e; box-shadow: 0 0 0 4px rgb(240 70 94 / 0.16); }
body.kp-split .cm-cc { display: flex; align-items: center; gap: 8px; padding: 0 16px; border-right: 1px solid rgb(255 255 255 / 0.14); font-weight: 600; color: #fff; font-size: 16px; }
body.kp-split .cm-cc::before { content: ''; width: 20px; height: 14px; border-radius: 3px; background: linear-gradient(180deg, #e0242f 50%, #fff 50%); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.2); }
body.kp-split .cm-field .kw-input { flex: 1; min-height: 56px; border: 0 !important; border-radius: 0 !important; background: transparent !important; outline: none !important; box-shadow: none !important; }
body.kp-split #wa-step-phone .kw-actions { margin-top: 14px; }
body.kp-split #wa-step-phone .kw-btn-go { width: 100%; min-height: 56px; font-size: 16.5px; }
body.kp-split .cm-trust { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
body.kp-split .cm-trust li {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px; color: #d9d9de;
  background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.08);
}
body.kp-split .cm-trust li::before { content: '✓'; color: #4bdb91; font-weight: 700; font-size: 12px; }
body.kp-split .cm-save {
  display: flex !important; gap: 12px; align-items: flex-start; margin-top: 22px !important; padding: 14px 16px !important; border-radius: 16px !important;
  background: rgb(31 175 90 / 0.08) !important; border: 1px solid rgb(31 175 90 / 0.25) !important; color: #cfefdc; font-size: 13.5px; line-height: 1.55;
}
body.kp-split .cm-save strong { color: #fff; }
body.kp-split .cm-save-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgb(31 175 90 / 0.18); color: #4bdb91; }
body.kp-split .cm-save-ic svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.kp-split .kw-fine { margin-top: 18px; font-size: 13px; color: #8a8a95; line-height: 1.6; }
body.kp-split .kp-legal { padding: 0 24px 28px; }
/* the next steps (send the message / enter the code) keep their card look */
body.kp-split :is(#wa-step-reverse, #wa-step-otp) { margin-top: 0; }

@media (max-width: 900px) {
  body.kp-dark.kp-split { display: block; }
  body.kp-split .kp-aside { position: relative; height: 380px; }
  body.kp-split .cm-cap { left: 20px; right: 20px; bottom: 22px; }
  body.kp-split .cm-title { font-size: 30px; margin: 12px 0 16px !important; }
  body.kp-split .cm-stats li { padding: 10px 12px; }
  body.kp-split .cm-stats b { font-size: 16px; }
  body.kp-split .cm-stats b img { width: 18px; height: 18px; }
  body.kp-split .kp-col { min-height: 0; }
  body.kp-split .kp-top { position: absolute; top: 0; left: 0; right: 0; max-width: none; padding: 18px 20px; z-index: 2; }
  body.kp-split .kp-top .kp-logo { visibility: visible; }
  body.kp-split .kp-main { padding: 28px 20px 24px; }
  body.kp-split .cm-hero h1 { font-size: 27px !important; }
}
body.kp-split .cm-logo { position: absolute; left: 44px; top: 32px; z-index: 2; }
body.kp-split .cm-logo img { display: block; height: 30px; width: auto; }
@media (max-width: 900px) { body.kp-split .cm-logo { display: none; } }
