/* Nexo POS — gaya shortcode (Oxygen). Semua di bawah .nxp supaya tidak bertembung dengan tema. */
.nxp { --nxp-brand: #0f766e; --nxp-line: #e2e5e0; --nxp-muted: #66716c; color: #17201d; font-size: 15px; line-height: 1.5; }
.nxp * { box-sizing: border-box; }
.nxp-card { background: #fff; border: 1px solid var(--nxp-line); border-radius: 14px; padding: 22px; margin: 0 0 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.04); }
.nxp-card h3 { margin: 0 0 12px; font-size: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nxp-form { max-width: 480px; }
.nxp-form label, .nxp-form p label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 12px; }
.nxp-form input[type=text], .nxp-form input[type=email], .nxp-form input[type=tel], .nxp-form input[type=password] {
  display: block; width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid var(--nxp-line); border-radius: 10px; font: inherit; background: #fff;
}
.nxp-form .nxp-check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.nxp-form .login-remember label { display: flex; gap: 8px; font-weight: 500; }
.nxp-btn, .nxp-form input[type=submit] {
  display: inline-block; background: var(--nxp-brand); color: #fff !important; border: 1px solid var(--nxp-brand); padding: 11px 18px;
  border-radius: 10px; font-weight: 700; text-decoration: none; cursor: pointer; font: inherit; font-weight: 700; margin: 4px 4px 4px 0;
}
.nxp-btn:hover { filter: brightness(1.07); }
.nxp-btn-ghost { background: #fff; color: var(--nxp-brand) !important; }
.nxp-link { color: var(--nxp-brand); }
.nxp-muted { color: var(--nxp-muted); font-size: 14px; }
.nxp-alert { padding: 11px 14px; border-radius: 10px; margin: 0 0 14px; font-size: 14px; }
.nxp-alert-err { background: #fdecea; color: #b42318; }
.nxp-alert-warn { background: #fff4e0; color: #b45309; }
.nxp-alert-ok { background: #e7f6ec; color: #157f3b; }
.nxp-badge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #eef0ec; }
.nxp-active { background: #e7f6ec; color: #157f3b; }
.nxp-trial { background: #e3f2ef; color: #0f766e; }
.nxp-grace { background: #fff4e0; color: #b45309; }
.nxp-suspended { background: #fdecea; color: #b42318; }
.nxp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-bottom: 16px; }
.nxp-plan { display: flex; flex-direction: column; margin: 0; }
.nxp-plan ul { padding-left: 18px; margin: 8px 0 14px; flex: 1; }
.nxp-plan .nxp-btn { text-align: center; }
.nxp-plan-featured { border: 2px solid var(--nxp-brand); }
.nxp-price { font-size: 32px; font-weight: 800; }
.nxp-price span { font-size: 15px; font-weight: 500; color: var(--nxp-muted); }
.nxp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nxp-table th, .nxp-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--nxp-line); }

/* v1.4 — kad pakej, pilihan gerbang, responsif telefon */
.nxp-plan { position: relative; }
.nxp-ribbon { position: absolute; top: -12px; left: 20px; background: var(--nxp-brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.nxp-save { display: inline-block; margin-top: 2px; font-size: 13px; font-weight: 700; color: #157f3b; background: #e7f6ec; padding: 3px 10px; border-radius: 999px; }
.nxp-ticks { list-style: none; padding: 0 !important; margin: 14px 0 18px !important; flex: 1; }
.nxp-ticks li { position: relative; padding: 4px 0 4px 26px; font-size: 14px; }
.nxp-ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2.5px solid var(--nxp-brand); border-bottom: 2.5px solid var(--nxp-brand); transform: rotate(-45deg); }
.nxp-btn-block { display: block; width: 100%; text-align: center; margin: 0; }
.nxp-center { text-align: center; }
.nxp-gw { border: 1px solid var(--nxp-line); }
.nxp-gw legend { font-weight: 700; padding: 0 6px; }
.nxp-gw-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--nxp-line); border-radius: 10px; margin: 8px 0; cursor: pointer; font-weight: 600; }
.nxp-gw-opt:has(input:checked) { border-color: var(--nxp-brand); background: #e3f2ef; }
.nxp-gw-opt input { width: 18px; height: 18px; accent-color: var(--nxp-brand); }
.nxp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nxp-plans { margin-top: 18px; }
.nxp button.nxp-btn { font-size: 16px; }
@media (max-width: 600px) {
  .nxp-card { padding: 18px; border-radius: 12px; }
  .nxp-plans { grid-template-columns: 1fr; }
  .nxp-price { font-size: 28px; }
  .nxp-form { max-width: none; }
  .nxp-table { font-size: 13px; white-space: nowrap; }
}

/* v1.5 — pemilih bahasa BM | EN */
.nxp-lang { display: inline-flex; align-items: center; border: 1px solid var(--nxp-line, #e2e5e0); border-radius: 999px; padding: 2px; background: #fff; font-size: 13px; line-height: 1; white-space: nowrap; }
.nxp-lang a, .nxp-lang b { display: inline-block; padding: 6px 10px; border-radius: 999px; text-decoration: none !important; font-weight: 700; }
.nxp-lang a { color: #4a5550 !important; }
.nxp-lang a:hover { background: #f4f6f3; }
.nxp-lang b { background: #0f766e; color: #fff; }
.nxp-langrow { display: flex; justify-content: flex-end; margin: 0 0 12px; }
.nxp-simple-nav .nxp-lang a { padding: 6px 10px; }

/* v1.6 — Log Masuk / Daftar: borang + panel gambar */
.nxp-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.nxp-auth-form { min-width: 0; }
.nxp-auth-form .nxp-form { max-width: none; margin: 0; }
.nxp-auth-art { background: linear-gradient(180deg, #e9f5f2 0%, #f6fbf9 100%); border: 1px solid #d5ebe6; border-radius: 18px; padding: 22px 26px 26px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.nxp-auth-img img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; }
.nxp-auth-copy h3 { margin: 6px 0 8px; font-size: 22px; line-height: 1.25; }
.nxp-auth-copy p { margin: 0; color: #4a5550; }
.nxp-auth-steps { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: st; display: grid; gap: 12px; }
.nxp-auth-steps li { position: relative; padding-left: 40px; counter-increment: st; }
.nxp-auth-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #0f766e; color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.nxp-auth-steps b { display: block; }
.nxp-auth-steps span { color: #4a5550; font-size: 14px; }
.nxp-auth-switch { margin-top: 14px !important; }
/* Tablet & telefon: gambar ringkas di atas borang */
@media (max-width: 860px) {
  .nxp-auth { grid-template-columns: 1fr; gap: 16px; }
  .nxp-auth-art { order: -1; flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; }
  .nxp-auth-img { flex: 0 0 38%; max-width: 200px; }
  .nxp-auth-img img { max-height: 150px; }
  .nxp-auth-copy h3 { font-size: 18px; margin: 0 0 4px; }
  .nxp-auth-copy p { font-size: 14px; }
  .nxp-auth-steps { gap: 6px; margin-top: 6px; }
  .nxp-auth-steps span { display: none; }
  .nxp-auth-steps li { padding-left: 30px; font-size: 14px; }
  .nxp-auth-steps li::before { width: 22px; height: 22px; font-size: 12px; }
}
@media (max-width: 520px) {
  .nxp-auth-art { padding: 10px 12px; gap: 12px; }
  .nxp-auth-img { flex: 0 0 112px; }
  .nxp-auth-img img { max-height: 92px; }
  .nxp-auth-copy h3 { font-size: 16px; }
  .nxp-auth-copy p { font-size: 13px; line-height: 1.4; }
  .nxp-auth-steps { display: none; }
}

.nxp-auth-mob { display: none; }
@media (max-width: 520px) { .nxp-auth-mob { display: block; } }
