/* ══════════════════════════════════════════════
   NETBILL PRO — Main Stylesheet
   Mobile-first, fully responsive
   Font: Nunito (Google Fonts)
   ══════════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    --nb-primary:        #1565C0;
    --nb-primary-dark:   #0D47A1;
    --nb-primary-light:  #E3F2FD;
    --nb-accent:         #00ACC1;
    --nb-success:        #2E7D32;
    --nb-warning:        #F57F17;
    --nb-danger:         #C62828;
    --nb-purple:         #6A1B9A;
    --nb-orange:         #E65100;

    --nb-sidebar-width:  260px;
    --nb-topbar-height:  60px;
    --nb-bottom-nav-h:   64px;

    --nb-bg:             #F4F6FB;
    --nb-surface:        #FFFFFF;
    --nb-border:         #E0E6F0;
    --nb-text:           #1A1A2E;
    --nb-text-muted:     #6B7280;
    --nb-sidebar-bg:     #0D1B3E;
    --nb-sidebar-text:   #C5D0E8;
    --nb-sidebar-active: #1565C0;

    --nb-radius:         10px;
    --nb-radius-sm:      6px;
    --nb-shadow:         0 2px 12px rgba(0,0,0,0.08);
    --nb-shadow-md:      0 4px 20px rgba(0,0,0,0.12);

    font-family: 'Nunito', sans-serif;
}

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

body { font-family: 'Nunito', sans-serif; font-size: 14px; color: var(--nb-text); }

/* ══════════════════════════════════════════════
   APP LAYOUT
   ══════════════════════════════════════════════ */
.nb-body {
    background: var(--nb-bg);
    min-height: 100vh;
    display: flex;
}

/* ── Sidebar ── */
.nb-sidebar {
    width: var(--nb-sidebar-width);
    background: var(--nb-sidebar-bg);
    height: 100vh;
    position: fixed;
    top: 0; left: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    overflow: hidden;
}

/* Mobile: sidebar hidden off-screen by default */
@media (max-width: 991px) {
    .nb-sidebar {
        transform: translateX(-100%);
    }
    .nb-sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 30px rgba(0,0,0,0.3);
    }
}

.nb-sidebar-brand {
    padding: 0 16px;
    height: var(--nb-topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}

.nb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
}
.nb-logo-icon {
    width: 34px; height: 34px;
    background: var(--nb-primary);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.nb-logo-text {
    font-size: 18px;
    color: #fff;
    letter-spacing: -0.3px;
}
.nb-logo-text strong { color: #60A5FA; }

.nb-sidebar-toggle-close {
    background: none;
    border: none;
    color: var(--nb-sidebar-text);
    font-size: 20px;
    padding: 4px 8px;
    cursor: pointer;
}

/* Business badge in sidebar */
.nb-business-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin: 10px 10px 0;
    background: rgba(255,255,255,0.06);
    border-radius: 8px;
    flex-shrink: 0;
}
.nb-business-icon {
    width: 36px; height: 36px;
    background: var(--nb-primary);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
}
.nb-business-name { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.2; }
.nb-business-role { font-size: 11px; color: var(--nb-sidebar-text); }

/* Navigation */
.nb-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.nb-nav-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.3);
    padding: 14px 10px 4px;
}

.nb-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--nb-radius-sm);
    color: var(--nb-sidebar-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 1px;
    transition: all 0.15s ease;
    position: relative;
}
.nb-nav-item i { font-size: 16px; flex-shrink: 0; width: 20px; text-align: center; }
.nb-nav-item span { flex: 1; }
.nb-nav-item:hover { background: rgba(255,255,255,0.07); color: #fff; }
.nb-nav-item.active {
    background: var(--nb-primary);
    color: #fff;
    font-weight: 700;
}
.nb-nav-badge {
    font-size: 9px;
    font-weight: 800;
    background: #EF4444;
    color: #fff;
    padding: 1px 5px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.nb-sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}
.nb-plan-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #FCD34D;
    font-weight: 600;
}

/* ── Sidebar Overlay (mobile) ── */
.nb-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
}
.nb-sidebar-overlay.active { display: block; }

/* ── Main Content Area ── */
.nb-main {
    flex: 1;
    margin-left: var(--nb-sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.3s ease;
}
@media (max-width: 991px) {
    .nb-main { margin-left: 0; }
}

/* ── Topbar ── */
.nb-topbar {
    height: var(--nb-topbar-height);
    background: var(--nb-surface);
    border-bottom: 1px solid var(--nb-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nb-topbar-left { display: flex; align-items: center; gap: 14px; }

.nb-hamburger {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--nb-text);
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 6px;
    display: flex; align-items: center;
    transition: background 0.15s;
}
.nb-hamburger:hover { background: var(--nb-bg); }
/* Hide hamburger on desktop */
@media (min-width: 992px) { .nb-hamburger { display: none; } }

.nb-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--nb-text-muted); }
.nb-breadcrumb-root { color: var(--nb-text-muted); }
.nb-breadcrumb-sep { font-size: 10px; }
.nb-breadcrumb-current { color: var(--nb-text); font-weight: 600; }

.nb-topbar-right { display: flex; align-items: center; gap: 10px; }

.nb-btn-new-bill {
    display: flex; align-items: center; gap: 6px;
    background: var(--nb-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
    font-family: 'Nunito', sans-serif;
}
.nb-btn-new-bill:hover { background: var(--nb-primary-dark); color: #fff; }

.nb-topbar-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: var(--nb-text-muted);
    cursor: pointer;
    position: relative;
    transition: background 0.15s;
}
.nb-topbar-icon:hover { background: var(--nb-bg); }
.nb-alert-dot {
    position: absolute;
    top: 7px; right: 7px;
    width: 8px; height: 8px;
    background: #EF4444;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* User menu */
.nb-user-btn {
    display: flex; align-items: center; gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    transition: background 0.15s;
}
.nb-user-btn:hover { background: var(--nb-bg); }
.nb-user-btn::after { display: none; }
.nb-user-avatar {
    width: 32px; height: 32px;
    background: var(--nb-primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 14px;
}
.nb-user-name { font-size: 13px; font-weight: 600; color: var(--nb-text); }

.nb-dropdown {
    border: 1px solid var(--nb-border);
    border-radius: var(--nb-radius);
    box-shadow: var(--nb-shadow-md);
    padding: 4px;
    min-width: 200px;
}
.nb-dropdown-header { padding: 10px 12px; }
.nb-dropdown-header strong { display: block; font-size: 13px; color: var(--nb-text); }
.nb-dropdown-header small { color: var(--nb-text-muted); font-size: 12px; }
.nb-dropdown .dropdown-item { border-radius: 6px; font-size: 13px; padding: 8px 12px; font-family: 'Nunito', sans-serif; }

/* ── Page Content ── */
.nb-content {
    flex: 1;
    padding: 20px;
    padding-bottom: calc(var(--nb-bottom-nav-h) + 20px);
}
@media (min-width: 992px) {
    .nb-content { padding-bottom: 20px; }
}
@media (max-width: 576px) {
    .nb-content { padding: 12px; }
}

/* ── Mobile Bottom Nav ── */
.nb-bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--nb-bottom-nav-h);
    background: var(--nb-surface);
    border-top: 1px solid var(--nb-border);
    z-index: 500;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
}
.nb-bottom-nav-item {
    display: flex; flex-direction: column;
    align-items: center; gap: 3px;
    color: var(--nb-text-muted);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 10px;
    transition: all 0.15s;
    flex: 1;
}
.nb-bottom-nav-item i { font-size: 20px; }
.nb-bottom-nav-item.active { color: var(--nb-primary); }
.nb-bottom-nav-center {
    width: 52px; height: 52px;
    background: var(--nb-primary);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(21,101,192,0.4);
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.15s;
}
.nb-bottom-nav-center:hover { transform: scale(1.05); color: #fff; }

/* ══════════════════════════════════════════════
   DASHBOARD COMPONENTS
   ══════════════════════════════════════════════ */

/* Stat Cards Grid */
.nb-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
@media (max-width: 1100px) { .nb-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px)  { .nb-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.nb-stat-card {
    background: var(--nb-surface);
    border-radius: var(--nb-radius);
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--nb-shadow);
    border-left: 4px solid transparent;
    transition: transform 0.15s, box-shadow 0.15s;
}
.nb-stat-card:hover { transform: translateY(-2px); box-shadow: var(--nb-shadow-md); }

.nb-stat-sales   { border-color: var(--nb-primary); }
.nb-stat-purchase{ border-color: var(--nb-purple); }
.nb-stat-udhaar  { border-color: var(--nb-danger); }
.nb-stat-stock   { border-color: var(--nb-warning); }

.nb-stat-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.nb-stat-sales .nb-stat-icon    { background: #E3F2FD; color: var(--nb-primary); }
.nb-stat-purchase .nb-stat-icon { background: #F3E5F5; color: var(--nb-purple); }
.nb-stat-udhaar .nb-stat-icon   { background: #FFEBEE; color: var(--nb-danger); }
.nb-stat-stock .nb-stat-icon    { background: #FFF8E1; color: var(--nb-warning); }

.nb-stat-label { font-size: 12px; color: var(--nb-text-muted); font-weight: 600; }
.nb-stat-value { font-size: 22px; font-weight: 800; color: var(--nb-text); line-height: 1.2; }
.nb-stat-sub   { font-size: 12px; color: var(--nb-text-muted); margin-top: 2px; }
.nb-stat-link  { color: var(--nb-primary); text-decoration: none; font-weight: 600; }

@media (max-width: 576px) {
    .nb-stat-card { padding: 12px; gap: 10px; }
    .nb-stat-value { font-size: 17px; }
    .nb-stat-icon { width: 36px; height: 36px; font-size: 16px; }
}

/* Quick Actions */
.nb-quick-actions {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}
@media (max-width: 1100px) { .nb-quick-actions { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px)  { .nb-quick-actions { grid-template-columns: repeat(3, 1fr); gap: 8px; } }

.nb-quick-btn {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 6px;
    padding: 14px 10px;
    border-radius: var(--nb-radius);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: var(--nb-shadow);
}
.nb-quick-btn i { font-size: 22px; }
.nb-quick-btn:hover { transform: translateY(-2px); box-shadow: var(--nb-shadow-md); color: #fff; }

.nb-quick-primary { background: var(--nb-primary); }
.nb-quick-purple  { background: var(--nb-purple); }
.nb-quick-green   { background: var(--nb-success); }
.nb-quick-orange  { background: var(--nb-orange); }
.nb-quick-red     { background: var(--nb-danger); }
.nb-quick-gray    { background: #455A64; }

/* Dashboard Grid */
.nb-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 16px;
    align-items: start;
}
@media (max-width: 1100px) {
    .nb-dashboard-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   CARD COMPONENT
   ══════════════════════════════════════════════ */
.nb-card {
    background: var(--nb-surface);
    border-radius: var(--nb-radius);
    box-shadow: var(--nb-shadow);
    border: 1px solid var(--nb-border);
    overflow: hidden;
}
.nb-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--nb-border);
}
.nb-card-title { font-size: 14px; font-weight: 700; color: var(--nb-text); margin: 0; }
.nb-card-link  { font-size: 12px; color: var(--nb-primary); text-decoration: none; font-weight: 600; }
.nb-card-body  { padding: 16px; }

/* ══════════════════════════════════════════════
   TABLE COMPONENT
   ══════════════════════════════════════════════ */
.nb-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nb-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.nb-table th {
    background: var(--nb-bg);
    padding: 10px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--nb-text-muted);
    white-space: nowrap;
}
.nb-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--nb-border);
    vertical-align: middle;
}
.nb-table tr:last-child td { border-bottom: none; }
.nb-table tr:hover td { background: var(--nb-bg); }
.nb-table-sub { font-size: 11px; color: var(--nb-text-muted); margin-top: 1px; }
.nb-link { color: var(--nb-primary); text-decoration: none; font-weight: 600; }
.nb-link:hover { text-decoration: underline; }

.nb-empty-row {
    text-align: center;
    padding: 30px !important;
    color: var(--nb-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.nb-empty-row i { font-size: 28px; }

/* ══════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════ */
.nb-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}
.nb-badge-success { background: #E8F5E9; color: #2E7D32; }
.nb-badge-warning { background: #FFF8E1; color: #F57F17; }
.nb-badge-danger  { background: #FFEBEE; color: #C62828; }
.nb-badge-info    { background: #E3F2FD; color: #1565C0; }

/* ══════════════════════════════════════════════
   ALERTS
   ══════════════════════════════════════════════ */
.nb-alert { border: none; border-radius: var(--nb-radius); font-size: 13px; }

/* ══════════════════════════════════════════════
   STOCK ALERT ITEMS
   ══════════════════════════════════════════════ */
.nb-stock-alert-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--nb-border);
}
.nb-stock-alert-item:last-child { border-bottom: none; }
.nb-stock-alert-info strong { display: block; font-size: 13px; font-weight: 600; }
.nb-stock-alert-info small  { font-size: 11px; color: var(--nb-text-muted); }
.nb-stock-alert-qty { font-size: 14px; font-weight: 800; }
.nb-empty-state { text-align: center; color: var(--nb-text-muted); font-size: 13px; }
.nb-empty-state i { font-size: 22px; display: block; margin-bottom: 4px; }

/* ══════════════════════════════════════════════
   FORM COMPONENTS
   ══════════════════════════════════════════════ */
.nb-form-group { margin-bottom: 16px; }
.nb-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--nb-text);
    margin-bottom: 6px;
}
.nb-input-wrap { position: relative; }
.nb-input-icon {
    position: absolute;
    left: 12px; top: 50%;
    transform: translateY(-50%);
    color: var(--nb-text-muted);
    font-size: 15px;
    pointer-events: none;
}
.nb-input {
    width: 100%;
    height: 42px;
    padding: 0 12px 0 38px;
    border: 1.5px solid var(--nb-border);
    border-radius: var(--nb-radius-sm);
    font-size: 14px;
    color: var(--nb-text);
    font-family: 'Nunito', sans-serif;
    background: var(--nb-surface);
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    -webkit-appearance: none;
}
.nb-input:focus {
    border-color: var(--nb-primary);
    box-shadow: 0 0 0 3px rgba(21,101,192,0.12);
}
.nb-input.is-invalid { border-color: var(--nb-danger); }
.nb-select { padding-left: 38px; cursor: pointer; }
.nb-input-eye {
    position: absolute;
    right: 10px; top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--nb-text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
}
.nb-form-check { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.nb-checkbox { width: 16px; height: 16px; accent-color: var(--nb-primary); cursor: pointer; }
.nb-check-label { font-size: 13px; color: var(--nb-text-muted); cursor: pointer; }
.nb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 400px) { .nb-form-row { grid-template-columns: 1fr; } }
.nb-terms-check { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 16px; font-size: 13px; color: var(--nb-text-muted); }
.nb-terms-check a { color: var(--nb-primary); }

/* ══════════════════════════════════════════════
   BUTTON COMPONENTS
   ══════════════════════════════════════════════ */
.nb-btn-primary {
    display: flex; align-items: center; justify-content: center;
    height: 44px;
    background: var(--nb-primary);
    color: #fff;
    border: none;
    border-radius: var(--nb-radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
    padding: 0 20px;
}
.nb-btn-primary:hover { background: var(--nb-primary-dark); color: #fff; }
.nb-btn-primary:active { transform: scale(0.98); }

.nb-btn-outline {
    display: flex; align-items: center; justify-content: center;
    height: 44px;
    background: transparent;
    color: var(--nb-primary);
    border: 2px solid var(--nb-primary);
    border-radius: var(--nb-radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    text-decoration: none;
    transition: all 0.15s;
    padding: 0 20px;
}
.nb-btn-outline:hover { background: var(--nb-primary-light); color: var(--nb-primary); }

/* ══════════════════════════════════════════════
   AUTH PAGES
   ══════════════════════════════════════════════ */
.nb-auth-body {
    background: var(--nb-bg);
    min-height: 100vh;
    display: block;
}
.nb-auth-wrapper {
    min-height: 100vh;
    display: flex;
}

/* Left branding panel */
.nb-auth-left {
    width: 420px;
    background: linear-gradient(160deg, #0D1B3E 0%, #1565C0 100%);
    flex-shrink: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: sticky;
    top: 0;
    height: 100vh;
}
.nb-auth-brand { color: #fff; max-width: 320px; }
.nb-auth-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 26px; font-weight: 800;
    margin-bottom: 32px;
}
.nb-auth-logo i {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
}
.nb-auth-logo strong { color: #60A5FA; }
.nb-auth-tagline { font-size: 28px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.nb-auth-sub { font-size: 15px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.nb-auth-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.nb-auth-feature-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.nb-auth-feature-item i { color: #4ADE80; font-size: 16px; }
.nb-auth-trusted { font-size: 13px; color: rgba(255,255,255,0.6); }
.nb-auth-trusted strong { display: block; color: #FCD34D; margin-top: 4px; font-size: 15px; }

/* Right form panel */
.nb-auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow-y: auto;
    min-height: 100vh;
}
.nb-auth-form-wrap { width: 100%; max-width: 420px; }

.nb-auth-mobile-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 22px; font-weight: 800;
    color: var(--nb-primary);
    margin-bottom: 24px;
    justify-content: center;
}
.nb-auth-mobile-logo i { font-size: 28px; }
.nb-auth-mobile-logo strong { color: var(--nb-accent); }

.nb-auth-card { width: 100%; }
.nb-auth-card-header { margin-bottom: 24px; }
.nb-auth-card-header h1 { font-size: 24px; font-weight: 800; color: var(--nb-text); }
.nb-auth-card-header p  { font-size: 14px; color: var(--nb-text-muted); margin-top: 4px; }

.nb-forgot-link { font-size: 12px; color: var(--nb-primary); text-decoration: none; font-weight: 600; }

.nb-auth-divider {
    display: flex; align-items: center; gap: 12px;
    font-size: 12px; color: var(--nb-text-muted);
    margin: 20px 0;
}
.nb-auth-divider::before, .nb-auth-divider::after {
    content: ''; flex: 1;
    height: 1px; background: var(--nb-border);
}

.nb-demo-creds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.nb-demo-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
    background: var(--nb-bg);
    border: 1.5px solid var(--nb-border);
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    transition: border-color 0.15s, background 0.15s;
    text-align: left;
}
.nb-demo-btn:hover { border-color: var(--nb-primary); background: var(--nb-primary-light); }
.nb-demo-btn i { font-size: 20px; color: var(--nb-primary); }
.nb-demo-btn strong { display: block; font-size: 13px; color: var(--nb-text); }
.nb-demo-btn small { font-size: 11px; color: var(--nb-text-muted); }

.nb-auth-register-link { text-align: center; font-size: 13px; color: var(--nb-text-muted); margin-top: 20px; }
.nb-auth-register-link a { color: var(--nb-primary); font-weight: 700; text-decoration: none; }

/* Steps indicator */
.nb-steps { display: flex; align-items: center; gap: 0; }
.nb-step {
    font-size: 12px; font-weight: 700;
    color: var(--nb-text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.2s;
}
.nb-step.active { background: var(--nb-primary); color: #fff; }
.nb-step-line { flex: 1; height: 2px; background: var(--nb-border); }

/* ══════════════════════════════════════════════
   PAGE HEADERS
   ══════════════════════════════════════════════ */
.nb-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.nb-page-title { font-size: 20px; font-weight: 800; color: var(--nb-text); }
.nb-page-title small { display: block; font-size: 13px; color: var(--nb-text-muted); font-weight: 400; margin-top: 2px; }
.nb-page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════ */
.w-100 { width: 100%; }
.flex-fill { flex: 1; }
.mt-3 { margin-top: 12px; }
.p-0 { padding: 0; }
.p-3 { padding: 12px; }
.mb-4 { margin-bottom: 16px; }
.me-1 { margin-right: 4px; }
.me-2 { margin-right: 8px; }
.ms-2 { margin-left: 8px; }
.text-danger  { color: var(--nb-danger) !important; }
.text-warning { color: var(--nb-warning) !important; }
.text-success { color: var(--nb-success) !important; }
.text-muted   { color: var(--nb-text-muted) !important; }
