/* ==========================================================================
   natvps.cc - Exact 1:1 Client & Billing Portal Stylesheet (Paymenter v1)
   Header, Burger Icon, Mobile Drawer & Shared Footer matched pixel-for-pixel
   with https://natvps.cc/styles.css
   ========================================================================== */

:root {
  color-scheme: light !important;
  --brand: #0351FB;
  --brand-hover: #0046DE;
  --brand-50: #F1F5FF;
  --surface-subtle: #F4F6F9;
  --ink: #0B1220;
  --ink-600: #566072;
  --ink-400: #9AA1AE;
  --line: #E6E9EF;
  --green: #15803D;
  --header-home-h: clamp(72px, 10svh, 116px);
  --container-w: min(1280px, calc(100% - 80px));
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --film-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='1.7' intercept='-0.35'/%3E%3CfeFuncG type='linear' slope='1.7' intercept='-0.35'/%3E%3CfeFuncB type='linear' slope='1.7' intercept='-0.35'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #ffffff;
  overflow-x: hidden;
  max-width: 100%;
}

html,
body.nat-portal-body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  background-color: #ffffff !important;
  background-image: radial-gradient(960px 440px at 50% 110px, rgba(3, 81, 251, 0.055), transparent 72%) !important;
  color: var(--ink) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100vw;
}

body.mobile-menu-open {
  overflow: hidden !important;
}

/* Exact 1:1 Container Width & Margins (matches natvps.cc to 0.0px) */
.container,
.nat-container {
  width: var(--container-w) !important;
  max-width: none !important;
  padding-inline: 0 !important;
  margin-inline: auto !important;
}

/* ===========================
   1:1 Header & Navigation (exact copy of natvps.cc styles.css)
   =========================== */
.header {
  position: relative;
  z-index: 40;
  background: #ffffff;
  width: 100%;
}

html {
  scrollbar-gutter: stable;
}

.header-inner,
.header-home .header-inner {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr);
  align-items: center;
  gap: 24px;
  height: var(--header-home-h);
  padding-block: 0;
}

.header-inner > .brand-logo {
  justify-self: start;
}

.header-inner > .desktop-nav {
  justify-self: center;
}

.header-inner > .header-actions {
  justify-self: end;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 6px 0;
  text-decoration: none;
}

.brand-lockup {
  display: block;
  height: 44px;
  width: auto;
}

.brand-lockup--footer {
  height: 38px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 32px);
}

.desktop-nav a {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
  letter-spacing: normal !important;
  color: var(--ink) !important;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.18s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--brand) !important;
  font-weight: 500 !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ===========================
   1:1 Buttons (exact copy of natvps.cc styles.css)
   =========================== */
.btn,
.nat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 28px;
  border: 1px solid transparent;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary,
.nat-btn-primary {
  background-color: var(--brand) !important;
  background-image: linear-gradient(170deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02) 65%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: inset 0 1px 0 rgba(157, 198, 255, 0.36), 0 0 0 1px rgba(3, 81, 251, 0.1);
}

.btn-primary:hover,
.nat-btn-primary:hover {
  background-color: var(--brand-hover) !important;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(157, 198, 255, 0.42), 0 8px 22px rgba(3, 81, 251, 0.24);
}

.btn-ghost,
.nat-btn-ghost {
  background-color: rgba(255, 255, 255, 0.16) !important;
  background-image: linear-gradient(170deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02) 65%) !important;
  color: var(--ink) !important;
  border-color: transparent !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 0 0 1px rgba(87, 110, 151, 0.14);
}

.btn-ghost:hover,
.nat-btn-ghost:hover {
  background-color: rgba(241, 245, 255, 0.72) !important;
  color: var(--ink) !important;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 0 0 1px rgba(87, 110, 151, 0.18);
}

.nat-btn-danger {
  background-color: #FEF3F2 !important;
  background-image: none !important;
  color: #D92D20 !important;
  border: 1px solid #FECDCA !important;
  box-shadow: none !important;
}

.nat-btn-danger:hover {
  background-color: #FEE4E2 !important;
  border-color: #FDA29B !important;
  transform: translateY(-1px);
}

/* Logged-in user pill trigger matching .btn-ghost proportions */
.nat-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px 0 8px;
  border-radius: 28px;
  background-color: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(87, 110, 151, 0.14);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nat-user-pill:hover {
  background-color: rgba(241, 245, 255, 0.8);
  transform: translateY(-1px);
}

/* ===========================
   1:1 Mobile Burger Button & Full-Screen Drawer (exact copy of natvps.cc styles.css)
   =========================== */
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  flex-shrink: 0;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}

.menu-button:hover {
  background: #f6f9ff;
  border-color: rgba(3, 81, 251, 0.26);
}

.menu-button:active {
  transform: scale(0.92);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform-origin: center;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease,
    background-color 0.2s ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-drawer {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 140;
  height: 100dvh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -12px, 0) scale(0.988);
  transform-origin: top center;
  will-change: opacity, transform;
  background:
    radial-gradient(ellipse at 86% 12%, rgba(3, 81, 251, 0.42) 0%, rgba(3, 81, 251, 0.14) 44%, transparent 74%),
    radial-gradient(ellipse at 92% 76%, rgba(3, 81, 251, 0.24) 0%, transparent 62%),
    #ffffff;
  transition:
    opacity 0.28s cubic-bezier(0.32, 0.72, 0, 1),
    transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
    visibility 0s linear 0.32s;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition:
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

@media (min-width: 1101px) {
  .mobile-drawer {
    display: none !important;
  }
}

.mobile-drawer-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 36px;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-home-h, 90px);
  padding-block: 14px;
  margin-bottom: 12px;
}

@media (max-width: 740px) {
  .mobile-drawer-head {
    min-height: 72px;
    padding-block: 14px;
  }
}

.mobile-drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition:
    background-color 0.2s ease,
    transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.68);
}

.mobile-drawer-close:active {
  transform: scale(0.92);
}

.mobile-drawer-close svg {
  transform: rotate(-75deg) scale(0.82);
  opacity: 0.4;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.26s ease;
}

.mobile-drawer.is-open .mobile-drawer-close svg {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(3, 81, 251, 0.14);
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 0.22s cubic-bezier(0.32, 0.72, 0, 1) 0s,
    transform 0.26s cubic-bezier(0.32, 0.72, 0, 1) 0s,
    color 0.18s ease;
}

.mobile-drawer.is-open .mobile-nav a {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.18s ease;
}

.mobile-drawer.is-open .mobile-nav a:nth-child(1) { transition-delay: 0.04s, 0.04s, 0s; }
.mobile-drawer.is-open .mobile-nav a:nth-child(2) { transition-delay: 0.075s, 0.075s, 0s; }
.mobile-drawer.is-open .mobile-nav a:nth-child(3) { transition-delay: 0.11s, 0.11s, 0s; }
.mobile-drawer.is-open .mobile-nav a:nth-child(4) { transition-delay: 0.145s, 0.145s, 0s; }
.mobile-drawer.is-open .mobile-nav a:nth-child(5) { transition-delay: 0.18s, 0.18s, 0s; }
.mobile-drawer.is-open .mobile-nav a:nth-child(6) { transition-delay: 0.215s, 0.215s, 0s; }
.mobile-drawer.is-open .mobile-nav a:nth-child(7) { transition-delay: 0.25s, 0.25s, 0s; }
.mobile-drawer.is-open .mobile-nav a:nth-child(n+8) { transition-delay: 0.28s, 0.28s, 0s; }

.mobile-nav a:hover {
  color: var(--brand);
}

.mobile-nav a.is-active {
  color: var(--brand);
}

.mobile-nav-chevron {
  flex-shrink: 0;
  color: var(--ink);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), color 0.18s ease;
}

.mobile-nav a:hover .mobile-nav-chevron {
  transform: translateX(4px);
  color: var(--brand);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 0.22s cubic-bezier(0.32, 0.72, 0, 1) 0s,
    transform 0.26s cubic-bezier(0.32, 0.72, 0, 1) 0s;
}

.mobile-drawer.is-open .mobile-actions {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.19s,
    transform 0.44s cubic-bezier(0.22, 1, 0.36, 1) 0.19s;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer,
  .mobile-drawer.is-open,
  .mobile-nav a,
  .mobile-drawer.is-open .mobile-nav a,
  .mobile-actions,
  .mobile-drawer.is-open .mobile-actions,
  .mobile-drawer-close svg,
  .menu-button span {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    transform: none !important;
  }
}

.mobile-actions .btn,
.mobile-actions .nat-btn {
  width: 100%;
  min-height: 54px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
}

.mobile-actions .btn-ghost,
.mobile-actions .nat-btn-ghost {
  background-color: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 0 1px rgba(87, 110, 151, 0.14);
}

/* ===========================
   Main Layout (Zero Side Menu!)
   =========================== */
#main-aside {
  display: none !important;
}

.nat-layout-shell {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.nat-main {
  padding-top: 20px !important;
  padding-bottom: 80px !important;
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

/* Sleek Horizontal Sub-Tabs for /account/* (replaces removed vertical sidebar) */
.nat-account-subnav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 auto 24px !important;
  justify-content: center;
  padding: 6px;
  border-radius: 999px;
  background: #F4F7FC;
  border: 1px solid rgba(16, 36, 84, 0.08);
  width: fit-content;
  max-width: 100%;
}

.nat-account-subnav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-600);
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.nat-account-subnav a:hover {
  color: var(--ink);
}

.nat-account-subnav a.is-active {
  background: #ffffff;
  color: var(--brand);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(24, 57, 118, 0.06);
}

/* 2-Column Checkout & Cart Grid */
.nat-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
  width: 100%;
}

.nat-checkout-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.nat-summary-sticky {
  position: sticky;
  top: 28px;
  min-width: 0;
}

/* Crisp Custom Select */
select.nat-select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  display: inline-block !important;
  vertical-align: middle;
  overflow: hidden !important;
  width: 100%;
  height: 48px;
  padding: 10px 44px 10px 16px !important;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 26px !important;
  color: #0B1220 !important;
  background-color: #FFFFFF !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230351FB' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 15px center !important;
  background-size: 18px 18px !important;
  border: 1px solid #CBD6EA !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
  cursor: pointer;
}

select.nat-select::picker-icon {
  display: none !important;
}

select.nat-select:focus {
  border-color: #0351FB !important;
  box-shadow: 0 0 0 4px rgba(3, 81, 251, 0.12) !important;
  outline: none !important;
}

/* Frosted Glass Cards */
.nat-glass-card {
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 248, 255, 0.9) 100%);
  border: 1px solid rgba(3, 81, 251, 0.12);
  box-shadow:
    0 16px 44px rgba(24, 57, 118, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  min-width: 0;
  max-width: 100%;
}

form.bg-primary-800,
div.bg-primary-800 {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 248, 255, 0.9) 100%) !important;
  border: 1px solid rgba(3, 81, 251, 0.13) !important;
  border-radius: 28px !important;
  box-shadow: 0 16px 44px rgba(24, 57, 118, 0.065) !important;
  color: #0B1220 !important;
  padding-top: 2rem;
}

.text-primary-100 {
  color: #0B1220 !important;
}

.nat-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #0351FB !important;
  color: #FFFFFF !important;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
}

.nat-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  background: #F1F5FF;
  border: 1px solid rgba(3, 81, 251, 0.16);
  font-size: 12.5px;
  font-weight: 700;
  color: #0351FB;
  max-width: 100%;
}

.nat-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12B76A;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.2);
  flex-shrink: 0;
}

/* 3-Step Ordering Progress Bar */
.nat-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 36, 84, 0.08);
  box-shadow: 0 6px 20px rgba(24, 57, 118, 0.04);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 28px;
}

.nat-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #8A94A6;
  white-space: nowrap;
  text-decoration: none;
}

.nat-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: #EEF2F8;
  color: #566072;
  flex-shrink: 0;
}

.nat-step.is-active {
  color: #0B1220;
  font-weight: 600;
}

.nat-step.is-active .nat-step-num {
  background: #0351FB;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(3, 81, 251, 0.28);
}

.nat-step.is-done {
  color: #0351FB;
}

.nat-step.is-done .nat-step-num {
  background: rgba(3, 81, 251, 0.12);
  color: #0351FB;
}

.nat-step-line {
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: #E2E8F4;
  flex-shrink: 0;
}

.nat-step-line.is-done {
  background: rgba(3, 81, 251, 0.35);
}

.nat-specs-prose p,
.nat-specs-prose ul {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: #2B364B;
}

.nat-specs-prose ul {
  padding-left: 18px;
  list-style: disc;
}

.nat-specs-prose strong {
  color: #0B1220;
  font-weight: 700;
}

/* ===========================
   1:1 Shared Footer (#contacts - exact copy of natvps.cc styles.css)
   =========================== */
.footer {
  position: relative;
  isolation: isolate;
  border-radius: 64px 64px 0 0;
  border-top: 1px solid rgba(3, 81, 251, 0.12);
  padding: 76px 0 44px;
  background:
    radial-gradient(ellipse 72% 56% at 50% 0%, rgba(3, 81, 251, 0.1), transparent 72%),
    linear-gradient(180deg, #f6f9ff 0%, #eef3fb 100%);
  width: 100%;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: var(--film-grain);
  background-size: 180px 180px;
  mix-blend-mode: overlay;
  opacity: 0.16;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(250px, 310px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-tagline {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.58;
  font-weight: 500;
  color: var(--ink-600);
}

.footer-status {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(16, 36, 84, 0.09);
  box-shadow: 0 2px 10px rgba(24, 57, 118, 0.04);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 16px;
  color: var(--ink);
}

.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.18);
  flex-shrink: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer-col h3 {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--ink);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a,
.footer-col button,
.footer-col span {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink-600);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--brand);
}

.footer-bottom {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(16, 36, 84, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-600);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(3, 81, 251, 0.14);
  font-size: 12.5px;
  font-weight: 600;
  color: #2f456e;
}

.footer-tg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(3, 81, 251, 0.24);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-tg-btn:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(3, 81, 251, 0.3);
}

/* ===========================
   Exact Responsive Breakpoints (1240px, 1100px, 900px, 740px)
   =========================== */
@media (max-width: 1240px) {
  :root {
    --container-w: min(1280px, calc(100% - 48px));
  }
  .footer {
    border-radius: 52px 52px 0 0;
  }
  .footer-top {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
  }
}

@media (max-width: 1100px) {
  .header-inner,
  .header-home .header-inner {
    display: flex;
    justify-content: space-between;
  }
  .desktop-nav,
  .header-actions {
    display: none !important;
  }
  .menu-button {
    display: inline-flex !important;
  }
  .nat-checkout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .nat-summary-sticky {
    position: static;
  }
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-brand {
    max-width: 460px;
  }
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }
}

@media (max-width: 740px) {
  :root {
    --container-w: calc(100% - 40px);
  }
  .header-inner,
  .header-home .header-inner {
    height: auto;
    min-height: 72px;
    padding-block: 14px;
  }
  .brand-lockup {
    height: 38px;
  }
  .brand-lockup--footer {
    height: 36px;
  }
  .nat-main {
    padding-top: 12px !important;
    padding-bottom: 48px !important;
  }
  .nat-glass-card {
    border-radius: 22px;
  }
  .nat-stepper {
    border-radius: 20px;
    padding: 10px 12px;
    gap: 6px 10px;
    margin-bottom: 20px;
    width: 100%;
  }
  .nat-step {
    font-size: 12px;
    gap: 5px;
  }
  .nat-step-num {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
  .nat-step-line {
    display: none;
  }
  .footer {
    border-radius: 32px 32px 0 0;
    padding: 44px 0 32px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    max-width: none;
  }
  .footer-tagline {
    margin-top: 12px;
    font-size: 13.5px;
  }
  .footer-status {
    margin-top: 14px;
    font-size: 12px;
  }
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
    column-gap: 18px;
  }
  .footer-col h3 {
    font-size: 14.5px;
    margin-bottom: 12px;
  }
  .footer-col ul {
    gap: 10px;
  }
  .footer-col a,
  .footer-col button,
  .footer-col span {
    font-size: 14px;
    line-height: 20px;
    overflow-wrap: anywhere;
  }
  .footer-bottom {
    margin-top: 32px;
    padding-top: 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-copy {
    font-size: 12.5px;
    line-height: 1.5;
  }
  .footer-bottom-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* Style Livewire Logout button inside .mobile-actions as an exact 54px full-width frosted .btn-ghost pill */
.mobile-actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 54px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  background-color: rgba(255, 255, 255, 0.62) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 0 0 1px rgba(87, 110, 151, 0.14) !important;
  cursor: pointer;
}


/* ==========================================================================
   Full Client Portal Design System: Semantic Badges, High-Contrast Alerts,
   List Rows, Tables, EasyMDE Editor & Modals
   ========================================================================== */

/* Constrained Page Wrappers (prevents overly wide forms/lists) */
.nat-narrow {
  max-width: 880px;
  width: 100%;
  margin-inline: auto;
}

.nat-medium {
  max-width: 1020px;
  width: 100%;
  margin-inline: auto;
}

/* Semantic Status Pills (AAA High Contrast on Light Surfaces) */
.nat-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}

.nat-status-pill--success {
  background: #ECFDF3;
  color: #067647;
  border: 1px solid #ABEFC6;
}

.nat-status-pill--warning {
  background: #FFFAEB;
  color: #B54708;
  border: 1px solid #FEDF89;
}

.nat-status-pill--danger {
  background: #FEF3F2;
  color: #B42318;
  border: 1px solid #FECDCA;
}

.nat-status-pill--info {
  background: #EFF4FF;
  color: #0351FB;
  border: 1px solid rgba(3, 81, 251, 0.22);
}

.nat-status-pill--neutral {
  background: #F2F4F7;
  color: #475467;
  border: 1px solid #E4E7EC;
}

/* High-Contrast Alert Banners */
.nat-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 20px;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
}

.nat-alert--warning {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FCD34D;
  color: #78350F !important;
  box-shadow: 0 6px 20px rgba(180, 83, 9, 0.06);
}

.nat-alert--danger {
  background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
  border: 1px solid #FCA5A5;
  color: #7F1D1D !important;
}

.nat-alert--success {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid #6EE7B7;
  color: #064E3B !important;
}

/* Interactive List Row Cards (Services, Invoices, Tickets, Widgets) */
.nat-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 36, 84, 0.09);
  box-shadow: 0 4px 16px rgba(24, 57, 118, 0.035);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s var(--ease-out), border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.nat-list-row:hover {
  transform: translateY(-2px);
  border-color: rgba(3, 81, 251, 0.34);
  background: #FFFFFF;
  box-shadow: 0 12px 28px rgba(24, 57, 118, 0.075);
}

.nat-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #F1F5FF;
  border: 1px solid rgba(3, 81, 251, 0.14);
  color: #0351FB;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Clean Key-Value Spec Rows */
.nat-kv-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nat-kv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(16, 36, 84, 0.07);
  font-size: 14.5px;
}

.nat-kv-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.nat-kv-label {
  color: var(--ink-600);
  font-weight: 500;
}

.nat-kv-val {
  color: var(--ink);
  font-weight: 600;
  text-align: right;
}

/* Header Action Icon Circle (Cart & Notifications) */
.nat-icon-circle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 0 1px rgba(87, 110, 151, 0.14);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.nat-icon-circle:hover {
  background: #F1F5FF;
  color: var(--brand);
  transform: translateY(-1px);
}

.nat-icon-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: #0351FB;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

/* Crisp Data Tables (Invoices & Notifications) */
.nat-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.nat-table thead th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-400);
  background: #F8FAFF;
  border-bottom: 1px solid rgba(16, 36, 84, 0.09);
}

.nat-table thead th:first-child {
  border-top-left-radius: 14px;
}

.nat-table thead th:last-child {
  border-top-right-radius: 14px;
}

.nat-table tbody td {
  padding: 15px 16px;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px solid rgba(16, 36, 84, 0.07);
}

.nat-table tbody tr:last-child td {
  border-bottom: 0;
}

/* EasyMDE Markdown Editor Light-Theme Polish */
.EasyMDEContainer .editor-toolbar {
  background: #F8FAFF !important;
  border: 1px solid #CBD6EA !important;
  border-bottom: 0 !important;
  border-radius: 16px 16px 0 0 !important;
  padding: 8px 10px !important;
}

.EasyMDEContainer .editor-toolbar button {
  color: #344054 !important;
  border-radius: 8px !important;
}

.EasyMDEContainer .editor-toolbar button:hover,
.EasyMDEContainer .editor-toolbar button.active {
  background: #E8F0FF !important;
  border-color: rgba(3, 81, 251, 0.25) !important;
  color: #0351FB !important;
}

.EasyMDEContainer .CodeMirror {
  background: #FFFFFF !important;
  color: #0B1220 !important;
  border: 1px solid #CBD6EA !important;
  border-radius: 0 0 16px 16px !important;
  padding: 10px 12px !important;
  min-height: 190px !important;
  font-family: "Manrope", -apple-system, sans-serif !important;
  font-size: 15px !important;
}

.EasyMDEContainer .CodeMirror-focused {
  border-color: #0351FB !important;
  box-shadow: 0 0 0 4px rgba(3, 81, 251, 0.1) !important;
}


/* ==========================================================================
   Exact 1:1 Subpage Intro (.catalog-intro) & Soft Rounded Shell (.portal-shell)
   Matches https://natvps.cc/vps and https://natvps.cc/dedicated to 0.0px
   ========================================================================== */
html,
body.nat-portal-body {
  background: #ffffff !important;
  background-image: none !important;
}

.nat-main {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.portal-intro {
  padding: 48px 0 40px;
  background: #ffffff;
}

.portal-intro-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.portal-intro h1 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.portal-intro p {
  margin: 16px 0 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink-600);
}

.portal-shell {
  position: relative;
  isolation: isolate;
  border-radius: 96px 96px 0 0;
  padding: 56px 0 88px;
  background:
    radial-gradient(ellipse 80% 55% at 80% 0%, rgba(3, 81, 251, 0.12), transparent 72%),
    linear-gradient(180deg, #F6F9FF 0%, #FFFFFF 100%);
  border-top: 1px solid rgba(3, 81, 251, 0.08);
}

/* Non-intro pages (login, register, checkout, cart, detail pages) get clean top/bottom spacing */
.portal-page-body {
  padding: 28px 0 84px;
  background:
    radial-gradient(ellipse 80% 45% at 50% 0%, rgba(3, 81, 251, 0.07), transparent 70%),
    #ffffff;
}

@media (max-width: 740px) {
  .portal-intro {
    padding: 28px 0;
  }

  .portal-intro-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .portal-intro h1 {
    font-size: 34px !important;
    line-height: 38px !important;
    font-weight: 700 !important;
    letter-spacing: -0.85px !important;
  }

  .portal-intro p {
    font-size: 15px !important;
    line-height: 24px !important;
    margin-top: 12px !important;
  }

  .portal-intro-cta {
    width: 100%;
  }

  .portal-intro-cta .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .portal-shell {
    border-radius: 36px 36px 0 0;
    padding: 32px 0 56px;
  }

  .portal-page-body {
    padding: 16px 0 56px;
  }
}

.nat-main > .nat-container:first-child { padding-top: 24px; }
.nat-main > .nat-container:last-child { padding-bottom: 72px; }
@media (max-width: 740px) { .nat-main > .nat-container:first-child { padding-top: 16px; } .nat-main > .nat-container:last-child { padding-bottom: 48px; } }


/* ==========================================================================
   v10 Polish: Custom Frosted Select Dropdowns, Radio Upsell Cards,
   Polished Header User Dropdown & Logout, and Spam Awareness Callout
   ========================================================================== */

/* Elevate parent card stacking context whenever a custom select inside it is open */
.nat-glass-card:has(.nat-select-wrap.is-open),
form:has(.nat-select-wrap.is-open) {
  position: relative;
  z-index: 45;
}

.nat-select-wrap {
  position: relative;
}

.nat-select-wrap.is-open {
  z-index: 60;
}

.nat-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 15px 10px 16px;
  border-radius: 14px;
  border: 1px solid #CBD6EA;
  background: #FFFFFF;
  color: #0B1220;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.nat-select-btn:hover:not(.is-disabled) {
  border-color: #9BB0D6;
  background: #FCFDFF;
}

.nat-select-btn.is-active,
.nat-select-btn:focus-visible {
  border-color: #0351FB;
  box-shadow: 0 0 0 4px rgba(3, 81, 251, 0.12);
  outline: none;
}

.nat-select-btn.is-disabled {
  background: #F4F6F9;
  color: #8A94A6;
  cursor: not-allowed;
}

.nat-select-chevron {
  color: #0351FB;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.nat-select-menu {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  z-index: 90;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(16, 36, 84, 0.11);
  box-shadow:
    0 20px 48px rgba(16, 36, 84, 0.14),
    0 4px 12px rgba(3, 81, 251, 0.06);
}

.nat-select-scroll {
  max-height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nat-select-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 13px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: #0B1220;
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.nat-select-opt:hover:not(.is-opt-disabled) {
  background: #F1F5FF;
  color: #0351FB;
}

.nat-select-opt.is-selected {
  background: #EFF4FF;
  color: #0351FB;
  font-weight: 700;
}

.nat-select-opt.is-opt-disabled {
  color: #98A2B3;
  cursor: not-allowed;
}

/* Interactive Radio Upsell Cards */
.nat-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid #CBD6EA;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.nat-radio-card:hover {
  border-color: rgba(3, 81, 251, 0.45);
  background: #FAFCFF;
}

.nat-radio-card.is-selected,
.nat-radio-card:has(input:checked) {
  border-color: #0351FB;
  background: #F4F8FF;
  box-shadow: 0 0 0 3px rgba(3, 81, 251, 0.1);
}

/* Header User Dropdown Menu Links & Clean Logout Row */
.nat-dropdown-panel a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px !important;
  border-radius: 11px;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35;
  color: #1D2939;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nat-dropdown-panel a:hover {
  background: #F1F5FF;
  color: #0351FB !important;
}

.nat-dropdown-panel a.text-primary {
  background: #EFF4FF;
  color: #0351FB !important;
}

.nat-logout-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 11px;
  border: 0;
  background: transparent;
  color: #D92D20;
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nat-logout-btn:hover {
  background: #FEF3F2;
  color: #B42318;
}

/* Friendly Spam / Junk Awareness Info Callout */
.nat-spam-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #F5F8FF;
  border: 1px solid rgba(3, 81, 251, 0.16);
  color: #475467;
  font-size: 12.75px;
  line-height: 1.55;
}

.nat-spam-tip strong {
  color: #0B1220;
  font-weight: 700;
}


/* ==========================================================================
   v13 Flagship Container Control Panel Design System (.nat-cp-*)
   Zero reliance on uncompiled Tailwind JIT classes; pixel-locked Desktop + Mobile
   ========================================================================== */

.nat-service-wrap {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.nat-cp-root {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  min-width: 0;
}

.nat-cp-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
}

/* Header: Icon + Title + Status Pill on left, Power Controls on right */
.nat-cp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(16, 36, 84, 0.09);
}

.nat-cp-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.nat-cp-brand-text {
  min-width: 0;
}

.nat-cp-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nat-cp-heading {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0B1220;
}

.nat-cp-meta {
  margin: 4px 0 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #566072;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.nat-cp-meta strong {
  color: #0B1220;
  font-weight: 700;
}

.nat-cp-dot-danger {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D92D20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.18);
  flex-shrink: 0;
}

/* Power Buttons Strip */
.nat-cp-power {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.nat-cp-pwr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.nat-cp-pwr-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.nat-cp-pwr-btn--start {
  background: #FFFFFF;
  border: 1px solid #CFD9EC;
  color: #0B1220;
}

.nat-cp-pwr-btn--start svg {
  color: #15803D;
}

.nat-cp-pwr-btn--start:hover:not(:disabled) {
  background: #F0FDF4;
  border-color: #86EFAC;
  transform: translateY(-1px);
}

.nat-cp-pwr-btn--restart {
  background: #FFFFFF;
  border: 1px solid #CFD9EC;
  color: #0B1220;
}

.nat-cp-pwr-btn--restart svg {
  color: #0351FB;
}

.nat-cp-pwr-btn--restart:hover:not(:disabled) {
  background: #EFF5FF;
  border-color: #93B8FF;
  transform: translateY(-1px);
}

.nat-cp-pwr-btn--stop {
  background: #FFF5F5;
  border: 1px solid #FECACA;
  color: #C81E1E;
}

.nat-cp-pwr-btn--stop:hover:not(:disabled) {
  background: #FEE2E2;
  border-color: #FCA5A5;
  transform: translateY(-1px);
}

.nat-cp-refresh-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #CFD9EC;
  background: #FFFFFF;
  color: #344054;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.nat-cp-refresh-btn:hover:not(:disabled) {
  background: #EFF5FF;
  border-color: #93B8FF;
  color: #0351FB;
}

/* 4-Tab Segmented Capsule (Single-Line on Desktop, 2x2 Bento Grid on Mobile) */
.nat-cp-tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: #EEF3FC;
  border: 1px solid rgba(16, 36, 84, 0.08);
  width: fit-content;
  max-width: 100%;
}

.nat-cp-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #566072;
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.nat-cp-tab:hover:not(.is-active) {
  color: #0B1220;
  background: rgba(255, 255, 255, 0.55);
}

.nat-cp-tab.is-active {
  background: #FFFFFF;
  color: #0351FB;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(16, 36, 84, 0.08);
}

.nat-cp-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  background: #DCE7FA;
  color: #344054;
}

.nat-cp-tab.is-active .nat-cp-tab-count {
  background: #EAF1FF;
  color: #0351FB;
}

/* 2-Column Bento Cards Grid */
.nat-cp-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  width: 100%;
}

.nat-cp-subcard {
  background: #FFFFFF;
  border: 1px solid #DCE6F8;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(16, 36, 84, 0.035);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Elevate subcard when frosted select dropdown inside it opens */
.nat-cp-subcard:has(.nat-select-wrap.is-open) {
  position: relative;
  z-index: 50;
}

.nat-cp-subcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.nat-cp-kicker {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0351FB;
}

.nat-cp-badge-sm {
  padding: 3px 10px !important;
  font-size: 11.5px !important;
}

/* Credential Chips (Host / Port / Username & Primary IPv6 / Gateway) */
.nat-cp-chips-3 {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.86fr) minmax(0, 0.86fr);
  gap: 10px;
}

.nat-cp-chips-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nat-cp-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #F6F9FF;
  border: 1px solid #D5E0F5;
  min-width: 0;
}

.nat-cp-chip-text {
  min-width: 0;
  flex: 1 1 auto;
}

.nat-cp-chip-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #566072;
  margin-bottom: 2px;
}

.nat-cp-chip-val {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #0B1220;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

.nat-cp-mini-copy {
  flex-shrink: 0;
  height: 26px;
  padding: 0 9px;
  border-radius: 8px;
  border: 1px solid #CFD9EC;
  background: #FFFFFF;
  color: #0351FB;
  font-family: "Manrope", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nat-cp-mini-copy:hover {
  background: #EEF4FF;
  border-color: #93B8FF;
}

/* Field & Codebar Rows */
.nat-cp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.nat-cp-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.nat-cp-field-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #475467;
}

.nat-cp-label-hint {
  font-weight: 500;
  color: #8A94A6;
}

.nat-cp-link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  color: #0351FB;
  font-family: "Manrope", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.nat-cp-link-btn:hover {
  text-decoration: underline;
}

.nat-cp-codebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 7px 9px 7px 14px;
  border-radius: 14px;
  background: #F6F9FF;
  border: 1px solid #CFDDF5;
  min-width: 0;
}

.nat-cp-codebar-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  font-weight: 700;
  color: #0B1220;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

.nat-cp-codebar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.nat-cp-btn-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nat-cp-copy-solid {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 32px;
  padding: 0 13px;
  border-radius: 9px;
  border: 0;
  background: #0351FB;
  color: #FFFFFF;
  font-family: "Manrope", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.nat-cp-copy-solid:hover {
  background: #0044D6;
}

.nat-cp-copy-soft {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid #C9DBFF;
  background: #EAF2FF;
  color: #0351FB;
  font-family: "Manrope", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.nat-cp-copy-soft:hover {
  background: #DCE8FF;
}

.nat-cp-copy-ghost {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 11px;
  border-radius: 9px;
  border: 1px solid #CFD9EC;
  background: #FFFFFF;
  color: #344054;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.nat-cp-copy-ghost:hover {
  background: #F1F5FF;
}

.nat-cp-muted-placeholder {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #8A94A6;
}

/* Password Reset Inline Drawer */
.nat-cp-drawer {
  margin-top: 6px;
  padding: 14px;
  border-radius: 16px;
  background: #F8FAFF;
  border: 1px solid #DCE6FA;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nat-cp-drawer-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 20 Usable Ports Strip & Extra IPv6 Hint */
.nat-cp-port-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 10px 14px;
  border-radius: 14px;
  background: #F6F9FF;
  border: 1px solid #D5E0F5;
}

.nat-cp-port-strip-info {
  min-width: 0;
}

.nat-cp-port-strip-val {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  font-weight: 700;
  color: #0B1220;
}

.nat-cp-hint {
  padding: 9px 12px;
  border-radius: 12px;
  background: #F8FAFF;
  border: 1px dashed #CFD9EC;
  font-size: 12px;
  line-height: 1.5;
  color: #566072;
  word-break: break-word;
}

.nat-cp-hint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  color: #0B1220;
  user-select: all;
}

/* 3-Column Live Resource Telemetry Strip */
.nat-cp-metrics-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.nat-cp-metric-card {
  background: #FFFFFF;
  border: 1px solid #E1E8F5;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(16, 36, 84, 0.025);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.nat-cp-metric-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.nat-cp-metric-label {
  font-size: 13px;
  font-weight: 700;
  color: #566072;
}

.nat-cp-metric-val {
  font-size: 13.5px;
  font-weight: 800;
  color: #0B1220;
  white-space: nowrap;
}

.nat-cp-bar-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #EAF0FC;
  overflow: hidden;
}

.nat-cp-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0351FB 0%, #3B82F6 100%);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nat-cp-metric-sub {
  font-size: 12px;
  color: #8A94A6;
}

/* Info Box, Forms & Exact 48px Input Controls */
.nat-cp-info-box {
  background: #F5F8FF;
  border: 1px solid #DCE6FA;
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nat-cp-info-head {
  font-size: 14px;
  font-weight: 700;
  color: #0B1220;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.nat-cp-info-box p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: #475467;
}

.nat-cp-info-box code {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 7px;
  background: #FFFFFF;
  border: 1px solid #CBD6EA;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  color: #0351FB;
}

.nat-cp-form-title {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: #0B1220;
}

.nat-cp-form-ports {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.nat-cp-form-domains {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.nat-cp-form-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

input.nat-cp-input {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 10px 15px !important;
  border-radius: 14px !important;
  border: 1px solid #CBD6EA !important;
  background-color: #FFFFFF !important;
  color: #0B1220 !important;
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 24px !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
  box-sizing: border-box !important;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

input.nat-cp-input.nat-cp-input--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

input.nat-cp-input:focus {
  border-color: #0351FB !important;
  box-shadow: 0 0 0 4px rgba(3, 81, 251, 0.12) !important;
  outline: none !important;
}

input.nat-cp-input:disabled {
  background-color: #F4F6F9 !important;
  color: #8A94A6 !important;
  cursor: not-allowed;
}

.nat-cp-submit-btn {
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 22px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.nat-cp-submit-btn--full {
  width: 100%;
}

/* Tables & Empty States */
.nat-cp-table-card {
  background: #FFFFFF;
  border: 1px solid #E1E8F5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(16, 36, 84, 0.025);
}

.nat-cp-th-right,
.nat-cp-td-right {
  text-align: right !important;
}

.nat-cp-mono-strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  color: #0B1220;
}

.nat-cp-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #344054;
}

.nat-cp-mono-brand {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  color: #0351FB;
}

.nat-cp-muted-cell {
  font-size: 13.5px;
  color: #566072;
}

.nat-cp-active-tag {
  font-size: 12.5px;
  font-weight: 700;
  color: #15803D;
}

.nat-cp-sys-tag {
  font-size: 12.5px;
  font-weight: 600;
  color: #8A94A6;
}

.nat-cp-danger-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: #D92D20;
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.nat-cp-danger-link:hover {
  text-decoration: underline;
}

.nat-cp-domain-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #0351FB;
  text-decoration: none;
  word-break: break-all;
}

.nat-cp-domain-link:hover {
  text-decoration: underline;
}

.nat-cp-empty {
  padding: 36px 20px;
  text-align: center;
}

.nat-cp-empty-title {
  font-size: 15px;
  font-weight: 800;
  color: #0B1220;
}

.nat-cp-empty-sub {
  margin: 6px auto 0;
  max-width: 440px;
  font-size: 13.5px;
  color: #566072;
}

/* Rebuild OS Controls & Banners */
.nat-cp-rebuild-select {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nat-cp-check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #F8FAFF;
  border: 1px solid #DCE6FA;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  font-weight: 600;
  color: #0B1220;
}

.nat-cp-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #0351FB;
  flex-shrink: 0;
}

.nat-cp-danger-btn {
  min-height: 48px !important;
  padding: 0 26px !important;
  border-radius: 999px !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
}

.nat-cp-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 18px;
}

.nat-cp-banner--success {
  background: #ECFDF3;
  border: 1px solid #86EFAC;
  color: #065F46;
}

.nat-cp-banner-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nat-cp-banner-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #064E3B;
}

.nat-cp-banner-sub {
  font-size: 13.5px;
  color: #065F46;
  margin-top: 2px;
}

.nat-cp-banner-sub code {
  padding: 2px 8px;
  border-radius: 7px;
  background: #FFFFFF;
  border: 1px solid #6EE7B7;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  color: #064E3B;
  user-select: all;
}

.nat-cp-state-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 24px;
  border-radius: 22px;
  background: #F6F9FF;
  border: 1px solid #DCE6FA;
}

.nat-cp-state-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 360px;
}

.nat-cp-state-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nat-cp-subtext {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #566072;
}

.nat-cp-alert-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.nat-cp-alert-inner svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.nat-cp-alert-title {
  font-size: 14.5px;
  font-weight: 800;
}

.nat-cp-alert-desc {
  font-size: 13.5px;
  line-height: 1.55;
  margin-top: 2px;
}

/* ==========================================================================
   Responsive Breakpoints (Tablet <= 940px & Mobile <= 680px)
   ========================================================================== */

@media (max-width: 940px) {
  .nat-cp-grid-2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .nat-cp-form-ports {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nat-cp-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    border-radius: 18px;
    width: 100%;
  }

  .nat-cp-tab {
    width: 100%;
    height: 42px;
    padding: 0 10px;
    border-radius: 13px;
    font-size: 13px;
  }

  .nat-cp-metrics-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .nat-cp-form-domains {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .nat-service-wrap .nat-glass-card {
    padding: 20px 16px !important;
    border-radius: 22px;
  }

  .nat-cp-header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .nat-cp-power {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 40px;
    gap: 8px;
    width: 100%;
  }

  .nat-cp-pwr-btn {
    padding: 0 8px;
    font-size: 13px;
  }

  .nat-cp-subcard {
    padding: 16px;
    border-radius: 18px;
  }

  .nat-cp-chips-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nat-cp-chip--host {
    grid-column: 1 / -1;
  }

  .nat-cp-chips-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nat-cp-codebar {
    flex-wrap: wrap;
    padding: 10px 12px;
    gap: 8px;
  }

  .nat-cp-codebar-text {
    width: 100%;
    white-space: normal;
    word-break: break-all;
  }

  .nat-cp-codebar-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .nat-cp-port-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .nat-cp-drawer-row {
    flex-direction: column;
    align-items: stretch;
  }

  .nat-cp-form-ports {
    grid-template-columns: minmax(0, 1fr);
  }

  .nat-cp-danger-btn {
    width: 100%;
  }

  /* Transform Wide Tables into Crisp Stacked Mobile Cards (0px Horizontal Scroll!) */
  .nat-cp-rtable thead {
    display: none;
  }

  .nat-cp-rtable,
  .nat-cp-rtable tbody,
  .nat-cp-rtable tr,
  .nat-cp-rtable td {
    display: block;
    width: 100%;
  }

  .nat-cp-rtable tr {
    padding: 12px 14px;
    border-bottom: 1px solid #E6EDF8;
  }

  .nat-cp-rtable tr:last-child {
    border-bottom: 0;
  }

  .nat-cp-rtable td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0 !important;
    border: 0 !important;
    text-align: right !important;
    font-size: 13px;
  }

  .nat-cp-rtable td::before {
    content: attr(data-label);
    font-family: "Manrope", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #667085;
    text-align: left;
    flex-shrink: 0;
  }
}

/* v14 Precision Micro-Polish: Clickable Top-Header Chips, Full IPv6 Bars, Non-Shrinking Tab Icons, Unbroken SSH Command */
.nat-cp-tab svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

.nat-cp-tab-mobile {
  display: none;
}

.nat-cp-chip--clickable {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #F6F9FF;
  border: 1px solid #D5E0F5;
  text-align: left;
  cursor: pointer;
  width: 100%;
  min-width: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.nat-cp-chip--clickable:hover {
  background: #EDF4FF;
  border-color: #93B8FF;
  transform: translateY(-1px);
}

.nat-cp-chip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}

.nat-cp-chip--clickable .nat-cp-chip-label {
  margin: 0;
  white-space: nowrap;
}

.nat-cp-chip-act {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #0351FB;
  background: #FFFFFF;
  border: 1px solid #CFD9EC;
  border-radius: 6px;
  padding: 1px 6px;
  line-height: 1.35;
  flex-shrink: 0;
}

.nat-cp-ipv6-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nat-cp-ipv6-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px 9px 14px;
  border-radius: 14px;
  background: #F6F9FF;
  border: 1px solid #D5E0F5;
  min-width: 0;
}

.nat-cp-ipv6-full {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #0B1220;
  word-break: break-all;
  user-select: all;
}

.nat-cp-info-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 680px) {
  .nat-cp-brand {
    align-items: flex-start;
  }

  .nat-cp-tab {
    font-size: 12.5px;
    gap: 6px;
    padding: 0 8px;
  }

  .nat-cp-tab svg {
    width: 15px !important;
    height: 15px !important;
  }

  .nat-cp-tab-desktop {
    display: none;
  }

  .nat-cp-tab-mobile {
    display: inline;
  }

  .nat-cp-codebar-text {
    font-size: 12.5px;
    word-break: normal !important;
    overflow-wrap: anywhere;
  }

  .nat-cp-ipv6-row {
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  .nat-cp-ipv6-full {
    font-size: 12.25px;
  }
}

/* ==========================================================================
   v16 Checkout Mobile Fixes:
   1. Eliminate <fieldset> UA min-width: min-content overflow on long select options (1TB/2TB/4TB)
      and wrap long selected labels cleanly inside the button on mobile so price is never cut off
   2. Crisp 3-column mobile stepper without duplicate numbers or text overlap
   3. Clean mobile/desktop package title + price alignment (.nat-plan-hero-head)
   ========================================================================== */

fieldset,
.nat-select-wrap {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
}

.nat-select-wrap > div {
  min-width: 0 !important;
  max-width: 100% !important;
}

.nat-select-btn {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  min-height: 48px;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  overflow: hidden;
}

.nat-select-btn > span {
  min-width: 0 !important;
  flex: 1 1 0% !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
  text-align: left;
  line-height: 1.35;
  display: block;
}

.nat-select-menu {
  max-width: 100% !important;
}

.nat-select-opt {
  align-items: flex-start;
}

.nat-select-opt > span {
  min-width: 0 !important;
  flex: 1 1 0% !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

/* Package Title + Price Alignment on Checkout */
.nat-plan-hero-head {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(16, 36, 84, 0.1);
}

.nat-plan-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.nat-plan-hero-title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #0B1220;
  min-width: 0;
  flex: 1 1 auto;
}

.nat-plan-hero-price {
  text-align: right;
  flex-shrink: 0;
}

.nat-plan-hero-amount {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0351FB;
}

.nat-plan-hero-term {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #566072;
}

.nat-plan-hero-sub {
  margin: 10px 0 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #566072;
}

@media (max-width: 580px) {
  .nat-stepper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 4px !important;
    padding: 6px !important;
    border-radius: 18px !important;
    width: 100% !important;
    margin-bottom: 18px !important;
  }

  .nat-step-line {
    display: none !important;
  }

  .nat-step {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 4px !important;
    padding: 7px 4px !important;
    border-radius: 13px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    min-width: 0 !important;
    white-space: normal !important;
  }

  .nat-step > span:last-child {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  .nat-step.is-active {
    background: rgba(3, 81, 251, 0.08);
  }

  .nat-step-num {
    width: 21px !important;
    height: 21px !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
  }

  .nat-plan-hero-title {
    font-size: 26px;
  }

  .nat-plan-hero-amount {
    font-size: 25px;
  }

  .nat-plan-hero-sub {
    font-size: 13.5px;
    margin-top: 8px;
  }
}

/* Updated Footer Contact Rows & Official SVG Payment Marks (v=18) */
.footer-contacts {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-contact-row {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.45;
}
.footer-contact-label {
  font-weight: 700;
  color: #0B1220;
}
.footer-contact-row a {
  font-weight: 500;
  color: #566072;
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-contact-row a:hover {
  color: #0351FB;
}
.footer-payments {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.footer-pay-pill {
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 36, 84, 0.09);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.footer-pay-pill svg {
  width: auto;
  display: block;
  overflow: visible;
}

/* ==========================================================================
   2-Card Split Auth Layout + Live 3D WebGL Optical Highway Showcase (v=23)
   ========================================================================== */
.nat-auth-wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 20px 40px;
}

.nat-auth-split {
  display: grid;
  grid-template-columns: minmax(400px, 480px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.nat-auth-split--wide {
  grid-template-columns: minmax(460px, 545px) minmax(0, 1fr);
  align-items: start;
}

.nat-auth-split--wide .nat-auth-visual-card {
  position: sticky;
  top: 96px;
  min-height: 580px;
  height: min(650px, calc(100vh - 120px));
}

.nat-auth-form-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(16, 36, 84, 0.08);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 14px 40px rgba(16, 36, 84, 0.055);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nat-auth-form-card .nat-input {
  height: 46px;
  min-height: 46px;
  padding: 0 14px;
  font-size: 14.5px;
}

.nat-auth-form-card .nat-select-btn {
  height: 46px !important;
  min-height: 46px !important;
  padding: 0 14px !important;
  font-size: 14.5px;
  font-weight: 500;
}

.nat-auth-form-card .nat-select-btn > span {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.nat-auth-visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 540px;
  border: 0 !important;
  outline: none;
  box-shadow: 0 18px 46px rgba(16, 36, 84, 0.08);
  background: #DCE9FF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 34px 34px;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.nat-auth-flow-canvas {
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  display: block;
  z-index: 0;
  pointer-events: none;
}

.nat-auth-visual-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(3, 81, 251, 0.042) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 81, 251, 0.042) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 85% 60% at 50% 22%, #000 18%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 60% at 50% 22%, #000 18%, transparent 78%);
}

.nat-auth-visual-top {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.nat-auth-visual-title {
  font-size: clamp(28px, 2.75vw, 35px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #0B1220;
  margin: 0;
}

.nat-auth-visual-title span {
  color: #0351FB;
}

.nat-auth-visual-sub {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.58;
  font-weight: 500;
  color: #3E4C63;
  max-width: 460px;
}

.nat-auth-visual-bottom {
  position: relative;
  z-index: 2;
  margin-top: 32px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(11, 28, 68, 0.10);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr) 1px minmax(0, 1fr);
  column-gap: 16px;
  align-items: stretch;
}

.nat-auth-stat-sep {
  width: 1px;
  background: rgba(16, 36, 84, 0.10);
  align-self: stretch;
}

.nat-auth-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.nat-auth-stat strong {
  font-size: 13px;
  font-weight: 800;
  color: #0B1220;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nat-auth-stat strong svg {
  color: #0351FB;
  flex-shrink: 0;
}

.nat-auth-stat span {
  font-size: 11.5px;
  line-height: 1.38;
  font-weight: 500;
  color: #566072;
}

@media (max-width: 1020px) {
  .nat-auth-wrap {
    max-width: 560px;
    padding: 8px 16px 28px;
  }
  .nat-auth-split,
  .nat-auth-split--wide {
    grid-template-columns: 1fr;
  }
  .nat-auth-visual-card {
    display: none;
  }
  .nat-auth-form-card {
    padding: 28px 22px;
    border-radius: 24px;
  }
}

.footer-brand .footer-tg-btn {
  margin-top: 16px;
}

.footer-socials {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 36, 84, 0.10);
  color: #475467;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.footer-social-link:hover {
  color: #0B1220;
  background: #FFFFFF;
  border-color: rgba(16, 36, 84, 0.22);
  transform: translateY(-1px);
}

/* =========================================================================
   1-Click App Quick-Start, QR Code & Rebuild Grid Styles (v24)
   ========================================================================= */
.nat-app-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-color: rgba(3, 81, 251, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 255, 0.92) 100%);
}

.nat-app-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.nat-app-head-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  flex: 1 1 300px;
}

.nat-app-head-copy {
  min-width: 0;
}

.nat-app-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #0B1220;
  line-height: 1.25;
}

.nat-app-sub {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #566072;
}

.nat-app-head-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.nat-app-vpn-grid {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 820px) {
  .nat-app-vpn-grid {
    grid-template-columns: 1fr;
  }
}

.nat-app-qr-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nat-app-qr-frame {
  background: #FFFFFF;
  border: 1px solid rgba(16, 36, 84, 0.12);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(11, 28, 68, 0.06);
}

.nat-app-qr-frame svg {
  width: 100%;
  max-width: 206px;
  height: auto;
  display: block;
}

.nat-app-qr-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nat-app-btn-flex {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nat-app-info-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.nat-app-cred-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nat-app-cred-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.nat-app-cred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 36, 84, 0.09);
}

.nat-app-cred-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.nat-app-cred-val {
  font-size: 13px;
  font-weight: 700;
  color: #0B1220;
  word-break: break-all;
}

.nat-app-conf-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nat-app-pre {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #0B1220;
  color: #E2E8F0;
  font-size: 12.5px;
  line-height: 1.55;
  overflow-x: auto;
  max-height: 240px;
}

.nat-app-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #475467;
}

.nat-cp-rebuild-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 720px) {
  .nat-cp-rebuild-grid {
    grid-template-columns: 1fr;
  }
}

.nat-app-rebuild-hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #475467;
}

/* =========================================================================
   v25 Unified Service Console Switcher & Platform-Harmonized Typography
   Matches natvps.cc 15px/500 Manrope scale — zero tiny ALL-CAPS bold labels
   ========================================================================= */
.nat-svc-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid #E6EBF5;
}

.nat-svc-top-info {
  min-width: 0;
}

.nat-svc-main-title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #0B1220;
}

.nat-svc-top-meta {
  margin: 5px 0 0;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.45;
  color: #566072;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.nat-svc-top-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.nat-svc-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: #EEF3FB;
  border: 1px solid rgba(16, 36, 84, 0.07);
}

.nat-svc-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: #566072;
  font-family: "Manrope", -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.nat-svc-switch-btn:hover:not(.is-active) {
  color: #0B1220;
  background: rgba(255, 255, 255, 0.6);
}

.nat-svc-switch-btn.is-active {
  background: #FFFFFF;
  color: #0351FB;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(16, 36, 84, 0.08);
}

/* Server Management Console Typography Harmonization */
.nat-cp-root {
  gap: 24px;
}

.nat-cp-header {
  padding-bottom: 18px;
  border-bottom: 1px solid #E9EEF7;
}

.nat-cp-heading {
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

.nat-cp-meta {
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #566072 !important;
}

.nat-cp-pwr-btn {
  height: 40px !important;
  padding: 0 17px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-color: #DDE5F2 !important;
}

.nat-cp-tabs {
  padding: 5px !important;
  background: #EFF4FC !important;
  border-color: rgba(16, 36, 84, 0.06) !important;
}

.nat-cp-tab {
  height: 40px !important;
  padding: 0 18px !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #566072 !important;
}

.nat-cp-tab.is-active {
  font-weight: 600 !important;
  color: #0351FB !important;
}

.nat-cp-tab-count {
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
}

.nat-cp-subcard {
  border-radius: 24px !important;
  padding: 24px !important;
  border: 1px solid #E5ECF6 !important;
  box-shadow: 0 10px 28px rgba(11, 24, 56, 0.028) !important;
  gap: 18px !important;
}

.nat-cp-card-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nat-cp-card-title,
.nat-cp-form-title,
.nat-app-title {
  margin: 0;
  font-size: 17.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.3 !important;
  color: #0B1220 !important;
}

.nat-cp-card-sub,
.nat-app-sub {
  margin: 0;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  color: #566072 !important;
}

.nat-cp-chip,
.nat-cp-chip--clickable,
.nat-cp-ipv6-row,
.nat-cp-port-strip,
.nat-cp-codebar {
  background: #F8FAFE !important;
  border: 1px solid #E3EAF5 !important;
  border-radius: 16px !important;
}

.nat-cp-chip--clickable {
  padding: 12px 14px !important;
  gap: 6px !important;
}

.nat-cp-chip--clickable:hover {
  background: #F1F6FF !important;
  border-color: #B9D0FF !important;
}

.nat-cp-chip-label {
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #566072 !important;
  margin-bottom: 2px !important;
}

.nat-cp-chip-act {
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
  border-radius: 7px !important;
  border-color: #DCE5F4 !important;
}

.nat-cp-chip-val,
.nat-cp-codebar-text,
.nat-cp-ipv6-full,
.nat-cp-port-strip-val,
.nat-app-cred-val {
  font-size: 14.5px !important;
  font-weight: 500 !important;
  letter-spacing: -0.005em;
  color: #0B1220 !important;
}

.nat-cp-field {
  gap: 8px !important;
}

.nat-cp-field-label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #2B364B !important;
}

.nat-cp-link-btn {
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.nat-cp-codebar {
  min-height: 48px !important;
  padding: 7px 9px 7px 15px !important;
}

.nat-cp-ipv6-row,
.nat-cp-port-strip {
  padding: 11px 12px 11px 15px !important;
}

.nat-cp-copy-solid,
.nat-cp-copy-soft,
.nat-cp-copy-ghost {
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.nat-cp-hint {
  padding: 11px 14px !important;
  border-radius: 14px !important;
  border: 1px solid #E6ECF6 !important;
  background: #F9FBFF !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #566072 !important;
}

.nat-cp-hint code {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #0B1220 !important;
}

.nat-cp-metric-card {
  border-radius: 22px !important;
  padding: 20px 22px !important;
  border-color: #E5ECF6 !important;
}

.nat-cp-metric-label {
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #566072 !important;
}

.nat-cp-metric-val {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0B1220 !important;
}

.nat-cp-metric-sub {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #667085 !important;
}

.nat-cp-info-box p,
.nat-app-note,
.nat-app-rebuild-hint,
.nat-cp-empty-sub,
.nat-cp-muted-cell {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}

.nat-cp-mono-strong,
.nat-cp-mono-brand {
  font-size: 14px !important;
  font-weight: 500 !important;
}

.nat-status-pill {
  font-weight: 600 !important;
  font-size: 13px !important;
}

@media (max-width: 680px) {
  .nat-svc-main-title {
    font-size: 22px;
  }
  .nat-svc-switcher {
    width: 100%;
  }
  .nat-svc-switch-btn {
    flex: 1 1 0%;
    padding: 0 12px;
    font-size: 13.5px;
  }
  .nat-cp-tab {
    font-size: 13px !important;
    padding: 0 10px !important;
  }
  .nat-cp-chip-val,
  .nat-cp-codebar-text,
  .nat-cp-ipv6-full,
  .nat-cp-port-strip-val {
    font-size: 13.5px !important;
  }
}

/* =========================================================================
   v26 Compact Centered Clipboard & Visibility Icon Buttons
   Eliminates Copy button text overflow inside narrow credential cards
   ========================================================================= */
.nat-cp-chips-3 {
  grid-template-columns: minmax(0, 1.36fr) minmax(0, 0.84fr) minmax(0, 0.84fr) !important;
  gap: 10px !important;
}

.nat-cp-chip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
}

.nat-cp-chip-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #E1E8F4;
  color: #566072;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nat-cp-chip-ico > span {
  display: inline-grid;
  place-items: center;
  line-height: 0;
}

.nat-cp-chip--clickable:hover .nat-cp-chip-ico {
  color: #0351FB;
  border-color: #B9D0FF;
  background: #FFFFFF;
}

.nat-cp-chip--clickable.is-copied {
  border-color: #86EFAC !important;
  background: #F4FDF7 !important;
}

.nat-cp-chip-ico.is-copied {
  background: #DCFCE7 !important;
  border-color: #86EFAC !important;
  color: #15803D !important;
}

.nat-cp-icon-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid #DCE5F2;
  background: #FFFFFF;
  color: #475467;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.nat-cp-icon-btn > span {
  display: inline-grid;
  place-items: center;
  line-height: 0;
}

.nat-cp-icon-btn:hover {
  background: #F1F6FF;
  border-color: #B9D0FF;
  color: #0351FB;
}

.nat-cp-icon-btn--soft {
  background: #EEF4FF;
  border-color: #D2E1FF;
  color: #0351FB;
}

.nat-cp-icon-btn--soft:hover {
  background: #E0ECFF;
  border-color: #9EC0FF;
  color: #0044D6;
}

.nat-cp-icon-btn--primary {
  background: #0351FB;
  border-color: #0351FB;
  color: #FFFFFF;
}

.nat-cp-icon-btn--primary:hover {
  background: #0044D6;
  border-color: #0044D6;
  color: #FFFFFF;
}

.nat-cp-icon-btn.is-copied {
  background: #DCFCE7 !important;
  border-color: #86EFAC !important;
  color: #15803D !important;
}

/* =========================================================================
   v27 True 1:1 Root Font Scale & Full-Width Service Console Restoration
   Fixes html 15px->16px Tailwind v4 rem shrink and restores natvps.cc scale
   ========================================================================= */
html {
  font-size: 16px !important;
}

body.nat-portal-body {
  font-size: 15.5px !important;
  line-height: 1.55 !important;
}

.brand-lockup {
  height: 44px !important;
  width: auto !important;
}

.brand-lockup--footer {
  height: 38px !important;
  width: auto !important;
}

.desktop-nav a {
  font-size: 15.5px !important;
}

.btn,
.nat-btn,
.nat-user-pill {
  font-size: 15.5px !important;
}

/* Match full 1280px container width on Service Console instead of cramped 1080px */
.nat-service-wrap {
  max-width: none !important;
  width: 100% !important;
}

/* Dashboard & Services List Row Readability Upgrade */
.nat-list-row {
  padding: 20px 24px !important;
}

.nat-list-row .text-\[15px\] {
  font-size: 16.5px !important;
  font-weight: 600 !important;
}

.nat-list-row .text-\[13px\] {
  font-size: 14.5px !important;
  font-weight: 500 !important;
}

/* Full-Scale Typography inside Service Console & Server Management */
.nat-svc-main-title {
  font-size: 28px !important;
}

.nat-svc-top-meta {
  font-size: 15px !important;
}

.nat-svc-switch-btn {
  height: 40px !important;
  padding: 0 18px !important;
  font-size: 15px !important;
}

.nat-cp-heading {
  font-size: 22px !important;
}

.nat-cp-meta {
  font-size: 15px !important;
}

.nat-cp-pwr-btn {
  height: 42px !important;
  padding: 0 18px !important;
  font-size: 14.5px !important;
}

.nat-cp-refresh-btn {
  width: 42px !important;
  height: 42px !important;
}

.nat-cp-tab {
  height: 42px !important;
  padding: 0 20px !important;
  font-size: 15px !important;
}

.nat-cp-card-title,
.nat-cp-form-title,
.nat-app-title {
  font-size: 19px !important;
}

.nat-cp-card-sub,
.nat-app-sub,
.nat-cp-info-box p,
.nat-app-note,
.nat-app-rebuild-hint,
.nat-cp-empty-sub,
.nat-cp-muted-cell {
  font-size: 15px !important;
}

.nat-cp-field-label {
  font-size: 15px !important;
}

.nat-cp-link-btn {
  font-size: 14px !important;
}

.nat-cp-chip-label {
  font-size: 13.5px !important;
}

.nat-cp-chip-val,
.nat-cp-codebar-text,
.nat-cp-ipv6-full,
.nat-cp-port-strip-val,
.nat-app-cred-val,
.nat-cp-mono-strong,
.nat-cp-mono-brand {
  font-size: 15px !important;
}

.nat-cp-metric-label {
  font-size: 15px !important;
}

.nat-cp-metric-val {
  font-size: 16px !important;
}

.nat-cp-metric-sub {
  font-size: 13.5px !important;
}

.nat-kv-row {
  font-size: 15px !important;
}

.nat-specs-prose p,
.nat-specs-prose ul {
  font-size: 15px !important;
}

@media (max-width: 680px) {
  .nat-svc-main-title {
    font-size: 24px !important;
  }
  .nat-cp-tab {
    font-size: 13.5px !important;
    padding: 0 10px !important;
  }
  .nat-cp-chip-val,
  .nat-cp-codebar-text,
  .nat-cp-ipv6-full,
  .nat-cp-port-strip-val {
    font-size: 14px !important;
  }
}

/* =========================================================================
   v28 Single-Header + Single-5-Tab Compact Server Console
   Eliminates double header (NAT-256 + ct-17) and double tab bar completely
   ========================================================================= */
.nat-cp-root {
  gap: 18px !important;
}

.nat-cp-header {
  padding-bottom: 16px !important;
  border-bottom: 1px solid #E9EEF7 !important;
}

.nat-cp-heading {
  font-size: 25px !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  color: #0B1220 !important;
}

.nat-cp-ct-id {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 8px;
  background: #F3F6FC;
  border: 1px solid #E1E8F4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  font-weight: 500;
  color: #475467;
  line-height: 1.3;
}

.nat-cp-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px !important;
  padding: 5px !important;
}

.nat-cp-tab {
  height: 40px !important;
  padding: 0 16px !important;
  font-size: 14.5px !important;
}

@media (max-width: 860px) {
  .nat-cp-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    border-radius: 18px !important;
  }
  .nat-cp-tab {
    width: 100% !important;
    padding: 0 10px !important;
    font-size: 13.5px !important;
  }
}

/* =========================================================================
   v30 Refined OAuth Pill Buttons & Divider (Login & Register)
   ========================================================================= */
.nat-oauth-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
  width: 100%;
}

.nat-oauth-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.nat-oauth-btn {
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid #D7E1F0 !important;
  background-color: #FFFFFF !important;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #F9FBFF 100%) !important;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 2px 6px rgba(16, 36, 84, 0.045);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  line-height: 20px !important;
  color: #0B1220 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer;
  user-select: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.nat-oauth-btn:hover {
  background-color: #F5F8FF !important;
  background-image: linear-gradient(180deg, #FFFFFF 0%, #EFF5FF 100%) !important;
  border-color: #A8C2FF !important;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 20px rgba(3, 81, 251, 0.09);
  transform: translateY(-1px);
}

.nat-oauth-btn:active {
  transform: translateY(0);
  background-color: #EDF3FF !important;
  box-shadow: inset 0 1px 2px rgba(16, 36, 84, 0.06);
}

.nat-oauth-btn:focus-visible {
  outline: 2px solid #0351FB;
  outline-offset: 2px;
}

.nat-oauth-btn.is-loading {
  opacity: 0.78;
  pointer-events: none;
}

.nat-oauth-icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  flex: 0 0 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.nat-oauth-btn svg,
.nat-oauth-btn img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.nat-oauth-spinner {
  width: 17px !important;
  height: 17px !important;
  border: 2px solid rgba(3, 81, 251, 0.2);
  border-top-color: #0351FB;
  border-radius: 50%;
  animation: natOauthSpin 0.65s linear infinite;
  flex-shrink: 0;
}

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

.nat-oauth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 2px 0;
}

.nat-oauth-divider::before,
.nat-oauth-divider::after {
  content: "";
  flex: 1 1 0%;
  height: 1px;
  background: rgba(16, 36, 84, 0.09);
}

.nat-oauth-divider span {
  font-size: 12.5px;
  font-weight: 500;
  color: #7D899B;
  line-height: 1;
  white-space: nowrap;
}

.nat-oauth-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: #FEF3F2;
  border: 1px solid #FECDCA;
  color: #B42318;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}

.nat-oauth-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  background: #ECFDF3;
  border: 1px solid #ABEFC6;
  color: #067647;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
}

/* =========================================================================
   v32/v34 Embedded 5-Tab Game Server Management Console (my.natvps.cc)
   Matches NatLxc cobalt-glass UI 1:1 with zero external panel redirect
   ========================================================================= */

/* Global styled input for GamePanel & portal cards (fixes raw unstyled .nat-input) */
input.nat-input,
textarea.nat-input,
select.nat-input {
  height: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 13px;
  border: 1.5px solid #CBD6EA;
  background-color: #F8FAFF;
  color: #0B1220;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, 0.02);
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

input.nat-input::placeholder,
textarea.nat-input::placeholder {
  color: #8A94A6;
  font-weight: 500;
}

input.nat-input:hover:not(:disabled),
textarea.nat-input:hover:not(:disabled) {
  border-color: #9EB9FF;
  background-color: #FFFFFF;
}

input.nat-input:focus,
textarea.nat-input:focus,
select.nat-input:focus {
  border-color: #0351FB !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(3, 81, 251, 0.12) !important;
  outline: none !important;
}

input.nat-input:disabled {
  background-color: #F2F5FA !important;
  border-color: #E2E8F0 !important;
  color: #8A94A6 !important;
  cursor: not-allowed;
}

input.nat-input.nat-input--sm {
  height: 38px;
  min-height: 38px;
  font-size: 13.5px;
  border-radius: 11px;
}

/* Editable Server Name Input Wrapper (Settings Tab + Inline Header Rename) */
.nat-edit-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
}

.nat-edit-field-icon {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 16px;
  color: #667085;
  pointer-events: none;
  transition: color 0.16s ease;
}

.nat-edit-field-wrap:focus-within .nat-edit-field-icon,
.nat-edit-field-wrap:hover .nat-edit-field-icon {
  color: #0351FB;
}

.nat-edit-field-wrap > input.nat-input {
  width: 100%;
  padding-left: 38px !important;
  padding-right: 14px !important;
}

.nat-edit-field-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #667085;
}

.nat-edit-field-hint span:last-child {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: #0351FB;
}

/* Header Inline Quick-Rename Trigger & Form */
.nat-cp-rename-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #F2F6FF;
  border: 1px solid #D2E1FF;
  color: #0351FB;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.nat-cp-rename-trigger:hover {
  background: #E4EEFF;
  border-color: #9EB9FF;
  transform: translateY(-0.5px);
}

.nat-cp-inline-rename {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nat-cp-inline-rename .nat-edit-field-wrap {
  width: min(290px, 68vw);
}

.nat-cp-inline-rename input.nat-input {
  height: 38px;
  min-height: 38px;
  border-radius: 11px;
  font-size: 14px;
  background: #FFFFFF;
}

.nat-game-btn-sm {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.nat-game-btn-md {
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.nat-game-ip-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #F1F6FF;
  border: 1px solid #C9DCFF;
  color: #0351FB;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease;
}

.nat-game-ip-chip:hover {
  background: #E4EEFF;
}

.nat-game-ip-chip code {
  color: #0B1220;
  font-weight: 600;
}

.nat-game-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.nat-game-metric-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: #F9FBFF;
  border: 1px solid #E5ECF6;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nat-game-metric-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #667085;
}

.nat-game-metric-pct {
  font-size: 12.5px;
  font-weight: 700;
  color: #0351FB;
}

.nat-game-metric-big {
  font-size: 17px;
  font-weight: 800;
  color: #0B1220;
}

.nat-game-metric-of {
  font-size: 13px;
  font-weight: 600;
  color: #667085;
}

.nat-game-metric-val-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.nat-game-metric-addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15.5px;
  font-weight: 700;
  color: #0B1220;
}

.nat-game-metric-sub {
  font-size: 12px;
  color: #667085;
}

.nat-game-bar {
  margin-top: 4px;
  height: 6px;
  width: 100%;
  border-radius: 999px;
  background: #E4ECFA;
  overflow: hidden;
}

.nat-game-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0351FB, #4485FF);
  transition: width 0.35s ease;
}

.nat-game-copy-mini {
  padding: 3px 10px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #D5DFEF;
  font-size: 11.5px;
  font-weight: 700;
  color: #0351FB;
  cursor: pointer;
  transition: all 0.15s ease;
}

.nat-game-copy-mini:hover {
  border-color: #0351FB;
  background: #F4F8FF;
}

.nat-game-console-card {
  border-radius: 22px;
  overflow: hidden;
  background: #0B1220;
  border: 1px solid #1E293B;
  box-shadow: 0 14px 36px rgba(11, 18, 32, 0.16);
}

.nat-game-console-head {
  padding: 12px 18px;
  background: #111A2E;
  border-bottom: 1px solid #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nat-game-console-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.nat-game-console-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #F79009;
  box-shadow: 0 0 0 3px rgba(247, 144, 9, 0.18);
  flex-shrink: 0;
}

.nat-game-console-dot.is-live {
  background: #12B76A;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.22);
}

.nat-game-console-title {
  font-size: 13px;
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: -0.01em;
}

.nat-game-console-status {
  font-size: 12px;
  font-weight: 500;
  color: #94A3B8;
}

.nat-game-console-reconnect {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: #93C5FD;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.16s ease;
}

.nat-game-console-reconnect:hover {
  background: rgba(59, 130, 246, 0.26);
  border-color: rgba(147, 197, 253, 0.48);
  color: #FFFFFF;
}

.nat-game-console-viewport {
  height: 340px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 16px 14px 18px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  color: #E2E8F0;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.28) transparent;
}

.nat-game-console-empty {
  color: #64748B;
  font-size: 13px;
}

.nat-game-console-line {
  white-space: pre-wrap;
  word-break: break-word;
}

/* Sleek Dark Minimal Pill Scrollbars (Console, Editor, Startup Command) */
.nat-game-console-viewport::-webkit-scrollbar,
.nat-game-editor-textarea::-webkit-scrollbar,
.nat-game-cmd-code::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.nat-game-console-viewport::-webkit-scrollbar-button,
.nat-game-editor-textarea::-webkit-scrollbar-button,
.nat-game-cmd-code::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.nat-game-console-viewport::-webkit-scrollbar-track,
.nat-game-editor-textarea::-webkit-scrollbar-track,
.nat-game-cmd-code::-webkit-scrollbar-track {
  background: transparent;
  margin-block: 6px;
}

.nat-game-console-viewport::-webkit-scrollbar-thumb,
.nat-game-editor-textarea::-webkit-scrollbar-thumb,
.nat-game-cmd-code::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.28);
  border-radius: 999px;
}

.nat-game-console-viewport::-webkit-scrollbar-thumb:hover,
.nat-game-editor-textarea::-webkit-scrollbar-thumb:hover,
.nat-game-cmd-code::-webkit-scrollbar-thumb:hover {
  background: rgba(96, 165, 250, 0.55);
}

.nat-game-console-viewport::-webkit-scrollbar-corner,
.nat-game-editor-textarea::-webkit-scrollbar-corner,
.nat-game-cmd-code::-webkit-scrollbar-corner {
  background: transparent;
}

/* Clean Thin Scrollbars on Light Tabs & Tables */
.nat-cp-tabs,
.nat-game-files-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.22) transparent;
}

.nat-cp-tabs::-webkit-scrollbar,
.nat-game-files-table-wrap::-webkit-scrollbar {
  height: 5px;
  width: 5px;
}

.nat-cp-tabs::-webkit-scrollbar-button,
.nat-game-files-table-wrap::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.nat-cp-tabs::-webkit-scrollbar-thumb,
.nat-game-files-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.22);
  border-radius: 999px;
}

.nat-game-console-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0F172A;
  border-top: 1px solid #1E293B;
  padding: 8px 10px 8px 0;
}

.nat-game-console-prompt {
  color: #60A5FA;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 700;
  padding-left: 14px;
  user-select: none;
}

.nat-game-console-input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: #FFFFFF;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  padding: 6px 4px;
}

.nat-game-console-input::placeholder {
  color: #64748B;
}

.nat-game-console-send {
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  background: #0351FB;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.nat-game-console-send:hover {
  background: #1D64FF;
}

.nat-game-sftp-bar {
  padding: 14px 18px;
  border-radius: 18px;
  background: #F6F9FF;
  border: 1px solid #DCE7FA;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nat-game-code-pill {
  padding: 4px 10px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #DCE4F2;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #0B1220;
}

.nat-game-code-pill--secret {
  background: #ECFDF3;
  border-color: #ABEFC6;
  color: #067647;
  font-weight: 700;
}

.nat-game-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #D5DFEF;
  font-size: 13px;
  font-weight: 600;
  color: #0B1220;
  cursor: pointer;
  transition: all 0.16s ease;
}

.nat-game-action-btn:hover {
  border-color: #9EB9FF;
  background: #F5F8FF;
}

.nat-game-action-btn.is-active {
  background: #0351FB;
  border-color: #0351FB;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(3, 81, 251, 0.22);
}

.nat-game-action-btn--danger {
  color: #D92D20;
  border-color: #FDA29B;
  background: #FFFBFB;
}

.nat-game-action-btn--danger:hover {
  background: #FEF3F2;
  border-color: #F97066;
}

.nat-game-cmd-code {
  display: block;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: 13px;
  background: #0F172A;
  border: 1px solid #1E293B;
  color: #E2E8F0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.5;
  overflow-x: auto;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.28) transparent;
}

.nat-game-inline-create {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #F8FAFE;
  border: 1px solid #DCE4F2;
}

.nat-game-alloc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #F8FAFE;
  border: 1px solid #E4EBF5;
}

.nat-game-files-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nat-game-files-table-wrap {
  border-radius: 18px;
  border: 1px solid #E5ECF6;
  overflow-x: auto;
  background: #FFFFFF;
}

.nat-game-files-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.nat-game-files-table th {
  padding: 12px 16px;
  background: #F9FBFF;
  border-bottom: 1px solid #E5ECF6;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #667085;
}

.nat-game-files-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #F1F5FB;
}

.nat-game-files-table tr:last-child td {
  border-bottom: 0;
}

.nat-game-file-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #0B1220;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nat-game-file-link:hover {
  color: #0351FB;
}

.nat-game-editor-card,
.nat-game-panel-box {
  padding: 20px 22px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid #E5ECF6;
  box-shadow: 0 4px 14px rgba(16, 36, 84, 0.02);
}

.nat-game-box-title {
  font-size: 16px;
  font-weight: 800;
  color: #0B1220;
  letter-spacing: -0.01em;
}

.nat-game-box-sub {
  font-size: 13.5px;
  color: #566072;
  margin-top: 4px;
  line-height: 1.45;
}

.nat-game-editor-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.nat-game-editor-textarea {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  background: #0F172A;
  color: #E2E8F0;
  border: 1px solid #1E293B;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  resize: vertical;
  color-scheme: dark;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.28) transparent;
}

@media (max-width: 920px) {
  .nat-game-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .nat-game-metrics-grid {
    grid-template-columns: 1fr;
  }
}


/* DMCA Protected Footer Badge (v=33) */
.dmca-badge {
  height: 30px;
  padding: 0 7px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 36, 84, 0.09);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.dmca-badge:hover {
  background: #FFFFFF;
  border-color: rgba(16, 36, 84, 0.22);
  transform: translateY(-1px);
}
.dmca-badge img {
  height: 20px;
  width: auto;
  display: block;
}

/* =========================================================================
   v35 Compact Above-the-Fold Mobile Service Console (GamePanel & NatLxc)
   Eliminates multi-line header spills, 3-row wrapped tabs, and tall 1-col stacks
   ========================================================================= */
.nat-cp-title-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nat-cp-meta-mobile,
.nat-cp-ct-id--mobile,
.nat-cp-tab-mobile,
.nat-game-metric-unit-sm {
  display: none !important;
}

.nat-cp-tab-desktop {
  display: inline;
}

@media (max-width: 680px) {
  .nat-cp-meta-desktop,
  .nat-cp-ct-id--desktop,
  .nat-cp-tab-desktop {
    display: none !important;
  }

  .nat-cp-meta-mobile {
    display: inline !important;
  }

  .nat-cp-ct-id--mobile {
    display: inline-flex !important;
    padding: 1px 6px !important;
    border-radius: 6px !important;
    font-size: 11.5px !important;
  }

  .nat-cp-tab-mobile {
    display: inline !important;
  }

  /* Tighter outer mobile container & glass card padding */
  .nat-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .nat-service-wrap > .mb-4 {
    margin-bottom: 8px !important;
  }

  .nat-service-wrap .nat-glass-card {
    padding: 14px 13px !important;
    border-radius: 20px !important;
  }

  .nat-cp-root {
    gap: 11px !important;
  }

  /* 1. Compact Header: Single-row Title + Edit Icon + Status Badge */
  .nat-cp-header {
    gap: 10px !important;
    padding-bottom: 11px !important;
  }

  .nat-cp-title-row:not(.is-editing-name) {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100%;
  }

  .nat-cp-title-main {
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
  }

  .nat-cp-heading {
    font-size: 18.5px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nat-cp-rename-trigger {
    width: 26px !important;
    height: 26px !important;
    padding: 0 !important;
    justify-content: center;
    flex-shrink: 0;
  }

  .nat-cp-rename-trigger .nat-rename-label {
    display: none !important;
  }

  .nat-cp-title-row > .nat-status-pill {
    margin-left: auto;
    flex-shrink: 0;
    height: 24px !important;
    padding: 0 9px !important;
    font-size: 11.5px !important;
  }

  /* Clean single-line specs row with zero dangling dots */
  .nat-cp-meta {
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 3px 5px !important;
  }

  .nat-game-ip-chip {
    font-size: 11.5px !important;
    padding: 1px 8px !important;
  }

  /* Slim 36px single-row power controls */
  .nat-cp-power {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 36px !important;
    gap: 6px !important;
    width: 100% !important;
  }

  .nat-cp-pwr-btn {
    height: 36px !important;
    padding: 0 6px !important;
    font-size: 12.5px !important;
    gap: 4px !important;
    border-radius: 999px !important;
  }

  .nat-cp-pwr-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  .nat-cp-refresh-btn {
    width: 36px !important;
    height: 36px !important;
  }

  /* 2. Single-Row 5-Segment Pill Navigation Bar (40px tall vs 138px 3-row grid!) */
  .nat-cp-tabs {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 2px !important;
    padding: 3px !important;
    border-radius: 13px !important;
    width: 100% !important;
  }

  .nat-cp-tab {
    width: 100% !important;
    min-width: 0 !important;
    height: 33px !important;
    padding: 0 3px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    gap: 0 !important;
  }

  .nat-cp-tab svg,
  .nat-cp-tab-count {
    display: none !important;
  }

  /* 3. Compact 2-Row Game Metrics: 1 Slim IP Bar + 3 Side-by-Side Resource Gauges */
  .nat-game-metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }

  .nat-game-metric-card--addr {
    grid-column: 1 / -1 !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 11px !important;
    border-radius: 13px !important;
    gap: 8px !important;
  }

  .nat-game-metric-card--addr .nat-game-addr-kicker {
    padding: 2px 7px;
    border-radius: 6px;
    background: #EAF1FF;
    color: #0351FB !important;
    font-size: 10.5px !important;
    letter-spacing: 0.04em;
    flex-shrink: 0;
  }

  .nat-game-metric-card--addr .nat-game-metric-val-row {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: space-between;
    gap: 8px;
  }

  .nat-game-metric-card--addr .nat-game-metric-addr {
    font-size: 13.5px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nat-game-metric-card--addr .nat-game-metric-sub {
    display: none !important;
  }

  .nat-game-metric-card--stat {
    padding: 9px 10px !important;
    border-radius: 13px !important;
    gap: 3px !important;
    min-width: 0;
  }

  .nat-game-metric-card--stat .nat-game-metric-label {
    font-size: 10.5px !important;
    letter-spacing: 0.03em;
  }

  .nat-game-metric-card--stat .nat-game-metric-pct {
    font-size: 11px !important;
  }

  .nat-game-metric-card--stat .nat-game-metric-big {
    font-size: 13.5px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nat-game-metric-card--stat .nat-game-metric-of {
    display: none !important;
  }

  .nat-game-metric-unit-sm {
    display: inline !important;
    font-size: 10.5px;
    font-weight: 600;
    color: #667085;
  }

  .nat-game-metric-card--stat .nat-game-bar {
    height: 4.5px !important;
    margin-top: 2px !important;
  }

  /* Also make NatLxc 3-metric strip compact on mobile without cramping labels */
  .nat-cp-metrics-3 {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
  }

  .nat-cp-metric-card {
    padding: 10px 14px !important;
    border-radius: 14px !important;
    gap: 5px !important;
  }

  .nat-cp-metric-label {
    font-size: 12.5px !important;
  }

  .nat-cp-metric-val {
    font-size: 13px !important;
  }

  .nat-cp-metric-sub {
    display: none !important;
  }

  /* 4. Compact Mobile Live Console (fits comfortably above the fold!) */
  .nat-game-console-card {
    border-radius: 16px !important;
  }

  .nat-game-console-head {
    padding: 9px 12px !important;
    gap: 8px !important;
  }

  .nat-game-console-title {
    font-size: 12.5px !important;
  }

  .nat-game-console-status {
    display: none !important;
  }

  .nat-game-console-reconnect {
    padding: 3px 10px !important;
    font-size: 11.5px !important;
  }

  .nat-game-console-viewport {
    height: 235px !important;
    padding: 10px 12px !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
  }

  .nat-game-console-input-row {
    padding: 6px 8px 6px 0 !important;
    gap: 6px !important;
  }

  .nat-game-console-prompt {
    padding-left: 10px !important;
    font-size: 12.5px !important;
  }

  .nat-game-console-input {
    font-size: 13px !important;
    padding: 5px 2px !important;
  }

  .nat-game-console-send {
    height: 31px !important;
    padding: 0 13px !important;
    font-size: 12px !important;
  }

  /* Compact inner boxes on Files / Startup / Backups / Settings tabs */
  .nat-game-panel-box,
  .nat-game-editor-card,
  .nat-cp-subcard {
    padding: 14px !important;
    border-radius: 16px !important;
  }

  .nat-game-sftp-bar {
    padding: 11px 12px !important;
    border-radius: 14px !important;
    gap: 8px !important;
  }
}

/* =========================================================================
   v36 Responsive GamePanel File Manager & Backups Table (Desktop + Mobile)
   Eliminates clipped left filenames & vertical letter-stacked Download links
   ========================================================================= */
.nat-game-files-actions-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nat-game-file-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: #0B1220;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  min-width: 0;
  max-width: 100%;
  cursor: pointer;
}

.nat-game-file-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.nat-game-file-name {
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.nat-game-file-meta-mobile {
  display: none;
}

.nat-game-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  white-space: nowrap;
}

.nat-game-link-btn,
.nat-game-danger-btn {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  cursor: pointer;
}

.nat-game-link-btn {
  color: #0351FB;
}

.nat-game-link-btn:hover {
  text-decoration: underline;
}

.nat-game-danger-btn {
  color: #D92D20;
}

.nat-game-danger-btn:hover {
  text-decoration: underline;
}

@media (max-width: 680px) {
  .nat-game-sftp-bar .nat-game-code-pill {
    font-size: 11.5px !important;
    padding: 3px 8px !important;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .nat-game-files-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 9px !important;
  }

  .nat-game-files-actions-bar {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 6px;
    width: 100%;
  }

  .nat-game-files-actions-bar .nat-game-action-btn,
  .nat-game-files-actions-bar .nat-game-btn-sm {
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    white-space: nowrap;
    justify-content: center;
  }

  .nat-game-files-table-wrap {
    overflow-x: hidden !important;
    border-radius: 15px !important;
  }

  .nat-game-files-table,
  .nat-game-files-table tbody {
    display: block;
    width: 100%;
  }

  .nat-game-files-table thead {
    display: none;
  }

  .nat-game-files-table tbody tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 13px;
    border-bottom: 1px solid #EEF2F8;
    width: 100%;
    box-sizing: border-box;
  }

  .nat-game-files-table tbody tr:last-child {
    border-bottom: 0;
  }

  .nat-game-files-table tbody tr.nat-game-empty-row {
    display: block;
    padding: 22px 14px;
    text-align: center;
  }

  .nat-game-files-table tbody tr.nat-game-empty-row td {
    display: block;
    padding: 0 !important;
    border: 0 !important;
  }

  .nat-game-files-table td {
    padding: 0 !important;
    border: 0 !important;
  }

  .nat-game-cell-size,
  .nat-game-cell-date {
    display: none !important;
  }

  .nat-game-cell-name {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nat-game-file-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .nat-game-file-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #0B1220;
  }

  .nat-game-file-meta-mobile {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    font-weight: 500;
    color: #667085;
    line-height: 1.3;
  }

  .nat-game-cell-actions {
    flex: 0 0 auto;
    text-align: right;
  }

  .nat-game-row-actions {
    gap: 8px;
  }

  .nat-game-link-btn,
  .nat-game-danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 9px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
  }

  .nat-game-link-btn {
    background: #EEF4FF;
    color: #0351FB;
  }

  .nat-game-danger-btn {
    background: #FEF3F2;
    color: #D92D20;
  }
}

/* =========================================================================
   v37 Paired Non-Breaking SFTP Credential Fields & Path Toolbar
   Keeps Host / User / Pass values locked inline with their own Copy button
   ========================================================================= */
.nat-sftp-fields {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.nat-sftp-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px 5px 11px;
  border-radius: 11px;
  background: #FFFFFF;
  border: 1px solid #DCE4F2;
  min-width: 0;
  max-width: 100%;
}

.nat-sftp-field--secret {
  background: #ECFDF3;
  border-color: #ABEFC6;
}

.nat-sftp-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #667085;
  flex-shrink: 0;
}

.nat-sftp-field--secret .nat-sftp-label {
  color: #067647;
}

.nat-sftp-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: #0B1220;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nat-sftp-field--secret .nat-sftp-val {
  color: #067647;
  font-weight: 700;
}

.nat-sftp-gen-btn {
  flex-shrink: 0;
}

.nat-sftp-path-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  background: #F8FAFE;
  border: 1px solid #DCE4F2;
  max-width: 100%;
}

.nat-sftp-path-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #667085;
  flex-shrink: 0;
}

.nat-sftp-path-pill code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 600;
  color: #0B1220;
}

@media (max-width: 680px) {
  .nat-game-sftp-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 10px !important;
    gap: 7px !important;
  }

  .nat-sftp-fields {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
  }

  .nat-sftp-field {
    display: flex;
    width: 100%;
    padding: 5px 6px 5px 10px;
  }

  .nat-sftp-label {
    width: 38px;
  }

  .nat-sftp-val {
    flex: 1 1 auto;
    font-size: 12px;
  }

  .nat-sftp-gen-btn {
    width: 100%;
    height: 35px !important;
    font-size: 12.5px !important;
  }

  .nat-sftp-path-pill {
    width: 100%;
    height: 32px;
  }

  .nat-game-files-actions-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* =========================================================================
   v38 Single-Line Mobile SSH, SFTP, Root Password & IPv6 Credentials
   Eliminates uneven 3-col chip gaps and multi-line copy button spills
   ========================================================================= */
@media (max-width: 680px) {
  .nat-cp-subcard {
    gap: 12px !important;
  }

  .nat-cp-card-title,
  .nat-cp-form-title,
  .nat-app-title {
    font-size: 16.5px !important;
  }

  .nat-cp-card-sub,
  .nat-app-sub {
    font-size: 12.75px !important;
    line-height: 1.45 !important;
  }

  /* 1. Balanced Full-Width Host Row + 50/50 Twin Port & User Pills (Single-Line Each) */
  .nat-cp-chips-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .nat-cp-chip--host {
    grid-column: 1 / -1 !important;
  }

  .nat-cp-chip--clickable {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    min-height: 42px !important;
    padding: 6px 7px 6px 12px !important;
    border-radius: 12px !important;
  }

  .nat-cp-chip-top {
    display: contents !important;
  }

  .nat-cp-chip--clickable .nat-cp-chip-label {
    order: 1;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    color: #667085 !important;
    margin: 0 !important;
    flex-shrink: 0;
  }

  .nat-cp-chip--clickable .nat-cp-chip-val {
    order: 2;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nat-cp-chip--clickable .nat-cp-chip-ico {
    order: 3;
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    flex-shrink: 0;
  }

  /* 2. Single-Line Field Label + Action Link Row */
  .nat-cp-field {
    gap: 6px !important;
  }

  .nat-cp-label-row {
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
  }

  .nat-cp-field-label {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nat-cp-link-btn {
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  /* 3. Single-Line SSH Command, Root Password & IPv6 Subnet Codebars (No Wrapped Buttons) */
  .nat-cp-codebar {
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 42px !important;
    padding: 5px 6px 5px 12px !important;
    gap: 8px !important;
    border-radius: 12px !important;
  }

  .nat-cp-codebar-text {
    width: auto !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    text-overflow: clip !important;
    scrollbar-width: none;
  }

  .nat-cp-codebar-text::-webkit-scrollbar {
    display: none;
  }

  .nat-cp-codebar-actions {
    width: auto !important;
    flex: 0 0 auto !important;
    justify-content: flex-end !important;
    gap: 5px !important;
  }

  .nat-cp-icon-btn {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 9px !important;
  }

  /* 4. Single-Line IPv6 Address, Gateway, Port Strip & 1-Click App Credential Rows */
  .nat-cp-ipv6-stack {
    gap: 8px !important;
  }

  .nat-cp-ipv6-row,
  .nat-app-cred-row {
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 7px 7px 7px 12px !important;
    gap: 8px !important;
    border-radius: 12px !important;
  }

  .nat-cp-ipv6-row .nat-cp-chip-label,
  .nat-cp-port-strip .nat-cp-chip-label,
  .nat-app-cred-meta .nat-cp-chip-label {
    font-size: 11px !important;
    margin-bottom: 1px !important;
  }

  .nat-cp-ipv6-full,
  .nat-app-cred-val {
    display: block;
    font-size: 12px !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
  }

  .nat-cp-ipv6-full::-webkit-scrollbar,
  .nat-app-cred-val::-webkit-scrollbar {
    display: none;
  }

  .nat-cp-port-strip {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 8px 8px 12px !important;
    gap: 8px !important;
    border-radius: 12px !important;
  }

  .nat-cp-port-strip-val {
    font-size: 11.75px !important;
    white-space: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    text-overflow: clip !important;
    scrollbar-width: none;
  }

  .nat-cp-port-strip-val::-webkit-scrollbar {
    display: none;
  }

  .nat-cp-port-strip .nat-cp-copy-soft {
    height: 30px !important;
    padding: 0 10px !important;
    font-size: 11.5px !important;
    border-radius: 9px !important;
    flex-shrink: 0;
  }

  .nat-cp-hint {
    padding: 9px 11px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
  }

  .nat-cp-hint code {
    font-size: 12px !important;
  }
}

@media (max-width: 410px) {
  .nat-cp-chip--clickable {
    padding: 6px 6px 6px 9px !important;
    gap: 5px !important;
  }

  .nat-cp-chip--clickable .nat-cp-chip-label {
    font-size: 10px !important;
    letter-spacing: 0.03em !important;
  }

  .nat-cp-chip--clickable .nat-cp-chip-val {
    font-size: 12px !important;
  }

  .nat-cp-chip--clickable .nat-cp-chip-ico {
    width: 24px !important;
    height: 24px !important;
    border-radius: 7px !important;
  }

  .nat-cp-codebar {
    padding: 5px 5px 5px 10px !important;
    gap: 6px !important;
  }

  .nat-cp-codebar-text {
    font-size: 11.25px !important;
  }

  .nat-cp-icon-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }

  .nat-cp-field-label {
    font-size: 11.75px !important;
  }

  .nat-cp-link-btn {
    font-size: 11.5px !important;
  }
}

/* =========================================================================
   v40 Mobile Flush-Right Running Status Pill & Matched Billing Action Pills
   ========================================================================= */
@media (max-width: 680px) {
  /* 1. Stretch header brand container 100% so Running pill snaps flush-right */
  .nat-cp-brand,
  .nat-cp-brand-text {
    width: 100% !important;
    flex: 1 1 100% !important;
  }

  .nat-cp-title-row:not(.is-editing-name) {
    width: 100% !important;
    justify-content: flex-start !important;
    gap: 8px !important;
  }

  .nat-cp-title-row > .nat-status-pill {
    margin-left: auto !important;
    height: 26px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  /* 2. Equal-height full-width Billing Upgrade & Cancel action buttons */
  .nat-app-head {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .nat-app-head-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .nat-app-head-actions:has(> :only-child) {
    grid-template-columns: 1fr !important;
  }

  .nat-app-head-actions > .btn,
  .nat-app-head-actions > .nat-cp-submit-btn,
  .nat-app-head-actions > .nat-cp-pwr-btn,
  .nat-app-head-actions > .nat-cp-copy-soft {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 14px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    justify-content: center !important;
  }

  /* Game Server Settings -> Request Cancellation button also full-width 44px on mobile */
  .nat-game-panel-box > .nat-game-action-btn--danger {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    font-size: 13.5px !important;
    border-radius: 999px !important;
    justify-content: center !important;
  }

  /* Keep Billing KV row labels on 1 line ("Level of Support") */
  .nat-kv-row {
    font-size: 13.5px !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .nat-kv-label {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  /* Match natvps.cc mobile header & footer brand-lockup height (38px / 36px instead of desktop 44px) */
  .brand-lockup {
    height: 38px !important;
    width: auto !important;
  }

  .brand-lockup--footer {
    height: 36px !important;
    width: auto !important;
  }
}

@media (max-width: 400px) {
  .nat-app-head-actions {
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 0.92fr) !important;
  }

  .nat-app-head-actions > .btn,
  .nat-app-head-actions > .nat-cp-submit-btn,
  .nat-app-head-actions > .nat-cp-pwr-btn {
    padding: 0 12px !important;
    font-size: 12px !important;
  }
}
