:root{
      --bg: #ffffff;
      --card: rgba(18,18,18,0.82);
      --card-border: rgba(255,255,255,0.08);
      --muted: rgba(255,255,255,0.7);
      --text: #ffffff;
      --accent: #ffd200; /* IE-style yellow */
      --good: #4ade80;
      --warn: #fbbf24;
      --bad:  #fb7185;

      --radius: 18px;
      --shadow: 0 18px 60px rgba(0,0,0,0.55);
      --maxw: 980px;
    }

    *{ box-sizing: border-box; }
    html, body{ height: 100%; }
    body{
      margin: 0;
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
    }

/* Background image (responsive) */
.bg{
  position: fixed;
  inset: 0;
  z-index: -2;

  /* Keep a subtle dark/IE tint overlay for readability */
  background-image:
    radial-gradient(1200px 800px at 10% 0%, rgba(255,210,0,0.10), transparent 55%),
    radial-gradient(1000px 700px at 90% 15%, rgba(255,210,0,0.08), transparent 60%),
    radial-gradient(900px 700px at 50% 90%, rgba(255,255,255,0.06), transparent 60%),
    /* linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.92) 35%, rgba(255, 255, 255, 0.9)), */
    url("https://webhook.internetexpress.co.za/images/background.png");

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover; /* dynamic resize per device */
}

.stripe{
  display: none;
}

/* Page container */
    .wrap{
      max-width: var(--maxw);
      margin: 0 auto;
      padding: 28px 18px 44px;
    }

    header{
      display: flex;
      flex-direction: column;
      gap: 10px;
      margin-bottom: 18px;
    }

    .brand{
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .logoMark{
      width:42px;
      height:42px;
      object-fit:contain;
      border-radius:50%;
      display:block;
      background:transparent;
      box-shadow:none;
    }
    .logoMark::after{
      display:none;
    }
    .brandTitle{
      display:flex;
      flex-direction: column;
      line-height: 1.1;
    }
    .brandTitle h1{
      margin:0;
      font-size: 18px;
      letter-spacing: 0.2px;
      font-weight: 800;
    }
    .brandTitle p{
      margin:0;
      font-size: 13px;
      color: var(--muted);
    }

    .toolbar{
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      margin-top: 10px;
    }

    .input{
      display:flex;
      align-items:center;
      gap:10px;
      padding: 12px 12px;
      border-radius: 14px;
      background: rgba(0,0,0,0.35);
      border: 1px solid rgba(255,255,255,0.10);
      backdrop-filter: blur(10px);
    }
    .input label{
      font-size: 12px;
      color: rgba(255,255,255,0.75);
      white-space: nowrap;
    }
    .input input{
      width: 100%;
      background: transparent;
      border: 0;
      outline: none;
      color: var(--text);
      font-size: 14px;
    }

    button{
      appearance: none;
      border: 0;
      cursor: pointer;
      padding: 12px 16px;
      border-radius: 14px;
      font-weight: 800;
      letter-spacing: 0.2px;
      background: var(--accent);
      color: #111;
      box-shadow: 0 14px 40px rgba(255,210,0,0.20);
      transition: transform 120ms ease, filter 120ms ease;
    }
    button:hover{ transform: translateY(-1px); filter: brightness(1.02); }
    button:active{ transform: translateY(0px); filter: brightness(0.98); }

    /* Cards grid */
    .grid{
      display: grid;
      grid-template-columns: 1.25fr 0.75fr;
      gap: 14px;
      margin-top: 14px;
    }

    .card{
      background: var(--card);
      border: 1px solid var(--card-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      backdrop-filter: blur(12px);
      overflow: hidden;
    }

    .cardHeader{
      padding: 16px 16px 12px;
      display:flex;
      align-items:flex-start;
      justify-content: space-between;
      gap: 10px;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .cardHeader h2{
      margin:0;
      font-size: 14px;
      letter-spacing: 0.3px;
      text-transform: uppercase;
      font-weight: 900;
    }

    .badge{
      display:inline-flex;
      align-items:center;
      gap:8px;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,0.10);
      background: rgba(0,0,0,0.28);
      color: rgba(255,255,255,0.85);
      font-size: 12px;
      white-space: nowrap;
    }

    .dot{
      width: 9px;
      height: 9px;
      border-radius: 999px;
      background: rgba(255,255,255,0.25);
      box-shadow: 0 0 0 4px rgba(255,255,255,0.06);
    }

    .cardBody{ padding: 14px 16px 16px; }

    .kv{
      display: grid;
      grid-template-columns: 140px 1fr;
      gap: 10px 12px;
      margin-bottom: 14px;
    }
    .k{ color: #ffd200; font-size: 12px; }
    .v{ color: #ffd200; font-size: 13px; font-weight: 700; }

    .timeline{
      display:flex;
      flex-direction: column;
      gap: 10px;
      margin-top: 8px;
    }

    .step{
      display:flex;
      gap: 10px;
      align-items: flex-start;
    }
    .stepLeft{
      display:flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      padding-top: 2px;
    }
    .stepIcon{
      width: 14px;
      height: 14px;
      border-radius: 999px;
      background: rgba(255,255,255,0.18);
      border: 1px solid rgba(255,255,255,0.16);
    }
    .stepLine{
      width: 2px;
      height: 28px;
      background: rgba(255,255,255,0.08);
      border-radius: 999px;
    }
    .stepRight{
      flex: 1;
      background: rgba(0,0,0,0.22);
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 14px;
      padding: 10px 12px;
    }
    .stepTitle{
      display:flex;
      justify-content: space-between;
      gap: 8px;
      align-items: baseline;
    }
    .stepTitle strong{
      font-size: 13px;
      letter-spacing: 0.1px;
    }
    .stepTitle span{
      font-size: 12px;
      color: rgba(255,255,255,0.70);
      white-space: nowrap;
    }
    .stepNote{
      margin-top: 4px;
      font-size: 12px;
      color: rgba(255,255,255,0.78);
      line-height: 1.35;
    }

    /* Current step styling */
    .step.current .stepIcon{
      background: var(--accent);
      border-color: rgba(0,0,0,0.22);
      box-shadow: 0 0 0 4px rgba(255,210,0,0.18);
    }
    .step.current .stepRight{
      border-color: rgba(255,210,0,0.25);
      background: rgba(255,210,0,0.08);
    }

    /* Completed step styling */
    .step.done .stepIcon{
      background: rgba(74,222,128,0.9);
      border-color: rgba(0,0,0,0.18);
      box-shadow: 0 0 0 4px rgba(74,222,128,0.14);
    }

    /* PIN card */
    .pinBox{
      display:flex;
      flex-direction: column;
      gap: 12px;
    }
    .pinBig{
      font-size: 42px;
      font-weight: 1000;
      letter-spacing: 6px;
      text-align: center;
      padding: 18px 14px;
      border-radius: 16px;
      background: rgba(0,0,0,0.28);
      border: 1px solid rgba(255,255,255,0.10);
      box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
      user-select: text;
    }
    .pinHelp{
      font-size: 12px;
      color: rgba(255,255,255,0.75);
      line-height: 1.35;
    }

    .miniActions{
      display:flex;
      gap: 10px;
    }
    .ghostBtn{
      background: rgba(0,0,0,0.28);
      color: rgba(255,255,255,0.92);
      border: 1px solid rgba(255,255,255,0.12);
      box-shadow: none;
      font-weight: 800;
      padding: 10px 12px;
      border-radius: 14px;
    }

    .error{
      margin-top: 12px;
      padding: 10px 12px;
      border-radius: 14px;
      background: rgba(251,113,133,0.10);
      border: 1px solid rgba(251,113,133,0.22);
      color: rgba(255,255,255,0.92);
      font-size: 12px;
      display:none;
    }

    /* Responsive */
    @media (max-width: 860px){
      .grid{
        grid-template-columns: 1fr;
      }
      .kv{
        grid-template-columns: 120px 1fr;
      }
      .pinBig{
        font-size: 38px;
      }
    }

    @media (max-width: 480px){
      .wrap{ padding: 20px 14px 36px; }
      .toolbar{ grid-template-columns: 1fr; }
      button{ width: 100%; }
      .pinBig{
        font-size: 34px;
        letter-spacing: 5px;
      }
    }
