/* =========================================================================
   Nayi Bhoomi — Premium Theme Stylesheet
   Palette: Deep Forest Green × Premium Gold × Ivory
   ========================================================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --green-primary : #0E3B2E;
  --green-dark    : #07261D;
  --green-light   : #164D3C;
  --gold-primary  : #C89B3C;
  --gold-soft     : #D9B867;
  --gold-pale     : #F0DFA8;
  --ivory         : #F9F6EF;
  --bg            : #F5F3EE;
  --bg-card       : #FFFFFF;
  --text          : #1E1E1E;
  --text-muted    : #6D6D6D;
  --border        : #E6DDC9;
  --border-light  : #EEE9DC;
  --shadow-sm     : 0 2px 12px rgba(14,59,46,.07);
  --shadow-md     : 0 6px 32px rgba(14,59,46,.10);
  --shadow-lg     : 0 16px 56px rgba(14,59,46,.13);
  --radius        : 18px;
  --radius-sm     : 10px;
  --radius-pill   : 50px;
  --sidebar-w     : 270px;
  --topnav-h      : 68px;
  --transition    : all .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
}
a { color: var(--gold-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-soft); }
img { max-width: 100%; display: block; }

/* ── Page Fade-in ── */
@keyframes pageFade {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}
.page-content { animation: pageFade .45s ease both; }

/* =========================================================================
   SIDEBAR
   ========================================================================= */
.nb-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--green-dark);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  overflow-x: hidden;
}
.nb-sidebar::-webkit-scrollbar { width: 4px; }
.nb-sidebar::-webkit-scrollbar-thumb { background: rgba(200,155,60,.3); border-radius: 4px; }

/* Brand */
.nb-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 22px 20px;
  border-bottom: 1px solid rgba(230,221,201,.08);
}
.nb-brand img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; }
.nb-brand-text { display: flex; flex-direction: column; }
.nb-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: .02em;
  line-height: 1.1;
}
.nb-brand-tagline {
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  font-weight: 500;
}

/* User mini */
.nb-sidebar-user {
  margin: 16px 16px 0;
  padding: 14px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(200,155,60,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
}
.nb-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-soft));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 700;
  color: var(--green-dark);
  flex-shrink: 0;
}
.nb-sidebar-user-name {
  font-size: 13px; font-weight: 600;
  color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nb-sidebar-user-id {
  font-size: 11px; color: rgba(255,255,255,.45);
  font-weight: 400;
}

/* Nav */
.nb-nav { padding: 18px 10px 10px; flex: 1; }
.nb-nav-section {
  font-size: 10px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 10px 12px 6px;
}
.nb-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.72);
  font-size: 14px; font-weight: 500;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.nb-nav a i { font-size: 17px; width: 20px; text-align: center; flex-shrink: 0; }
.nb-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}
.nb-nav a.active {
  color: var(--gold-primary);
  background: rgba(200,155,60,.12);
}
.nb-nav a.active::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: var(--gold-primary);
  border-radius: 0 4px 4px 0;
}

/* Sidebar footer */
.nb-sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(230,221,201,.08);
}
.nb-sidebar-footer a {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nb-sidebar-footer a:hover { color: #ff7070; background: rgba(255,80,80,.08); }

/* =========================================================================
   TOP NAVIGATION
   ========================================================================= */
.nb-topnav {
  position: fixed;
  top: 0; left: var(--sidebar-w);
  right: 0;
  height: var(--topnav-h);
  background: rgba(249,246,239,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 900;
  transition: left .3s;
}

.nb-topnav-left { display: flex; align-items: center; gap: 16px; }
.nb-topnav-right { display: flex; align-items: center; gap: 8px; }

/* Hamburger */
.nb-hamburger {
  width: 38px; height: 38px;
  border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
  border-radius: 8px;
  transition: var(--transition);
}
.nb-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--green-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nb-hamburger:hover { background: var(--border-light); }

/* Page title in topnav */
.nb-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 600;
  color: var(--green-primary);
}

/* Top nav icon buttons */
.nb-topnav-btn {
  position: relative;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--green-primary);
  font-size: 18px;
}
.nb-topnav-btn:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
.nb-topnav-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--gold-primary);
  color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ivory);
}

/* Topnav profile */
.nb-topnav-profile {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.nb-topnav-profile:hover { border-color: var(--gold-primary); }
.nb-topnav-profile .nb-avatar { width: 30px; height: 30px; font-size: 14px; }
.nb-topnav-profile-name {
  font-size: 13px; font-weight: 600;
  color: var(--green-primary);
  max-width: 110px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* =========================================================================
   MAIN WRAPPER
   ========================================================================= */
.nb-wrapper {
  margin-left: var(--sidebar-w);
  margin-top: var(--topnav-h);
  min-height: calc(100vh - var(--topnav-h));
  padding: 30px 28px;
  transition: margin-left .3s;
}

/* =========================================================================
   CARDS
   ========================================================================= */
.nb-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
}
.nb-card:hover { box-shadow: var(--shadow-md); }

.nb-card-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Stat card */
.nb-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.nb-stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.nb-stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-soft));
  opacity: 0;
  transition: opacity .3s;
}
.nb-stat-card:hover::after { opacity: 1; }

.nb-stat-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted);
}
.nb-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 700;
  color: var(--green-primary);
  line-height: 1;
}
.nb-stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(200,155,60,.12), rgba(217,184,103,.06));
  border: 1px solid rgba(200,155,60,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--gold-primary);
}
.nb-stat-row {
  display: flex; align-items: center;
  justify-content: space-between;
}
.nb-stat-change {
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 3px;
}
.nb-stat-change.up   { color: #22a06b; }
.nb-stat-change.down { color: #e2483d; }

/* Card header */
.nb-card-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.nb-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 600;
  color: var(--green-primary);
}
.nb-card-subtitle {
  font-size: 12px; color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* Gold accent card */
.nb-card-gold {
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-light) 100%);
  border: 1px solid rgba(200,155,60,.3);
  color: #fff;
}
.nb-card-gold .nb-stat-value,
.nb-card-gold .nb-card-title { color: var(--gold-soft); }
.nb-card-gold .nb-stat-label { color: rgba(255,255,255,.6); }

/* =========================================================================
   BUTTONS
   ========================================================================= */
.nb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
/* Ripple */
.nb-btn::after {
  content: '';
  position: absolute;
  width: 0; height: 0;
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  opacity: 0;
  transition: width .6s, height .6s, opacity .6s;
}
.nb-btn:active::after { width: 300px; height: 300px; opacity: 0; transition: 0s; }

.nb-btn-gold {
  background: var(--gold-primary);
  color: var(--green-dark);
  box-shadow: 0 4px 16px rgba(200,155,60,.3);
}
.nb-btn-gold:hover {
  background: var(--gold-soft);
  box-shadow: 0 6px 24px rgba(200,155,60,.4);
  transform: translateY(-1px);
  color: var(--green-dark);
}

.nb-btn-green {
  background: var(--green-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(14,59,46,.25);
}
.nb-btn-green:hover {
  background: var(--green-light);
  transform: translateY(-1px);
  color: #fff;
}

.nb-btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-primary);
}
.nb-btn-outline:hover {
  background: rgba(200,155,60,.08);
  transform: translateY(-1px);
}

.nb-btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}
.nb-btn-ghost:hover { border-color: var(--green-primary); color: var(--green-primary); }

.nb-btn-sm { padding: 7px 18px; font-size: 13px; }
.nb-btn-lg { padding: 14px 34px; font-size: 16px; }
.nb-btn-block { display: flex; width: 100%; }

/* =========================================================================
   FORMS
   ========================================================================= */
.nb-form-group { margin-bottom: 20px; }
.nb-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--green-primary);
  margin-bottom: 7px;
  letter-spacing: .01em;
}
.nb-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--ivory);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.nb-input::placeholder { color: #B0A98B; }
.nb-input:focus {
  border-color: var(--gold-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200,155,60,.12);
}
.nb-input.is-invalid { border-color: #e2483d; }
.nb-invalid-feedback { font-size: 12px; color: #e2483d; margin-top: 5px; }
.nb-input-icon { position: relative; }
.nb-input-icon .nb-input { padding-left: 44px; }
.nb-input-icon i {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); font-size: 17px;
}
.nb-input-icon .nb-input-eye {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  cursor: pointer; color: var(--text-muted); font-size: 17px;
  left: auto;
}

/* Select */
select.nb-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236D6D6D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* =========================================================================
   TABLES
   ========================================================================= */
.nb-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.nb-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.nb-table thead tr {
  background: var(--green-primary);
  color: #fff;
  position: sticky; top: 0; z-index: 1;
}
.nb-table thead th {
  padding: 13px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nb-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background .15s;
}
.nb-table tbody tr:nth-child(even) { background: rgba(245,243,238,.6); }
.nb-table tbody tr:hover { background: rgba(200,155,60,.05); }
.nb-table td {
  padding: 13px 16px;
  vertical-align: middle;
}
.nb-table tfoot td {
  padding: 11px 16px;
  background: var(--bg);
  border-top: 2px solid var(--border);
  font-weight: 600;
  font-size: 13px;
}

/* =========================================================================
   BADGES
   ========================================================================= */
.nb-badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}
.badge-credit   { background: rgba(34,160,107,.12); color: #16854a; }
.badge-debit    { background: rgba(226,72,61,.10);  color: #c0392b; }
.badge-referral { background: rgba(200,155,60,.15); color: #9a7020; }
.badge-roi      { background: rgba(14,59,46,.10);   color: var(--green-primary); }
.badge-level    { background: rgba(100,80,200,.10); color: #5040bb; }
.badge-bonus    { background: rgba(34,160,107,.12); color: #16854a; }
.badge-neutral  { background: rgba(109,109,109,.1); color: var(--text-muted); }
.badge-active   { background: rgba(34,160,107,.12); color: #16854a; }
.badge-pending  { background: rgba(200,155,60,.15); color: #9a7020; }
.badge-inactive { background: rgba(109,109,109,.1); color: var(--text-muted); }

/* =========================================================================
   ALERTS / FLASH
   ========================================================================= */
.nb-alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border-left: 4px solid;
  margin-bottom: 20px;
  animation: pageFade .3s ease;
}
.nb-alert-success { background: rgba(34,160,107,.08); border-color: #22a06b; color: #0e5c38; }
.nb-alert-danger  { background: rgba(226,72,61,.08);  border-color: #e2483d; color: #a0211a; }
.nb-alert-warning { background: rgba(200,155,60,.10); border-color: var(--gold-primary); color: #7a5a10; }
.nb-alert-info    { background: rgba(14,59,46,.07);   border-color: var(--green-primary); color: var(--green-primary); }
.nb-alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* =========================================================================
   TOAST NOTIFICATIONS
   ========================================================================= */
.nb-toast-container {
  position: fixed; top: 84px; right: 24px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
  max-width: 360px;
}
.nb-toast {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s cubic-bezier(.4,0,.2,1) both;
  font-size: 14px;
}
.nb-toast.removing { animation: toastOut .3s ease forwards; }
@keyframes toastIn  { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }
@keyframes toastOut { to   { opacity:0; transform:translateX(40px); } }
.nb-toast-icon { font-size: 20px; flex-shrink: 0; }
.nb-toast-success .nb-toast-icon { color: #22a06b; }
.nb-toast-danger  .nb-toast-icon { color: #e2483d; }
.nb-toast-warning .nb-toast-icon { color: var(--gold-primary); }
.nb-toast-close {
  margin-left: auto; background: none; border: none;
  color: var(--text-muted); cursor: pointer; font-size: 16px;
  line-height: 1; padding: 0 2px;
}

/* =========================================================================
   PAGINATION
   ========================================================================= */
.nb-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 22px; flex-wrap: wrap;
}
.nb-pagination a,
.nb-pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 13px; font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text);
  transition: var(--transition);
  padding: 0 10px;
}
.nb-pagination a:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
.nb-pagination span.active {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #fff;
}
.nb-pagination span.dots { border: none; color: var(--text-muted); }

/* =========================================================================
   SECTION TITLES
   ========================================================================= */
.nb-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 6px;
}
.nb-section-sub {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 24px;
}

/* =========================================================================
   DIVIDER
   ========================================================================= */
.nb-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  border: none; margin: 24px 0;
}
.nb-divider-gold {
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* =========================================================================
   SKELETON LOADING
   ========================================================================= */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.nb-skeleton {
  background: linear-gradient(90deg, #f0ece2 25%, #e6e0d0 50%, #f0ece2 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 6px;
}

/* =========================================================================
   SCROLL BAR (thin, elegant)
   ========================================================================= */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }

/* =========================================================================
   AUTH PAGES
   ========================================================================= */
.nb-auth-wrap {
  min-height: 100vh;
  display: flex;
  background: var(--green-dark);
}
.nb-auth-left {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 48px;
  background: linear-gradient(160deg, var(--green-dark) 0%, var(--green-primary) 100%);
  position: relative;
  overflow: hidden;
}
.nb-auth-left::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(200,155,60,.06);
  top: -100px; right: -100px;
}
.nb-auth-left::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(200,155,60,.04);
  bottom: -60px; left: -60px;
}
.nb-auth-left-content {
  position: relative; z-index: 1;
  max-width: 420px; text-align: center;
}
.nb-auth-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 8px;
  display: block;
}
.nb-auth-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px; font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 10px;
}
.nb-auth-brand-tagline {
  font-size: 14px; color: rgba(255,255,255,.5);
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 36px;
}
.nb-auth-feature {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(200,155,60,.12);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  text-align: left;
}
.nb-auth-feature i { font-size: 20px; color: var(--gold-primary); flex-shrink: 0; }
.nb-auth-feature-text strong { display: block; color: #fff; font-size: 14px; font-weight: 600; }
.nb-auth-feature-text span  { font-size: 12px; color: rgba(255,255,255,.45); }

.nb-auth-right {
  width: 480px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--ivory);
  padding: 48px 52px;
}
.nb-auth-form-wrap { width: 100%; }
.nb-auth-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px; font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 6px;
}
.nb-auth-sub {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 32px;
}

/* =========================================================================
   CHART CONTAINER
   ========================================================================= */
.nb-chart-container {
  position: relative;
  height: 240px;
}

/* =========================================================================
   REFERRAL LINK BOX
   ========================================================================= */
.nb-referral-link {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ivory);
}
.nb-referral-link input {
  flex: 1; border: none; background: transparent;
  padding: 12px 16px; font-size: 13px; color: var(--text-muted);
  outline: none; font-family: 'Inter', monospace;
}
.nb-referral-link button {
  border: none; background: var(--green-primary);
  color: #fff; padding: 12px 18px;
  font-size: 13px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.nb-referral-link button:hover { background: var(--green-light); }

/* =========================================================================
   TIMELINE (passbook)
   ========================================================================= */
.nb-timeline { list-style: none; padding: 0; }
.nb-timeline li {
  display: flex; gap: 16px;
  padding-bottom: 22px;
  position: relative;
}
.nb-timeline li::before {
  content: '';
  position: absolute;
  left: 17px; top: 36px; bottom: 0;
  width: 1px;
  background: var(--border);
}
.nb-timeline li:last-child::before { display: none; }
.nb-timeline-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text-muted);
  flex-shrink: 0;
}
.nb-timeline-dot.credit { border-color: #22a06b; color: #22a06b; background: rgba(34,160,107,.08); }
.nb-timeline-dot.debit  { border-color: #e2483d; color: #e2483d; background: rgba(226,72,61,.08); }
.nb-timeline-content { flex: 1; }
.nb-timeline-title { font-size: 14px; font-weight: 600; color: var(--text); }
.nb-timeline-time  { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.nb-timeline-amount{ font-size: 16px; font-weight: 700; font-family: 'Cormorant Garamond', serif; }
.nb-timeline-amount.credit { color: #22a06b; }
.nb-timeline-amount.debit  { color: #e2483d; }

/* =========================================================================
   PROGRESS BAR
   ========================================================================= */
.nb-progress { height: 8px; background: var(--border-light); border-radius: 4px; overflow: hidden; }
.nb-progress-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-soft));
  transition: width .8s cubic-bezier(.4,0,.2,1);
}

/* =========================================================================
   EMPTY STATE
   ========================================================================= */
.nb-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.nb-empty i { font-size: 48px; color: var(--border); display: block; margin-bottom: 16px; }
.nb-empty h4 { font-size: 18px; color: var(--text); margin-bottom: 8px; }
.nb-empty p  { font-size: 14px; max-width: 320px; margin: 0 auto; }

/* =========================================================================
   UTILITY
   ========================================================================= */
.text-gold   { color: var(--gold-primary) !important; }
.text-green  { color: var(--green-primary) !important; }
.text-muted  { color: var(--text-muted) !important; }
.text-credit { color: #22a06b !important; }
.text-debit  { color: #e2483d !important; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.font-display { font-family: 'Cormorant Garamond', serif; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex   { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-100  { width: 100%; }
.mt-1 { margin-top: 6px; }  .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 20px; }
.mb-1 { margin-bottom: 6px; }.mb-2 { margin-bottom: 12px; }.mb-3 { margin-bottom: 20px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
.nb-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(7,38,29,.5);
  z-index: 999;
  backdrop-filter: blur(2px);
}
.nb-overlay.active { display: block; }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nb-sidebar {
    transform: translateX(calc(-1 * var(--sidebar-w)));
  }
  .nb-sidebar.open { transform: translateX(0); }
  .nb-topnav { left: 0; }
  .nb-wrapper { margin-left: 0; }
  .nb-auth-left { display: none; }
  .nb-auth-right { width: 100%; }
}

@media (max-width: 640px) {
  .nb-wrapper { padding: 18px 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nb-topnav { padding: 0 16px; }
  .nb-auth-right { padding: 36px 24px; }
  .nb-auth-title { font-size: 28px; }
}
