/* ==========================================================================
   DQ SHOPS — NẠP TIỀN VÀO VÍ (THEME B — 1 THẺ KÍNH CĂN GIỮA TỐI GIẢN 840px)
   ========================================================================== */

body.page-naptien {
  background: #F8FAFC !important;
  color: #0F172A;
  min-height: 100vh;
}

body.page-naptien .page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  background: transparent !important;
}

.nt-shell {
  max-width: 840px;
  margin: 0 auto;
  padding: 26px 18px 68px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Compact Top Bar Above Main Card */
.nt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 4px 2px;
}

.nt-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nt-topbar-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(37, 99, 235, 0.45);
}

.nt-topbar-title {
  margin: 0;
  font-size: 22px;
  font-weight: 850;
  color: #0F172A;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.nt-topbar-sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: #64748B;
  font-weight: 500;
}

.nt-balance-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #BFDBFE;
  box-shadow: 0 6px 18px -8px rgba(37, 99, 235, 0.18);
}

.nt-balance-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.nt-balance-value {
  font-size: 18px;
  font-weight: 900;
  color: #1D4ED8;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.nt-refresh-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #DBEAFE;
  background: #EFF6FF;
  color: #2563EB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.nt-refresh-btn:hover {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
}

.nt-refresh-btn.spinning svg {
  animation: ntSpin 0.8s linear infinite;
}

@keyframes ntSpin {
  to { transform: rotate(360deg); }
}

/* Main Centered Frosted Glass Card */
.nt-glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #E2E8F0;
  border-radius: 22px;
  padding: 24px 26px;
  box-shadow: 0 18px 44px -18px rgba(15, 23, 42, 0.10), 0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

/* Top Pill Channel Switcher */
.nt-channel-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 15px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  margin-bottom: 22px;
}

.nt-channel-tab {
  border: none;
  border-radius: 11px;
  padding: 11px 14px;
  background: transparent;
  color: #475569;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  transition: all 0.2s ease;
}

.nt-channel-tab:hover {
  color: #0F172A;
}

.nt-channel-tab.active {
  background: #FFFFFF;
  color: #1D4ED8;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.nt-channel-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: #E2E8F0;
  color: #475569;
}

.nt-channel-tab.active .nt-channel-badge.is-free {
  background: #DCFCE7;
  color: #15803D;
}

.nt-channel-tab.active .nt-channel-badge.is-auto {
  background: #EFF6FF;
  color: #1D4ED8;
}

/* Slim 3-Step Progress Stepper */
.nt-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid #F1F5F9;
}

.nt-stepper-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #94A3B8;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nt-stepper-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: #64748B;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nt-stepper-item.active {
  color: #1D4ED8;
}

.nt-stepper-item.active .nt-stepper-num {
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.nt-stepper-item.done {
  color: #15803D;
}

.nt-stepper-item.done .nt-stepper-num {
  background: #DCFCE7;
  border-color: #86EFAC;
  color: #15803D;
}

.nt-stepper-line {
  flex: 1;
  max-width: 72px;
  height: 2px;
  border-radius: 999px;
  background: #E2E8F0;
  transition: background 0.25s ease;
}

.nt-stepper-line.done {
  background: linear-gradient(90deg, #16A34A 0%, #2563EB 100%);
}

/* Step Panels */
.nt-step-panel {
  animation: ntStepFadeIn 0.26s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nt-step-panel[hidden] {
  display: none !important;
}

@keyframes ntStepFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   STEP 1: ENTER / SELECT AMOUNT (CLEAN & SPACIOUS)
   ========================================================= */
.nt-step1-wrap {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 6px 0 8px;
}

.nt-step1-lead {
  margin: 0 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: #475569;
}

.nt-big-input-wrap {
  position: relative;
  margin-bottom: 8px;
}

.nt-big-input {
  width: 100%;
  height: 64px;
  padding: 0 74px 0 22px;
  border-radius: 16px;
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  letter-spacing: -0.02em;
  box-sizing: border-box;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.nt-big-input::placeholder {
  color: #CBD5E1;
  font-weight: 700;
}

.nt-big-input:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.nt-big-input::-webkit-outer-spin-button,
.nt-big-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.nt-big-input[type=number] {
  -moz-appearance: textfield;
}

.nt-big-suffix {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  padding: 4px 10px;
  border-radius: 8px;
  background: #F1F5F9;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
  pointer-events: none;
}

.nt-amount-preview {
  min-height: 22px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #64748B;
}

.nt-amount-preview.is-valid {
  color: #1D4ED8;
}

.nt-amount-preview.is-error {
  color: #DC2626;
}

.nt-amount-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.nt-amount-pill {
  padding: 12px 10px;
  border-radius: 13px;
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}

.nt-amount-pill:hover {
  border-color: #60A5FA;
  background: #EFF6FF;
  color: #1D4ED8;
}

.nt-amount-pill.active {
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 8px 18px -6px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.nt-step1-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.nt-btn-secondary {
  height: 48px;
  padding: 0 22px;
  border-radius: 13px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  color: #475569;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.16s ease;
}

.nt-btn-secondary:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.nt-btn-primary {
  height: 48px;
  padding: 0 26px;
  border: none;
  border-radius: 13px;
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 10px 24px -6px rgba(37, 99, 235, 0.46);
  transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.nt-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #1D4ED8 0%, #0891B2 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 14px 28px -6px rgba(37, 99, 235, 0.56);
}

.nt-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* =========================================================
   STEP 2: INVOICE SUMMARY + VIETQR PAYMENT
   ========================================================= */
.nt-invoice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1px solid #DBEAFE;
  margin-bottom: 20px;
}

.nt-btn-back-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}

.nt-btn-back-step:hover {
  border-color: #2563EB;
  color: #1D4ED8;
  background: #EFF6FF;
}

.nt-invoice-center {
  text-align: center;
  flex: 1;
  min-width: 190px;
}

.nt-invoice-amount {
  font-size: 26px;
  font-weight: 900;
  color: #1D4ED8;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.nt-invoice-sub {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-top: 3px;
}

.nt-wait-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
  color: #15803D;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.nt-wait-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16A34A;
  animation: ntPulseDot 1.6s ease-in-out infinite;
}

@keyframes ntPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

.nt-step2-grid {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.nt-qr-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.nt-qr-box {
  width: 252px;
  height: 252px;
  border-radius: 18px;
  border: 1.5px solid #BFDBFE;
  background: #FFFFFF;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px -12px rgba(37, 99, 235, 0.24);
  overflow: hidden;
}

.nt-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.nt-qr-caption {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #64748B;
  text-align: center;
  line-height: 1.45;
}

/* Transfer Info Rows */
.nt-transfer-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nt-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 13px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.nt-info-row.is-content-focus {
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
  border: 2px solid #2563EB;
  padding: 13px 15px;
  box-shadow: 0 10px 22px -12px rgba(37, 99, 235, 0.36);
}

.nt-info-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nt-info-key {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nt-info-key.is-accent {
  color: #1D4ED8;
  font-weight: 800;
}

.nt-info-val {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  word-break: break-word;
}

.nt-info-val.is-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  letter-spacing: 0.03em;
}

.nt-info-val.is-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #1E40AF;
}

.nt-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid #BFDBFE;
  background: #FFFFFF;
  color: #1D4ED8;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.16s ease;
}

.nt-copy-btn:hover {
  background: #2563EB;
  border-color: #2563EB;
  color: #FFFFFF;
}

.nt-copy-btn.copied {
  background: #DCFCE7;
  border-color: #86EFAC;
  color: #15803D;
}

.nt-copy-btn.is-gradient {
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  border-color: transparent;
  color: #FFFFFF;
  padding: 8px 14px;
  box-shadow: 0 6px 14px -4px rgba(37, 99, 235, 0.44);
}

.nt-copy-btn.is-gradient:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #0891B2 100%);
}

.nt-copy-btn.is-gradient.copied {
  background: #16A34A;
  color: #FFFFFF;
  box-shadow: 0 6px 14px -4px rgba(22, 163, 74, 0.4);
}

/* Soft Ice-Blue Auto-Reconciliation Note directly under Transfer Content */
.nt-info-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  border-radius: 12px;
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  font-size: 12.5px;
  line-height: 1.5;
}

.nt-info-note svg {
  color: #2563EB;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Compact amber note (used in Card Topup tab) */
.nt-momo-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 13px;
  border-radius: 12px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
  font-size: 12.5px;
  line-height: 1.5;
}

.nt-momo-note svg {
  color: #D97706;
  flex-shrink: 0;
  margin-top: 2px;
}

.nt-step2-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
  text-align: center;
  font-size: 13px;
  color: #64748B;
  font-weight: 600;
}

.nt-support-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #2563EB;
  font-weight: 800;
  text-decoration: none;
  margin-left: 4px;
}

.nt-support-link:hover {
  text-decoration: underline;
}

/* =========================================================
   STEP 3: SUCCESS SCREEN (AUTO-TRIGGERED ON BALANCE INCREASE)
   ========================================================= */
.nt-step3-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 18px 8px 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.nt-success-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%);
  border: 2px solid #86EFAC;
  color: #16A34A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(22, 163, 74, 0.35);
}

.nt-success-title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.nt-success-amount {
  font-size: 32px;
  font-weight: 900;
  color: #16A34A;
  line-height: 1.1;
}

.nt-success-balance {
  padding: 8px 16px;
  border-radius: 999px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  font-size: 13.5px;
  font-weight: 700;
}

.nt-success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  width: 100%;
}

.nt-btn-outline-blue {
  height: 48px;
  padding: 0 22px;
  border-radius: 13px;
  border: 1.5px solid #BFDBFE;
  background: #FFFFFF;
  color: #1D4ED8;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.16s ease;
}

.nt-btn-outline-blue:hover {
  background: #EFF6FF;
  border-color: #2563EB;
}

/* =========================================================
   TAB 2: CARD TOPUP FORM
   ========================================================= */
.nt-card-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 620px;
  margin: 0 auto;
}

.nt-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nt-field label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.nt-input,
.nt-select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  color: #0F172A;
  font-size: 14px;
  font-weight: 600;
  box-sizing: border-box;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.nt-input:focus,
.nt-select:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.nt-fee-preview {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 16px;
  border-radius: 13px;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1px solid #DBEAFE;
}

.nt-fee-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nt-fee-cell span {
  font-size: 11px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
}

.nt-fee-cell b {
  font-size: 15px;
  font-weight: 900;
  color: #0F172A;
}

.nt-fee-cell b.is-real {
  color: #15803D;
}

.nt-inline-msg {
  display: none;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.nt-inline-msg.show {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nt-inline-msg.success {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
}

.nt-inline-msg.error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

/* =========================================================
   TRANSACTION HISTORY GLASS CARD BELOW
   ========================================================= */
.nt-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.nt-history-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 16.5px;
  font-weight: 850;
  color: #0F172A;
}

.nt-history-title svg {
  color: #2563EB;
}

.nt-btn-refresh-small {
  height: 36px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #475569;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.nt-btn-refresh-small:hover {
  border-color: #93C5FD;
  color: #1D4ED8;
  background: #EFF6FF;
}

.nt-history-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  background: #FFFFFF;
}

.nt-history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

.nt-history-table th {
  background: #F8FAFC;
  color: #475569;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid #E2E8F0;
}

.nt-history-table td {
  padding: 12px 14px;
  font-size: 13px;
  color: #334155;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

.nt-history-table tbody tr:last-child td {
  border-bottom: none;
}

.nt-history-table tbody tr:hover {
  background: #F8FAFC;
}

.nt-tx-amount-plus {
  font-weight: 800;
  color: #15803D;
}

.nt-tx-amount-minus {
  font-weight: 800;
  color: #DC2626;
}

.nt-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
}

.nt-status-completed {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.nt-status-pending {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.nt-status-failed {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Toast Notification */
.nt-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10050;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid #BFDBFE;
  border-left: 4px solid #2563EB;
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 340px;
  transform: translateX(130%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nt-toast.show {
  transform: translateX(0);
}

.nt-toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #EFF6FF;
  color: #2563EB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nt-toast-body strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
}

.nt-toast-body span {
  display: block;
  font-size: 12px;
  color: #475569;
  margin-top: 2px;
}

/* Hide mobile bottom-nav on PC (>= 769px) */
@media (min-width: 769px) {
  body.page-naptien .bottom-nav {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .nt-shell {
    padding: 16px 12px 96px;
    gap: 16px;
  }

  .nt-topbar-title {
    font-size: 19px;
  }

  .nt-glass-card {
    padding: 18px 15px;
    border-radius: 18px;
  }

  .nt-channel-switcher {
    grid-template-columns: 1fr;
  }

  .nt-stepper {
    gap: 6px;
    margin-bottom: 20px;
  }

  .nt-stepper-item span:last-child {
    font-size: 11.5px;
  }

  .nt-stepper-line {
    max-width: 24px;
  }

  .nt-big-input {
    height: 56px;
    font-size: 22px;
    padding: 0 64px 0 14px;
  }

  .nt-amount-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nt-step1-actions {
    flex-direction: column-reverse;
  }

  .nt-step1-actions button {
    width: 100%;
  }

  .nt-invoice-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nt-step2-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .nt-qr-box {
    width: 224px;
    height: 224px;
  }

  .nt-form-grid-2,
  .nt-fee-preview {
    grid-template-columns: 1fr;
  }

  .nt-success-actions {
    flex-direction: column;
  }

  .nt-success-actions a,
  .nt-success-actions button {
    width: 100%;
  }

  .nt-toast {
    bottom: 84px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}
