/* ============================================================
   NEXUS THEME — Ultra-modern dark glassmorphism SMM panel
   ============================================================ */

/* ===================== CSS VARIABLES ===================== */
:root {
  --nx-bg:          #07091A;
  --nx-bg-2:        #0D1025;
  --nx-bg-3:        #111630;
  --nx-card:        rgba(255,255,255,0.042);
  --nx-card-border: rgba(255,255,255,0.075);
  --nx-card-hover:  rgba(255,255,255,0.065);

  --nx-sidebar-w:   260px;
  --nx-topbar-h:    60px;

  --nx-primary:       #7C3AED;
  --nx-primary-lt:    #A78BFA;
  --nx-primary-glow:  rgba(124,58,237,0.4);
  --nx-secondary:     #22D3EE;
  --nx-accent:        #EC4899;

  --nx-success: #10B981;
  --nx-danger:  #EF4444;
  --nx-warning: #F59E0B;
  --nx-info:    #3B82F6;

  --nx-text:    #F1F5F9;
  --nx-muted:   #64748B;
  --nx-dim:     #94A3B8;

  --nx-border:  rgba(255,255,255,0.07);
  --nx-border2: rgba(255,255,255,0.13);

  --nx-r:    12px;
  --nx-r-lg: 18px;
  --nx-r-sm: 8px;
  --nx-r-xl: 24px;
  --nx-r-50: 50px;

  --nx-shadow:  0 4px 24px rgba(0,0,0,0.45);
  --nx-t:       all 0.2s ease;
  --nx-blur:    blur(14px);
}

/* ===================== BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; }

body, .body {
  background: var(--nx-bg);
  color: var(--nx-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Aurora background glow */
.nx-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 25%, rgba(124,58,237,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 65%, rgba(34,211,238,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 50% 90%, rgba(236,72,153,0.05) 0%, transparent 70%);
}

/* ===================== LAYOUT ===================== */
.nx-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ===================== SIDEBAR ===================== */
.nx-sidebar {
  width: var(--nx-sidebar-w);
  height: 100vh;
  background: rgba(10,12,32,0.96);
  backdrop-filter: var(--nx-blur);
  -webkit-backdrop-filter: var(--nx-blur);
  border-right: 1px solid var(--nx-border);
  position: fixed;
  left: 0; top: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* top gradient line */
.nx-sidebar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--nx-primary), var(--nx-secondary), var(--nx-accent));
}

/* Logo */
.nx-logo {
  padding: 18px 20px 14px;
  display: flex;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--nx-border);
  flex-shrink: 0;
}
.nx-logo img { max-width: 150px; max-height: 38px; object-fit: contain; }
.nx-logo-text {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 20%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

/* User card */
.nx-user-card {
  margin: 14px 12px 4px;
  padding: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.14), rgba(34,211,238,0.07));
  border: 1px solid rgba(124,58,237,0.22);
  border-radius: var(--nx-r);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.nx-user-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(124,58,237,0.25), transparent 70%);
  pointer-events: none;
}
.nx-user-name {
  font-size: 12px; font-weight: 700;
  color: var(--nx-text); margin-bottom: 2px;
  display: flex; align-items: center; gap: 6px;
}
.nx-user-name img { width: 14px; height: 14px; }
.nx-user-balance {
  font-size: 20px; font-weight: 800;
  background: linear-gradient(135deg, var(--nx-primary-lt), var(--nx-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px; line-height: 1.1;
}
.nx-user-actions { display: flex; gap: 6px; }
.nx-user-btn {
  flex: 1; padding: 6px 8px;
  border-radius: var(--nx-r-sm);
  border: 1px solid var(--nx-border2);
  background: rgba(255,255,255,0.06);
  color: var(--nx-dim); font-size: 11px; font-weight: 600;
  text-align: center; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  transition: var(--nx-t); cursor: pointer;
}
.nx-user-btn:hover { background: rgba(255,255,255,0.11); color: var(--nx-text); text-decoration: none; }

/* Nav */
.nx-nav {
  flex: 1; overflow-y: auto; padding: 10px 10px 0;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent;
}
.nx-nav::-webkit-scrollbar { width: 3px; }
.nx-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.nx-nav ul { list-style: none; padding: 0; margin: 0; }
.nx-nav li { margin-bottom: 2px; }

.nx-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--nx-r-sm);
  color: var(--nx-muted); text-decoration: none;
  font-size: 13px; font-weight: 500;
  transition: var(--nx-t); position: relative; overflow: hidden;
}
.nx-nav-link:hover { background: rgba(255,255,255,0.05); color: var(--nx-text); text-decoration: none; }
.nx-nav-link.nx-active {
  background: linear-gradient(135deg, rgba(124,58,237,0.22), rgba(34,211,238,0.08));
  color: #fff; border: 1px solid rgba(124,58,237,0.22);
}
.nx-nav-link.nx-active::before {
  content: ''; position: absolute; left: 0; top: 20%;
  height: 60%; width: 3px;
  background: linear-gradient(180deg, var(--nx-primary), var(--nx-secondary));
  border-radius: 0 2px 2px 0;
}
.nx-nav-icon { width: 16px; text-align: center; font-size: 13px; flex-shrink: 0; }
.nx-nav-badge { margin-left: auto; }

/* Sidebar footer */
.nx-sidebar-footer {
  padding: 10px 10px 14px;
  border-top: 1px solid var(--nx-border);
  flex-shrink: 0;
}

/* Overlay */
.nx-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 199;
  backdrop-filter: blur(2px);
}
.nx-overlay.show { display: block; }

/* ===================== MAIN CONTENT ===================== */
.nx-main {
  margin-left: var(--nx-sidebar-w);
  min-height: 100vh; flex: 1;
  display: flex; flex-direction: column;
  position: relative;
}

/* ===================== TOPBAR ===================== */
.nx-topbar {
  height: var(--nx-topbar-h);
  background: rgba(7,9,26,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nx-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px; position: sticky; top: 0; z-index: 100; gap: 14px;
}
.nx-topbar-left { display: flex; align-items: center; gap: 14px; }
.nx-toggle {
  display: none; width: 36px; height: 36px;
  border: 1px solid var(--nx-border2); border-radius: var(--nx-r-sm);
  background: rgba(255,255,255,0.05); color: var(--nx-dim);
  font-size: 15px; cursor: pointer;
  align-items: center; justify-content: center; transition: var(--nx-t);
}
.nx-toggle:hover { background: rgba(255,255,255,0.1); color: var(--nx-text); }
.nx-page-label { font-size: 15px; font-weight: 700; color: var(--nx-text); }
.nx-topbar-right { display: flex; align-items: center; gap: 10px; }
.nx-balance-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.18), rgba(34,211,238,0.1));
  border: 1px solid rgba(124,58,237,0.25); border-radius: var(--nx-r-50);
  font-size: 13px; font-weight: 700; color: var(--nx-text);
  cursor: pointer; transition: var(--nx-t); position: relative;
}
.nx-balance-pill:hover { box-shadow: 0 0 20px rgba(124,58,237,0.3); }
.nx-balance-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--nx-secondary); box-shadow: 0 0 6px var(--nx-secondary);
}

/* ===================== PAGE AREA ===================== */
.nx-page { flex: 1; padding: 22px 22px 40px; }

/* ===================== CARD ===================== */
.card, .nx-card {
  background: var(--nx-card);
  border: 1px solid var(--nx-card-border);
  border-radius: var(--nx-r);
  padding: 20px;
  transition: var(--nx-t);
}
.card:hover, .nx-card:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ===================== STAT GRID ===================== */
.nx-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px; margin-bottom: 22px;
}
.nx-stat {
  background: var(--nx-card); border: 1px solid var(--nx-card-border);
  border-radius: var(--nx-r-lg); padding: 18px 20px;
  display: flex; align-items: center; gap: 16px;
  position: relative; overflow: hidden; transition: var(--nx-t);
}
.nx-stat::after {
  content: ''; position: absolute; top: -10px; right: -10px;
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, var(--s-color, rgba(124,58,237,0.15)) 0%, transparent 70%);
  pointer-events: none;
}
.nx-stat:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); border-color: var(--s-color, rgba(124,58,237,0.3)); }
.nx-stat-icon {
  width: 50px; height: 50px; border-radius: var(--nx-r); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
  background: linear-gradient(135deg, var(--s-color, rgba(124,58,237,0.3)), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.08);
}
.nx-stat-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--nx-muted); margin-bottom: 4px;
}
.nx-stat-value { font-size: 22px; font-weight: 800; color: var(--nx-text); line-height: 1; }

/* ===================== BUTTONS ===================== */
.btn, .btn-big-primary, .btn-big-secondary, .nx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 20px; border-radius: var(--nx-r-sm);
  font-size: 13px; font-weight: 600; border: none;
  cursor: pointer; transition: var(--nx-t); text-decoration: none;
  line-height: 1.4; position: relative; overflow: hidden;
  letter-spacing: 0.1px; white-space: nowrap;
}
.btn::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  transition: left 0.5s ease;
}
.btn:hover::after { left: 100%; }

.btn-primary, .btn-big-primary {
  background: linear-gradient(135deg, #7C3AED 0%, #9F67FF 100%);
  color: #fff !important; box-shadow: 0 4px 15px rgba(124,58,237,0.4);
}
.btn-primary:hover, .btn-big-primary:hover {
  box-shadow: 0 6px 25px rgba(124,58,237,0.6);
  transform: translateY(-1px); color: #fff; text-decoration: none;
}
.btn-secondary, .btn-big-secondary {
  background: rgba(255,255,255,0.07); color: var(--nx-text) !important;
  border: 1px solid var(--nx-border2);
}
.btn-secondary:hover, .btn-big-secondary:hover { background: rgba(255,255,255,0.12); color: var(--nx-text); text-decoration: none; }
.btn-success { background: linear-gradient(135deg,#10B981,#059669); color:#fff !important; box-shadow: 0 4px 14px rgba(16,185,129,0.3); }
.btn-danger  { background: linear-gradient(135deg,#EF4444,#DC2626); color:#fff !important; box-shadow: 0 4px 14px rgba(239,68,68,0.3); }
.btn-warning { background: linear-gradient(135deg,#F59E0B,#D97706); color:#fff !important; }
.btn-info    { background: linear-gradient(135deg,#3B82F6,#2563EB); color:#fff !important; }
.btn-outline-primary { background: transparent; color: var(--nx-primary-lt) !important; border: 1px solid rgba(124,58,237,0.4); }
.btn-outline-primary:hover { background: rgba(124,58,237,0.15); }
.btn-block { width: 100%; }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-lg { padding: 12px 26px; font-size: 14px; }
.btn-xs { padding: 4px 10px; font-size: 11px; }

/* ===================== FORMS ===================== */
.form-group { margin-bottom: 14px; }
label, .control-label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--nx-dim); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.6px;
}
.form-control {
  width: 100%; padding: 9px 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-r-sm); color: var(--nx-text);
  font-size: 13px; font-family: inherit; transition: var(--nx-t); outline: none;
}
.form-control:focus {
  border-color: rgba(124,58,237,0.55);
  background: rgba(124,58,237,0.07);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.14);
  color: var(--nx-text);
}
.form-control::placeholder { color: var(--nx-muted); opacity: 0.5; }
.form-control[readonly] { background: rgba(255,255,255,0.02); color: var(--nx-dim); }
select.form-control {
  cursor: pointer; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; background-size: 13px; padding-right: 36px;
}
select.form-control option { background: #141728; color: var(--nx-text); }
textarea.form-control { resize: vertical; min-height: 90px; }
.input-group { display: flex; }
.input-group .form-control { border-radius: var(--nx-r-sm) 0 0 var(--nx-r-sm); flex: 1; }
.input-group-append { display: flex; }
.input-group-append .btn { border-radius: 0 var(--nx-r-sm) var(--nx-r-sm) 0; }

/* Checkbox */
.form-group__checkbox { display: flex; align-items: center; gap: 8px; }
.form-group__checkbox-label { display: flex; align-items: center; cursor: pointer; }
.form-group__checkbox-label input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--nx-primary); cursor: pointer; }
.form-group__label-title { font-size: 12px; font-weight: 500; color: var(--nx-dim); text-transform: none; letter-spacing: 0; margin-bottom: 0; }

/* ===================== ALERTS ===================== */
.alert {
  padding: 11px 14px; border-radius: var(--nx-r-sm);
  font-size: 13px; margin-bottom: 14px;
  display: flex; align-items: flex-start; gap: 8px; position: relative;
}
.alert-success  { background: rgba(16,185,129,0.1);  border: 1px solid rgba(16,185,129,0.3);  color: #6EE7B7; }
.alert-danger   { background: rgba(239,68,68,0.1);   border: 1px solid rgba(239,68,68,0.3);   color: #FCA5A5; }
.alert-warning  { background: rgba(245,158,11,0.1);  border: 1px solid rgba(245,158,11,0.3);  color: #FCD34D; }
.alert-info     { background: rgba(59,130,246,0.1);  border: 1px solid rgba(59,130,246,0.3);  color: #93C5FD; }
.alert-dismissible { padding-right: 40px; }
.alert-dismissible .close {
  position: absolute; right: 12px; top: 10px;
  background: none; border: none; color: inherit;
  opacity: 0.5; cursor: pointer; font-size: 16px; line-height: 1;
}
.alert-dismissible .close:hover { opacity: 1; }

/* ===================== BADGES ===================== */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 8px; border-radius: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
}
.badge-success,.badge-completed  { background: rgba(16,185,129,0.18); color:#6EE7B7; border: 1px solid rgba(16,185,129,0.3); }
.badge-danger,.badge-canceled    { background: rgba(239,68,68,0.18);  color:#FCA5A5; border: 1px solid rgba(239,68,68,0.3); }
.badge-warning,.badge-pending    { background: rgba(245,158,11,0.18); color:#FCD34D; border: 1px solid rgba(245,158,11,0.3); }
.badge-info,.badge-inprogress,.badge-processing { background: rgba(59,130,246,0.18); color:#93C5FD; border: 1px solid rgba(59,130,246,0.3); }
.badge-secondary { background: rgba(100,116,139,0.18); color:#94A3B8; border: 1px solid rgba(100,116,139,0.3); }
.badge-primary   { background: rgba(124,58,237,0.2); color:var(--nx-primary-lt); border: 1px solid rgba(124,58,237,0.3); }

/* ===================== TABLES ===================== */
.table-wr { border-radius: var(--nx-r); overflow: hidden; border: 1px solid var(--nx-border); }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table thead tr th {
  background: rgba(124,58,237,0.13);
  color: var(--nx-dim); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 11px 15px; border-bottom: 1px solid var(--nx-border); white-space: nowrap;
}
.table tbody tr td {
  padding: 11px 15px; border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--nx-dim); vertical-align: middle;
}
.table tbody tr:hover td { background: rgba(255,255,255,0.02); color: var(--nx-text); }
.table tbody tr:last-child td { border-bottom: none; }
.table-bg { background: var(--nx-card); }

/* ===================== NAV PILLS ===================== */
.nav.nav-pills, .tab {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 4px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--nx-border); border-radius: var(--nx-r-sm); margin-bottom: 18px;
}
.nav-pills .nav-item .nav-link, .tab .nav-item .nav-link {
  display: flex; align-items: center; padding: 7px 14px;
  border-radius: 6px; font-size: 12px; font-weight: 600;
  color: var(--nx-muted); text-decoration: none; transition: var(--nx-t); white-space: nowrap;
}
.nav-pills .nav-item .nav-link:hover, .tab .nav-item .nav-link:hover { background: rgba(255,255,255,0.06); color: var(--nx-text); }
.nav-pills .nav-item .btn-big-primary,
.tab .nav-item .btn-big-primary,
.nav-pills .nav-item .nav-link.active,
.tab .nav-item .nav-link.active {
  background: linear-gradient(135deg,#7C3AED,#9F67FF) !important;
  color: #fff !important; box-shadow: 0 3px 12px rgba(124,58,237,0.4) !important;
  border: none !important; padding: 7px 14px !important; width: auto !important;
  margin-top: 0 !important; border-radius: 6px !important;
}

/* ===================== MODALS ===================== */
.modal .modal-content {
  background: #0F1230; border: 1px solid var(--nx-border2);
  border-radius: var(--nx-r-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}
.modal .modal-header { border-bottom: 1px solid var(--nx-border); padding: 18px 22px; }
.modal .modal-title { font-size: 15px; font-weight: 700; color: var(--nx-text); margin: 0; }
.modal .modal-body { padding: 22px; color: var(--nx-dim); font-size: 13px; }
.modal .modal-footer { border-top: 1px solid var(--nx-border); padding: 14px 22px; }
.modal .close { background: none; border: none; color: var(--nx-muted); font-size: 20px; cursor: pointer; opacity: 0.7; transition: var(--nx-t); }
.modal .close:hover { opacity: 1; color: var(--nx-text); }
.modal-backdrop.show { opacity: 0.7 !important; }

/* Sweet alert */
.swal-modal { background: #0F1230 !important; border: 1px solid var(--nx-border2) !important; border-radius: var(--nx-r-lg) !important; }
.swal-title { color: var(--nx-text) !important; }
.swal-text { color: var(--nx-dim) !important; }
.swal-button { background: linear-gradient(135deg,var(--nx-primary),#9F67FF) !important; border-radius: var(--nx-r-sm) !important; font-weight: 700 !important; }
.swal-overlay { background: rgba(0,0,0,0.7) !important; }

/* ===================== PUBLIC NAV ===================== */
.nx-pub-nav {
  height: 64px;
  background: rgba(7,9,26,0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nx-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; position: sticky; top: 0; z-index: 200;
}
.nx-pub-nav::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(124,58,237,0.6) 50%, transparent 90%);
}
.nx-pub-nav-links { display: flex; align-items: center; gap: 6px; }

/* ===================== NXF — FLIP AUTH CARD ===================== */

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%       { transform: translate(16px,-24px) scale(1.04); }
  66%       { transform: translate(-12px,14px) scale(0.97); }
}

/* Scene: full-height centering wrapper */
.nxf-scene {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 62px);
  padding: 40px 20px;
}

/* The card container */
.nxf-card {
  position: relative;
  display: flex;
  width: 900px; max-width: 100%;
  min-height: 580px;
  background: rgba(8,10,28,0.98);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.75), 0 0 0 1px rgba(124,58,237,0.1);
}
/* Top accent line */
.nxf-card::before {
  content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, #7C3AED, #22D3EE, transparent);
  z-index: 30;
}

/* Form panes - each 50% wide, side by side */
.nxf-pane {
  width: 50%; padding: 52px 44px;
  display: flex; flex-direction: column; justify-content: center;
  overflow-y: auto; position: relative; z-index: 1;
  transition: opacity 0.3s ease;
}
/* Left pane: signup (hidden behind overlay by default) */
.nxf-pane-l { opacity: 0; pointer-events: none; transition: opacity 0.3s ease 0.05s; }
/* Right pane: login (visible by default) */
.nxf-pane-r { opacity: 1; pointer-events: auto; transition: opacity 0.3s ease 0.35s; }

/* Sign mode: swap visibility */
.nxf-card.sign-mode .nxf-pane-l { opacity: 1; pointer-events: auto; transition-delay: 0.35s; }
.nxf-card.sign-mode .nxf-pane-r { opacity: 0; pointer-events: none; transition-delay: 0.05s; }

/* ── Sliding overlay panel ── */
.nxf-overlay {
  position: absolute; left: 0; top: 0; bottom: 0; width: 50%;
  background: linear-gradient(145deg, #3B0D99 0%, #6D28D9 40%, #7C3AED 65%, #5B21B6 100%);
  z-index: 20;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
/* Animated blobs inside overlay */
.nxf-overlay::before {
  content: ''; position: absolute;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255,255,255,0.07); top: -100px; right: -80px;
  animation: orbFloat 9s ease-in-out infinite;
}
.nxf-overlay::after {
  content: ''; position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(34,211,238,0.1); bottom: -50px; left: -40px;
  animation: orbFloat 11s ease-in-out infinite reverse;
}
/* Mesh grid on overlay */
.nxf-overlay-mesh {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
/* Slide overlay right in sign mode */
.nxf-card.sign-mode .nxf-overlay { transform: translateX(100%); }

/* Overlay text blocks */
.nxf-ov-block {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 44px 38px; text-align: center; z-index: 2;
  transition: opacity 0.28s ease, transform 0.4s ease;
}
.nxf-ov-login   { opacity: 1; transform: translateX(0); }
.nxf-ov-signup  { opacity: 0; transform: translateX(24px); pointer-events: none; }
.nxf-card.sign-mode .nxf-ov-login  { opacity: 0; transform: translateX(-24px); pointer-events: none; }
.nxf-card.sign-mode .nxf-ov-signup { opacity: 1; transform: translateX(0); pointer-events: auto; }

/* Overlay icon */
.nxf-ov-icon {
  width: 72px; height: 72px; border-radius: 50%; margin-bottom: 20px;
  background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff;
}
.nxf-ov-title { font-size: 26px; font-weight: 900; color: #fff; margin-bottom: 10px; letter-spacing: -0.5px; }
.nxf-ov-text  { font-size: 13px; color: rgba(255,255,255,0.72); line-height: 1.65; margin-bottom: 28px; max-width: 210px; }
.nxf-ov-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 30px; border-radius: 50px;
  background: transparent; border: 2px solid rgba(255,255,255,0.55);
  color: #fff; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.22s; outline: none;
}
.nxf-ov-btn:hover {
  background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.85);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Form content styles */
.nxf-form-logo { margin-bottom: 26px; }
.nxf-form-logo img { max-height: 36px; max-width: 160px; object-fit: contain; }
.nxf-form-logo-text {
  display: inline-flex; align-items: center; gap: 8px;
}
.nxf-form-logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg,#7C3AED,#22D3EE);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: #fff;
}
.nxf-form-title { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 5px; letter-spacing: -0.5px; }
.nxf-form-sub   { font-size: 13px; color: var(--nx-muted); margin-bottom: 22px; }

/* Input fields */
.nxf-field { position: relative; margin-bottom: 12px; }
.nxf-field-ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--nx-muted); font-size: 13px; pointer-events: none; z-index: 2;
}
.nxf-field input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 11px;
  padding: 13px 14px 13px 40px; color: var(--nx-text); font-size: 14px;
  transition: all 0.2s; outline: none; -webkit-appearance: none;
}
.nxf-field input:focus {
  border-color: var(--nx-primary); background: rgba(124,58,237,0.07);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.18);
}
.nxf-field input::placeholder { color: var(--nx-muted); }
.nxf-field-link {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 11px; color: var(--nx-primary-lt); font-weight: 600;
  text-decoration: none; white-space: nowrap; z-index: 2;
}

/* Submit button */
.nxf-btn {
  width: 100%; padding: 13px; margin-top: 6px;
  background: linear-gradient(135deg, #7C3AED, #9F67FF);
  border: none; border-radius: 11px;
  color: #fff; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: all 0.22s; position: relative; overflow: hidden;
}
.nxf-btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.nxf-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(124,58,237,0.55); }
.nxf-btn:hover::after { opacity: 1; }
.nxf-btn:active { transform: none; }

/* Divider */
.nxf-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0; color: var(--nx-muted); font-size: 12px;
}
.nxf-divider::before, .nxf-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--nx-border);
}

/* How-it-works */
.nx-how { padding: 64px 0; background: rgba(255,255,255,0.012); border-top: 1px solid var(--nx-border); }
.nx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 24px; margin-top: 30px; }
.nx-step { text-align: center; }
.nx-step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.28), rgba(34,211,238,0.12));
  border: 1px solid rgba(124,58,237,0.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; color: var(--nx-primary-lt);
  box-shadow: 0 0 28px rgba(124,58,237,0.25);
}
.nx-step-title { font-size: 13px; font-weight: 700; color: var(--nx-text); margin-bottom: 6px; }
.nx-step-desc  { font-size: 12px; color: var(--nx-muted); line-height: 1.6; }

/* Mobile: stack vertically, no overlay */
@media(max-width:800px) {
  .nxf-scene  { padding: 20px 12px; align-items: flex-start; }
  .nxf-card   { flex-direction: column; min-height: unset; border-radius: 20px; }
  .nxf-overlay { display: none; }
  .nxf-pane   { width: 100%; padding: 32px 24px; opacity: 1 !important; pointer-events: auto !important; }
  .nxf-pane-l { display: none; }
  .nxf-card.sign-mode .nxf-pane-l { display: flex; }
  .nxf-card.sign-mode .nxf-pane-r { display: none; }
  .nxf-mobile-switch { display: block !important; }
}

/* ===================== SECTION HEADINGS (login page below-fold) ===================== */
.nx-section { padding: 56px 0; }
.nx-section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 14px;
  background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.2);
  font-size: 11px; font-weight: 700; color: var(--nx-primary-lt); letter-spacing: 0.8px; text-transform: uppercase;
}
.nx-section-title {
  font-size: 30px; font-weight: 900; color: var(--nx-text);
  text-align: center; letter-spacing: -1px; margin-bottom: 10px;
}
.nx-section-sub { font-size: 14px; text-align: center; color: var(--nx-muted); margin-bottom: 36px; }

/* ===================== PAGINATION ===================== */
.pagination { display: flex; flex-wrap: wrap; gap: 3px; align-items: center; margin-top: 14px; }
.page-item .page-link {
  display: flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 9px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--nx-border2);
  border-radius: var(--nx-r-sm); color: var(--nx-dim);
  text-decoration: none; font-size: 12px; transition: var(--nx-t);
}
.page-item .page-link:hover { background: rgba(124,58,237,0.15); border-color: rgba(124,58,237,0.3); color: var(--nx-text); }
.page-item.active .page-link {
  background: linear-gradient(135deg,var(--nx-primary),#9F67FF);
  border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(124,58,237,0.4);
}
.page-item.disabled .page-link { opacity: 0.35; pointer-events: none; }

/* ===================== FAQ ===================== */
.faq-block__card { margin-bottom: 8px; }
.faq-block__card .card { padding: 0; overflow: hidden; }
.faq-block__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 18px; cursor: pointer; transition: var(--nx-t);
}
.faq-block__header:hover { background: rgba(124,58,237,0.07); }
.faq-block__header-title h4 { font-size: 13px; font-weight: 600; margin: 0; color: var(--nx-text); }
.faq-block__header-icon .faq-block__icon::after { content: '+'; font-size: 18px; color: var(--nx-primary-lt); display: block; line-height: 1; }
.faq-block__header:not(.collapsed) .faq-block__icon::after { content: '−'; }
.faq-block__body { padding: 0 18px 15px; color: var(--nx-dim); font-size: 13px; line-height: 1.6; }

/* ===================== SECTIONS ===================== */
.nx-section { padding: 56px 0; }
.nx-section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: var(--nx-r-50);
  background: rgba(124,58,237,0.12); border: 1px solid rgba(124,58,237,0.3);
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--nx-primary-lt); margin-bottom: 14px;
}
.nx-section-title {
  font-size: 32px; font-weight: 900; text-align: center; letter-spacing: -0.7px;
  margin-bottom: 10px; color: var(--nx-text);
}
.nx-section-sub { font-size: 14px; text-align: center; color: var(--nx-muted); margin-bottom: 36px; }

/* Review card */
.reviews-slider__slide .card { margin: 8px; }
.reviews-slider__slide-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background-size: cover; background-position: center;
  border: 2px solid rgba(124,58,237,0.4); margin-bottom: 12px;
}

/* ===================== SELECT2 overrides ===================== */
.select2-container .select2-selection--single {
  height: 38px !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--nx-border2) !important;
  border-radius: var(--nx-r-sm) !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--nx-text) !important; line-height: 38px !important; padding: 0 10px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 36px !important; }
.select2-dropdown { background: #141728 !important; border: 1px solid var(--nx-border2) !important; border-radius: var(--nx-r-sm) !important; }
.select2-container--default .select2-search--dropdown .select2-search__field {
  background: rgba(255,255,255,0.04) !important; border: 1px solid var(--nx-border2) !important;
  color: var(--nx-text) !important; border-radius: 4px !important;
}
.select2-container--default .select2-results__option { color: var(--nx-dim) !important; padding: 8px 12px !important; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: rgba(124,58,237,0.2) !important; color: var(--nx-text) !important; }
.select2-container--default .select2-results__option[aria-selected=true] { background: rgba(124,58,237,0.1) !important; color: var(--nx-primary-lt) !important; }

/* ===================== ORDER PAGE ===================== */
.nx-order-grid { display: grid; grid-template-columns: 1fr 360px; gap: 18px; align-items: start; }
#service_description, #service_avg_time {
  padding: 13px; background: rgba(124,58,237,0.07);
  border: 1px solid rgba(124,58,237,0.22); border-radius: var(--nx-r-sm);
  color: var(--nx-dim); font-size: 13px; line-height: 1.6; margin-top: 8px;
}
#charge { font-weight: 800; font-size: 16px !important; color: var(--nx-primary-lt) !important; border-color: rgba(124,58,237,0.3) !important; }

/* Category filter */
.nwo-cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
@media(max-width:600px) { .nwo-cats-grid { grid-template-columns: repeat(4, 1fr); } }
@media(max-width:400px) { .nwo-cats-grid { grid-template-columns: repeat(3, 1fr); } }

.nwo-cat-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 4px 8px; border: 1px solid var(--nx-border); border-radius: 12px;
  background: rgba(255,255,255,0.03); color: var(--nx-muted);
  cursor: pointer; transition: var(--nx-t); text-align: center; gap: 7px;
  height: 72px; outline: none;
}
.nwo-cat-btn:hover {
  border-color: rgba(124,58,237,0.4);
  background: rgba(124,58,237,0.07);
  transform: translateY(-2px);
}
.nwo-cat-btn.active {
  border-color: rgba(124,58,237,0.6);
  background: rgba(124,58,237,0.14);
  box-shadow: 0 0 14px rgba(124,58,237,0.2);
}
.noc-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; line-height: 1;
  transition: var(--nx-t);
}
.nwo-cat-btn:hover .noc-icon { background: rgba(255,255,255,0.14); }
.nwo-cat-btn.active .noc-icon { background: var(--nx-primary); box-shadow: 0 0 10px rgba(124,58,237,0.5); }
.nwo-cat-btn.active .noc-icon i { color: #fff !important; }
.noc-text { font-size: 10px; font-weight: 600; line-height: 1.2; color: var(--nx-dim); }

/* ── Custom Category Picker ── */
.nx-cat-picker { position: relative; }
.nx-cat-selected {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px; cursor: pointer; user-select: none;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--nx-border2);
  border-radius: var(--nx-r-sm); transition: var(--nx-t);
  min-height: 42px; color: var(--nx-text);
}
.nx-cat-selected:hover,
.nx-cat-picker.open .nx-cat-selected {
  border-color: rgba(124,58,237,0.7);
  background: rgba(124,58,237,0.07);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.nx-cat-sel-ico {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nx-cat-sel-txt { flex: 1; font-size: 13px; color: var(--nx-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-cat-arrow { margin-left: auto; font-size: 10px; color: var(--nx-muted); transition: transform 0.2s; }
.nx-cat-picker.open .nx-cat-arrow { transform: rotate(180deg); }
.nx-cat-dd {
  display: none; position: absolute; left: 0; right: 0; top: calc(100% + 5px);
  background: #141728; border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--nx-r-sm); box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 200; max-height: 260px; overflow-y: auto;
}
.nx-cat-dd::-webkit-scrollbar { width: 4px; }
.nx-cat-dd::-webkit-scrollbar-track { background: transparent; }
.nx-cat-dd::-webkit-scrollbar-thumb { background: rgba(124,58,237,0.4); border-radius: 4px; }
.nx-cat-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 13px; cursor: pointer; transition: background 0.15s;
}
.nx-cat-item:hover { background: rgba(124,58,237,0.12); }
.nx-cat-item.nx-active .nx-cat-item-txt { color: #A78BFA; font-weight: 600; }
.nx-cat-item.nx-active { background: rgba(124,58,237,0.09); }
.nx-cat-item-ico {
  width: 24px; height: 24px; border-radius: 6px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 12px;
}
.nx-cat-item-txt { font-size: 12.5px; color: var(--nx-dim); line-height: 1.3; }

/* Search dropdown */
#unique-dropdown {
  background: #141728; border: 1px solid var(--nx-border2);
  border-radius: var(--nx-r-sm); box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 1000; position: absolute; max-height: 280px; overflow-y: auto; width: 100%;
}
.selectme { padding: 8px 13px; color: var(--nx-dim); cursor: pointer; list-style: none; font-size: 13px; transition: var(--nx-t); }
.selectme:hover { background: rgba(124,58,237,0.15); color: var(--nx-text); }

/* ===================== NEWS ===================== */
.hq-news-section { border-radius: var(--nx-r) !important; background: var(--nx-card) !important; border: 1px solid var(--nx-border) !important; }
.hq-news-header { background: linear-gradient(135deg, var(--nx-primary), #9F67FF) !important; border-radius: var(--nx-r) var(--nx-r) 0 0 !important; }
.hq-news-card { background: rgba(255,255,255,0.025) !important; border-color: var(--nx-border) !important; color: var(--nx-dim); }
.hq-news-card:hover { border-color: rgba(124,58,237,0.3) !important; background: rgba(124,58,237,0.05) !important; box-shadow: none !important; }
.hq-news-date { color: var(--nx-muted) !important; }
.hq-news-item-title { color: var(--nx-text) !important; }
.hq-news-content { color: var(--nx-dim) !important; }

/* ===================== DASHBOARD ===================== */
.dashboard-content { margin-bottom: 18px; }
.dashboard-content .head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; padding-bottom: 9px; border-bottom: 1px solid var(--nx-border);
}
.dashboard-content .head h5 { font-size: 13px; font-weight: 700; color: var(--nx-text); margin: 0; }
.dashboard-content .content { font-size: 13px; color: var(--nx-dim); }

/* ===================== DROPDOWN ===================== */
.dropdown-menu {
  background: #141728; border: 1px solid var(--nx-border2);
  border-radius: var(--nx-r); box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  padding: 8px; min-width: 180px; display: none; position: absolute; z-index: 1000;
}
.dropdown-menu.show { display: block; }
.dropdown-item {
  color: var(--nx-dim); padding: 8px 12px; border-radius: 6px;
  font-size: 13px; text-decoration: none; display: block; transition: var(--nx-t);
  background: none; border: none; width: 100%; text-align: left; cursor: pointer;
}
.dropdown-item:hover { background: rgba(124,58,237,0.15); color: var(--nx-text); }

/* Balance dropdown */
.balance-dropdown-container { position: relative; }
.balance-dropdown__container {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: #141728; border: 1px solid var(--nx-border2);
  border-radius: var(--nx-r); box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  padding: 8px; min-width: 180px; display: none; z-index: 1000;
}
.balance-dropdown__container.show { display: block; }
.balance-dropdown__link { display: block; padding: 8px 12px; border-radius: 6px; color: var(--nx-dim); font-size: 13px; text-decoration: none; transition: var(--nx-t); border-bottom: none; }
.balance-dropdown__link:hover { background: rgba(124,58,237,0.15); color: var(--nx-text); }

/* ===================== MISC ===================== */
.nx-divider { height: 1px; background: var(--nx-border); margin: 18px 0; }
.nx-api-key {
  font-family: 'Courier New', monospace; font-size: 12px; padding: 11px 13px;
  background: rgba(0,0,0,0.3); border: 1px solid var(--nx-border2);
  border-radius: var(--nx-r-sm); color: var(--nx-secondary); word-break: break-all; letter-spacing: 0.5px;
}
.ChildPanelNote {
  background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.25);
  border-radius: var(--nx-r-sm); padding: 13px; margin-bottom: 12px;
  font-size: 13px; color: var(--nx-dim);
}
.login-with-google-btn {
  width: 100%; padding: 9px 14px; border: 1px solid var(--nx-border2);
  border-radius: var(--nx-r-sm); background: rgba(255,255,255,0.04);
  color: var(--nx-dim); font-size: 13px; font-weight: 500; cursor: pointer;
  transition: var(--nx-t); display: flex; align-items: center; justify-content: center; gap: 10px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=");
  background-repeat: no-repeat; background-position: 12px center; padding-left: 42px;
}
.login-with-google-btn:hover { background-color: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.g-recaptcha { transform: scale(0.92); transform-origin: left; }
.progress { background: rgba(255,255,255,0.06); border-radius: 50px; height: 6px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg,var(--nx-primary),var(--nx-secondary)); border-radius: 50px; transition: width 0.6s ease; }
.spinner-border {
  display: inline-block; width: 2rem; height: 2rem;
  border: 0.25em solid rgba(124,58,237,0.25); border-top-color: var(--nx-primary);
  border-radius: 50%; animation: nxSpin 0.7s linear infinite;
}
@keyframes nxSpin { to { transform: rotate(360deg); } }

/* Sign-in forgot */
.sign-in__forgot { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); }
.sign-in__forgot a { color: var(--nx-primary-lt); font-size: 11px; text-decoration: none; }
.sign-in__forgot a:hover { color: var(--nx-secondary); }

/* Iframe */
iframe { width: 100%; border-radius: var(--nx-r-sm); border: 1px solid var(--nx-border); }
.ment { padding: 14px; }
.ment iframe { border: 1px solid var(--nx-border); }

/* Close btn */
button.close, .close {
  background: none; border: none; color: var(--nx-muted);
  font-size: 18px; cursor: pointer; line-height: 1; padding: 0; opacity: 0.7; transition: var(--nx-t);
}
button.close:hover, .close:hover { opacity: 1; color: var(--nx-text); }

/* Collapse */
.collapse { display: none; }
.collapse.show, .collapse.in { display: block; }
.collapsing { height: 0; overflow: hidden; transition: height 0.3s ease; }

/* ===================== TYPOGRAPHY ===================== */
h1,h2,h3,h4,h5,h6 { color: var(--nx-text); font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
h1 { font-size: 28px; } h2 { font-size: 24px; } h3 { font-size: 20px; }
h4 { font-size: 16px; } h5 { font-size: 14px; } h6 { font-size: 12px; }
p { color: var(--nx-dim); margin-bottom: 12px; font-size: 13px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--nx-text); font-weight: 700; }
a { color: var(--nx-primary-lt); transition: var(--nx-t); text-decoration: none; }
a:hover { color: var(--nx-secondary); text-decoration: none; }
img { max-width: 100%; }
ul,ol { padding-left: 20px; color: var(--nx-dim); font-size: 13px; }
code { font-family: 'Courier New', monospace; font-size: 12px; color: var(--nx-secondary); background: rgba(34,211,238,0.1); padding: 2px 6px; border-radius: 4px; }
.well { padding: 16px; }
.clearfix::after { content: ''; display: table; clear: both; }

/* ===================== GRID ===================== */
.container, .container-fluid { width: 100%; padding: 0 15px; margin: 0 auto; }
.container { max-width: 1200px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
[class^="col"] { padding: 0 10px; }
.col { flex: 1 0 0%; }
.col-1  { flex: 0 0 8.333%;  max-width: 8.333%;  }
.col-2  { flex: 0 0 16.666%; max-width: 16.666%; }
.col-3  { flex: 0 0 25%;     max-width: 25%;     }
.col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.col-5  { flex: 0 0 41.666%; max-width: 41.666%; }
.col-6  { flex: 0 0 50%;     max-width: 50%;     }
.col-7  { flex: 0 0 58.333%; max-width: 58.333%; }
.col-8  { flex: 0 0 66.666%; max-width: 66.666%; }
.col-9  { flex: 0 0 75%;     max-width: 75%;     }
.col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.col-11 { flex: 0 0 91.666%; max-width: 91.666%; }
.col-12 { flex: 0 0 100%;    max-width: 100%;    }
@media(min-width:576px){
  .col-sm-3{flex:0 0 25%;max-width:25%;} .col-sm-4{flex:0 0 33.333%;max-width:33.333%;}
  .col-sm-6{flex:0 0 50%;max-width:50%;} .col-sm-12{flex:0 0 100%;max-width:100%;}
}
@media(min-width:768px){
  .col-md-3{flex:0 0 25%;max-width:25%;} .col-md-4{flex:0 0 33.333%;max-width:33.333%;}
  .col-md-5{flex:0 0 41.666%;max-width:41.666%;} .col-md-6{flex:0 0 50%;max-width:50%;}
  .col-md-7{flex:0 0 58.333%;max-width:58.333%;} .col-md-8{flex:0 0 66.666%;max-width:66.666%;}
  .col-md-9{flex:0 0 75%;max-width:75%;} .col-md-10{flex:0 0 83.333%;max-width:83.333%;}
  .col-md-12{flex:0 0 100%;max-width:100%;}
}
@media(min-width:992px){
  .col-lg-3{flex:0 0 25%;max-width:25%;} .col-lg-4{flex:0 0 33.333%;max-width:33.333%;}
  .col-lg-5{flex:0 0 41.666%;max-width:41.666%;} .col-lg-6{flex:0 0 50%;max-width:50%;}
  .col-lg-7{flex:0 0 58.333%;max-width:58.333%;} .col-lg-8{flex:0 0 66.666%;max-width:66.666%;}
  .col-lg-10{flex:0 0 83.333%;max-width:83.333%;} .col-lg-12{flex:0 0 100%;max-width:100%;}
  .d-lg-none{display:none !important;} .d-lg-block{display:block !important;}
  .col-lg-3{flex:0 0 25%;max-width:25%;}
}

/* ===================== UTILITIES ===================== */
.text-center{text-align:center !important;} .text-right{text-align:right !important;}
.text-muted{color:var(--nx-muted) !important;} .text-primary{color:var(--nx-primary-lt) !important;}
.text-success{color:#6EE7B7 !important;} .text-danger{color:#FCA5A5 !important;}
.d-flex{display:flex;} .d-block{display:block;} .d-none{display:none !important;}
.d-inline-flex{display:inline-flex;}
.align-items-center{align-items:center;} .justify-content-center{justify-content:center;}
.justify-content-between{justify-content:space-between;} .justify-content-start{justify-content:flex-start;}
.flex-wrap{flex-wrap:wrap;} .flex-column{flex-direction:column;}
.w-100{width:100%;} .h-100{height:100%;}
.gap-1{gap:4px;} .gap-2{gap:8px;} .gap-3{gap:14px;} .gap-4{gap:20px;}
.mt-0{margin-top:0 !important;} .mt-1{margin-top:4px !important;} .mt-2{margin-top:8px !important;}
.mt-3{margin-top:14px !important;} .mt-4{margin-top:20px !important;} .mt-5{margin-top:28px !important;}
.mb-0{margin-bottom:0 !important;} .mb-1{margin-bottom:4px !important;} .mb-2{margin-bottom:8px !important;}
.mb-3{margin-bottom:14px !important;} .mb-4{margin-bottom:20px !important;} .mb-5{margin-bottom:28px !important;}
.mr-2{margin-right:8px;} .ml-2{margin-left:8px;}
.pt-2{padding-top:8px;} .pt-3{padding-top:14px;} .pt-5{padding-top:28px !important;}
.pb-2{padding-bottom:8px;} .pb-3{padding-bottom:14px;}
.p-0{padding:0 !important;} .p-3{padding:14px;} .p-4{padding:20px;}
.position-relative{position:relative;} .overflow-hidden{overflow:hidden;}
.nowrap{white-space:nowrap;} .fw-bold{font-weight:700;}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* Compat wrappers */
.wrapper-content { min-height: calc(100vh - var(--nx-topbar-h)); }
.wrapper-content__body { padding: 0; }
.wrapper-content__header { display: none; }
.wrapper-content__footer { height: 30px; }
.h4 { font-size: 16px; font-weight: 700; color: var(--nx-text); }

/* ===================== RESPONSIVE ===================== */
@media(max-width:991px){
  .nx-sidebar { transform: translateX(-100%); }
  .nx-sidebar.open { transform: translateX(0); }
  .nx-main { margin-left: 0; }
  .nx-toggle { display: flex; }
  .nx-page { padding: 14px 14px 40px; }
  .nx-stats { grid-template-columns: repeat(2,1fr); }
  .nx-auth-heading { font-size: 32px; }
  .nx-order-grid { grid-template-columns: 1fr; }
}
@media(max-width:576px){
  .nx-stats { grid-template-columns: 1fr; }
  .nx-auth-card { padding: 22px; border-radius: var(--nx-r-lg); }
  .nx-section-title { font-size: 24px; }
  .nx-auth-stats { grid-template-columns: 1fr 1fr; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ===================== FILTER HEADER ===================== */
.card_v2 { background: var(--nx-card); border: 1px solid var(--nx-border); border-radius: var(--nx-r); overflow: hidden; }
.filter-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; cursor: pointer; transition: var(--nx-t); border-bottom: 1px solid var(--nx-border);
}
.filter-header:hover { background: rgba(255,255,255,0.03); }
.filter-header span { font-size: 13px; font-weight: 700; color: var(--nx-text); }
.filter-hide { background: none; border: none; color: var(--nx-muted); cursor: pointer; padding: 4px; border-radius: 4px; transition: var(--nx-t); font-size: 13px; }
.filter-hide:hover { background: rgba(255,255,255,0.08); color: var(--nx-text); }
.filter-wrapper { display: none; grid-template-columns: repeat(5,1fr); gap: 8px; padding: 14px; background: transparent; }
.filter-wrapper.show { display: grid; }
@media(max-width:480px){ .filter-wrapper { grid-template-columns: repeat(3,1fr); } }

/* ===================== TICKET ===================== */
.nx-ticket-msg {
  background: rgba(255,255,255,0.03); border: 1px solid var(--nx-border);
  border-radius: var(--nx-r-sm); padding: 14px; margin-bottom: 12px;
  font-size: 13px; color: var(--nx-dim);
}
.nx-ticket-msg.nx-admin { background: rgba(124,58,237,0.07); border-color: rgba(124,58,237,0.22); }

/* ===================== SUCCESS ===================== */
.nx-success-wrap { text-align: center; padding: 60px 24px; }
.nx-success-icon {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(16,185,129,0.05));
  border: 2px solid rgba(16,185,129,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #10B981; box-shadow: 0 0 40px rgba(16,185,129,0.2);
}

/* ===================== BLOG ===================== */
.nx-blog-card { background: var(--nx-card); border: 1px solid var(--nx-border); border-radius: var(--nx-r); overflow: hidden; transition: var(--nx-t); }
.nx-blog-card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.nx-blog-card img { width: 100%; height: 180px; object-fit: cover; border: none; border-radius: 0; }
.nx-blog-card-body { padding: 18px; }

/* Slider */
.slick-prev, .slick-next { cursor: pointer; background: rgba(255,255,255,0.06); border: 1px solid var(--nx-border2); border-radius: var(--nx-r-sm); padding: 10px 20px; color: var(--nx-text); transition: var(--nx-t); }
.slick-prev:hover, .slick-next:hover { background: rgba(124,58,237,0.2); }
.slick-dots li button:before { color: var(--nx-muted); font-size: 10px; }
.slick-dots li.slick-active button:before { color: var(--nx-primary-lt); }

/* Table no padding */
.nx-table-card .card { padding: 0; overflow: hidden; }

/* Refill, transfer, coupon helpers */
.nx-form-card { margin-bottom: 18px; }

/* Services */
.services-table { width: 100%; }
.services-table th { cursor: pointer; user-select: none; }
.services-table th:hover { background: rgba(124,58,237,0.2) !important; }

/* Category filter from neworder */
.category_filter_wrap { width: 100%; }
