/* ─── TOKENS ───────────────────────────────────────────── */
    :root {
      --bg:       #080a0e;
      --bg2:      #0c0f16;
      --surface:  #10141e;
      --surface2: #141828;
      --surface3: #1e293b;
      --border:   rgba(255,255,255,0.06);
      --orange:   #f97316;
      --orange2:  #fb923c;
      --cyan:     #22d3ee;
      --cyan2:    #67e8f9;
      --text:     #e2e8f0;
      --white:    white;
      --muted:    #64748b;
      --green:    #22c55e;
      --green2:   rgb(6, 85, 35);
      --red:      #ef4444;
      --yellow:   #eab308;
      --sidebar-w: 240px;
      --topbar-h:  62px;
      --ff-head: 'Orbitron', monospace;
      --ff-body: 'Rajdhani', sans-serif;
    }

    *, *::before, *::after { box-sizing: border-box; }
    html, body { margin: 0; padding: 0; height: 100%; overflow-x: hidden; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--ff-body);
      font-size: 15px;
      line-height: 1.6;
    }
    .text-white{
     color: var(--text);
    }
    .text-green{
      color: var(--green2);
    }
    /* ─── GEOMETRIC BG DECORATIONS ─────────────────────────── */
    .geo-circle {
      position: fixed;
      width: 420px; height: 420px;
      border: 1px solid rgba(34,211,238,0.08);
      border-radius: 50%;
      top: -100px; right: -80px;
      pointer-events: none; z-index: 0;
    }
    .geo-circle-2 {
      position: fixed;
      width: 240px; height: 240px;
      border: 1px solid rgba(249,115,22,0.08);
      border-radius: 50%;
      bottom: 60px; left: 180px;
      pointer-events: none; z-index: 0;
    }
    .geo-square {
      position: fixed;
      width: 150px; height: 150px;
      border: 1px solid rgba(249,115,22,0.1);
      bottom: 100px; left: 260px;
      transform: rotate(45deg);
      pointer-events: none; z-index: 0;
    }
    .geo-square-2 {
      position: fixed;
      width: 80px; height: 80px;
      border: 1px solid rgba(34,211,238,0.12);
      top: 200px; right: 140px;
      transform: rotate(30deg);
      pointer-events: none; z-index: 0;
    }

    /* ─── TOP NAVBAR ────────────────────────────────────────── */
    #topbar {
      position: fixed; top: 0; left: 0; right: 0;
      height: var(--topbar-h);
      background: var(--bg2);
      border-bottom: 1px solid var(--border);
      display: flex; align-items: center;
      padding: 0 20px;
      z-index: 1050;
      gap: 16px;
    }
    .topbar-logo {
      display: flex; align-items: center; gap: 10px;
      text-decoration: none; flex-shrink: 0;
    }
    .logo-icon {
      width: 36px; height: 36px;
      border: 2px solid var(--orange);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--ff-head);
      font-size: 0.65rem;
      font-weight: 700;
      color: var(--cyan);
    }
    .logo-text {
      font-family: var(--ff-head);
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 0.05em;
    }
    .logo-text .w { color: var(--orange); }
    .logo-text .v { color: var(--cyan); }

    /* top nav links */
    .topbar-nav {
      display: flex; align-items: center; gap: 2px;
      margin-left: 30px;
    }
    .topbar-nav a {
      font-family: var(--ff-head);
      font-size: 0.62rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-weight: 500;
      color: var(--muted);
      text-decoration: none;
      padding: 5px 12px;
      border: 1px solid transparent;
      transition: color .2s, border-color .2s;
      cursor: pointer;
    }
    .topbar-nav a:hover { color: var(--text); }
    .topbar-nav a.active {
      color: var(--orange);
      border-color: var(--orange);
    }

    /* right controls */
    .topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
    .topbar-icon-btn {
      width: 36px; height: 36px;
      border: 1px solid var(--border);
      border-radius: 4px;
      background: transparent;
      color: var(--muted);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: all .2s; position: relative;
      font-size: 1rem;
    }
    .topbar-icon-btn:hover { border-color: var(--orange); color: var(--orange); }
    .notif-dot {
      position: absolute; top: 6px; right: 6px;
      width: 6px; height: 6px;
      border-radius: 50%; background: var(--orange);
    }
    .topbar-avatar {
      width: 150px; height: 36px;
      background: linear-gradient(135deg, var(--orange), var(--cyan));
      border-radius: 4px;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--ff-head);
      font-size: 0.65rem;
      font-weight: 700;
      color: var(--bg);
      cursor: pointer;
      border: 1px solid rgba(249,115,22,0.4);
    }
    .sidebar-toggle {
      display: none;
      width: 36px; height: 36px;
      border: 1px solid var(--border);
      border-radius: 4px;
      background: transparent;
      color: var(--muted);
      align-items: center; justify-content: center;
      cursor: pointer; font-size: 1.1rem;
      flex-shrink: 0;
    }

    /* ─── SIDEBAR ───────────────────────────────────────────── */
    #sidebar {
      position: fixed;
      top: var(--topbar-h); left: 0;
      width: var(--sidebar-w);
      height: calc(100dvh - var(--topbar-h));
      background: var(--bg2);
      border-right: 1px solid var(--border);
      overflow-y: auto; overflow-x: hidden;
      z-index: 1040;
      transition: transform .3s ease;
      display: flex; flex-direction: column;
    }
    #sidebar::-webkit-scrollbar { width: 3px; }
    #sidebar::-webkit-scrollbar-thumb { background: var(--border); }

    .sidebar-section-label {
      font-family: var(--ff-head);
      font-size: 0.52rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 20px 20px 8px;
      border-top: 1px solid var(--border);
      margin-top: 8px;
    }
    .sidebar-section-label:first-child { border-top: none; margin-top: 0; }

    .sidebar-link {
      display: flex; align-items: center; gap: 12px;
      padding: 10px 20px;
      color: var(--muted);
      text-decoration: none;
      font-family: var(--ff-body);
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      border-left: 2px solid transparent;
      transition: all .2s;
      cursor: pointer;
      position: relative;
    }
    .sidebar-link i { font-size: 1rem; flex-shrink: 0; width: 20px; text-align: center; }
    .sidebar-link:hover { color: var(--text); background: rgba(255,255,255,0.03); text-decoration: none; }
    .sidebar-link.active {
      color: var(--cyan);
      border-left-color: var(--cyan);
      background: rgba(34,211,238,0.06);
    }
    .sidebar-link.active i { color: var(--cyan); }
    .btn-flat {
      background: transparent;
      border: none;
      padding: 6px;
      font-size: 1.2rem;
      color: #fff;
      cursor: pointer;
      transition: .2s ease;
    }

    .btn-flat:hover {
      color: #ff6a00;
      transform: scale(1.05);
    }

    .btn-flat:focus {
      outline: none;
      box-shadow: none;
    }
    .sidebar-link-button {
      display: flex; align-items: center; gap: 12px;
      background-color: transparent;
      padding: 10px 20px;
      color: var(--muted);
      text-decoration: none;
      font-family: var(--ff-body);
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: 0.04em;
      border-left: 2px solid transparent;
      transition: all .2s;
      cursor: pointer;
      position: relative;
    }
    .sidebar-link-button i { font-size: 1rem; flex-shrink: 0; width: 20px; text-align: center; }
    .sidebar-link-button:hover { color: var(--text); background: rgba(255,255,255,0.03); text-decoration: none; }
    .sidebar-link-button.active {
      color: var(--cyan);
      border-left-color: var(--cyan);
      background: rgba(34,211,238,0.06);
    }
    .sidebar-link-button.active i { color: var(--cyan); }
    .sidebar-badge {
      margin-left: auto;
      background: var(--orange);
      color: var(--bg);
      font-size: 0.6rem;
      font-family: var(--ff-head);
      font-weight: 700;
      padding: 1px 6px;
      border-radius: 2px;
      letter-spacing: 0.05em;
    }

    /* sidebar bottom user card */
    .sidebar-user {
      margin-top: auto;
      padding: 16px 20px;
      border-top: 1px solid var(--border);
      display: flex; align-items: center; gap: 12px;
    }
    .sidebar-user-avatar {
      width: 34px; height: 34px;
      background: linear-gradient(135deg, var(--orange), var(--cyan));
      border-radius: 4px;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--ff-head);
      font-size: 0.6rem;
      font-weight: 700;
      color: var(--bg);
      flex-shrink: 0;
    }
    .sidebar-user-name { font-size: 0.82rem; font-weight: 600; color: var(--text); line-height: 1.2; }
    .sidebar-user-role { font-size: 0.72rem; color: var(--muted); }

    /* ─── MAIN CONTENT ──────────────────────────────────────── */
    #mainContent {
      margin-left: var(--sidebar-w);
      margin-top: var(--topbar-h);
      min-height: calc(100dvh - var(--topbar-h));
      padding: 28px 28px 48px;
      position: relative; z-index: 1;
    }
    #mainContent-2 {
      margin-top: calc(var(--topbar-h) * 3);
      min-height: calc(100dvh - var(--topbar-h));
      padding: 28px 28px 48px;
      position: relative; z-index: 1;
    }
    #mainContent-3 {
      margin-top: var(--topbar-h);
      min-height: calc(100dvh - var(--topbar-h));
      padding: 28px 28px 48px;
      position: relative; z-index: 1;
    }

    /* ─── PAGE HEADER ───────────────────────────────────────── */
    .page-header { margin-bottom: 28px; }
    .page-title {
      font-family: var(--ff-head);
      font-size: 1.3rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      line-height: 1.2;
      margin: 0 0 6px;
    }
    .page-title .hl-orange { color: var(--orange); }
    .page-title .hl-cyan   { color: var(--cyan); }
    .page-breadcrumb {
      font-size: 0.75rem;
      color: var(--muted);
      letter-spacing: 0.05em;
    }
    .page-breadcrumb span { color: var(--cyan); }

    /* ─── STAT CARDS ────────────────────────────────────────── */
    .stat-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 22px 20px;
      position: relative;
      overflow: hidden;
      transition: border-color .25s, transform .25s;
    }
    .stat-card:hover { border-color: rgba(249,115,22,0.3); transform: translateY(-2px); }
    .stat-card::before {
      content: '';
      position: absolute; top: 0; left: 0;
      width: 3px; height: 100%;
    }
    .stat-card.c-orange::before { background: var(--orange); }
    .stat-card.c-cyan::before   { background: var(--cyan); }
    .stat-card.c-green::before  { background: var(--green); }
    .stat-card.c-red::before    { background: var(--red); }
    .stat-icon {
      width: 42px; height: 42px;
      border-radius: 4px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem;
      margin-bottom: 14px;
    }
    .stat-icon.c-orange { background: rgba(249,115,22,0.12); color: var(--orange); }
    .stat-icon.c-cyan   { background: rgba(34,211,238,0.12);  color: var(--cyan); }
    .stat-icon.c-green  { background: rgba(34,197,94,0.12);   color: var(--green); }
    .stat-icon.c-red    { background: rgba(239,68,68,0.12);   color: var(--red); }
    .stat-value {
      font-family: var(--ff-head);
      font-size: 1.7rem;
      font-weight: 700;
      line-height: 1;
      margin-bottom: 4px;
    }
    .stat-value.c-orange { color: var(--orange); }
    .stat-value.c-cyan   { color: var(--cyan); }
    .stat-value.c-green  { color: var(--green); }
    .stat-value.c-red    { color: var(--red); }
    .stat-label {
      font-size: 0.75rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      font-weight: 600;
    }
    .stat-change {
      position: absolute; top: 18px; right: 16px;
      font-size: 0.72rem;
      font-weight: 600;
    }
    .stat-change.up { color: var(--green); }
    .stat-change.down { color: var(--red); }

    /* ─── CARD ──────────────────────────────────────────────── */
    .wv-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 22px;
    }
    .wv-card-2 {
      background: var(--surface3);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 22px;
    }
    .wv-card-tv {
      height:80%;
      background: var(--surface3);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 22px;
    }
    .wv-card-header {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 20px;
      padding-bottom: 14px;
      border-bottom: 1px solid var(--border);
    }
    .wv-card-title a {
      font-family: var(--ff-head);
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--text);
    }

    .wv-card-title .dot {
      display: inline-block;
      width: 6px; height: 6px;
      border-radius: 50%;
      margin-right: 8px;
      vertical-align: middle;
    }
    .wv-card-action {
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--cyan);
      cursor: pointer;
      font-weight: 600;
      font-family: var(--ff-head);
      text-decoration: none;
    }
    .wv-card-action:hover { color: var(--orange); text-decoration: none; }

    /* ─── BUTTONS ───────────────────────────────────────────── */
    .btn-wv-orange {
      background: transparent;
      border: 1px solid var(--orange);
      color: var(--orange);
      font-family: var(--ff-head);
      font-size: 0.62rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-weight: 600;
      padding: 8px 18px;
      border-radius: 2px;
      cursor: pointer;
      transition: background .2s, color .2s;
      min-height: 36px;
    }
    .btn-wv-orange:hover { background: var(--orange); color: var(--bg); }
    .btn-wv-cyan {
      background: transparent;
      border: 1px solid var(--cyan);
      color: var(--cyan);
      font-family: var(--ff-head);
      font-size: 0.62rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-weight: 600;
      padding: 8px 18px;
      border-radius: 2px;
      cursor: pointer;
      transition: background .2s, color .2s;
      min-height: 36px;
    }
    .btn-wv-cyan:hover { background: var(--cyan); color: var(--bg); }
    .btn-wv-solid {
      background: var(--orange);
      border: 1px solid var(--orange);
      color: var(--bg);
      font-family: var(--ff-head);
      font-size: 0.62rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-weight: 700;
      padding: 8px 20px;
      border-radius: 2px;
      cursor: pointer;
      transition: opacity .2s;
      min-height: 36px;
    }
    .btn-wv-solid:hover { opacity: 0.85; }

    .btn-wv-solid-2 {
      background: var(--green);
      border: 1px solid var(--green);
      color: var(--bg);
      font-family: var(--ff-body);
      font-size: 1.2rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      font-weight: 700;
      padding: 8px 20px;
      border-radius: 10px;
      /* cursor: pointer; */
      transition: opacity .2s;
      min-height: 36px;
    }
    .btn-wv-solid-2:hover { opacity: 0.85; }

    /* ─── TABLE ─────────────────────────────────────────────── */
    .wv-table { width: 100%; border-collapse: collapse; }
    .wv-table th {
      font-family: var(--ff-head);
      font-size: 0.58rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 10px 14px;
      border-bottom: 1px solid var(--border);
      text-align: left;
      white-space: nowrap;
    }
    .wv-table td {
      padding: 12px 14px;
      border-bottom: 1px solid var(--border);
      font-size: 0.85rem;
      color: var(--text);
      vertical-align: middle;
    }
    .wv-table tr:last-child td { border-bottom: none; }
    .wv-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
    .wv-table .td-name { font-weight: 600; color: var(--text); }
    .wv-table .td-sub  { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

    /* status badges */
    .badge-wv {
      display: inline-block;
      padding: 3px 10px;
      font-size: 0.6rem;
      font-family: var(--ff-head);
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      border-radius: 2px;
      border: 1px solid;
    }
    .badge-active   { color: var(--green);  border-color: var(--green);  background: rgba(34,197,94,0.1); }
    .badge-pending  { color: var(--yellow); border-color: var(--yellow); background: rgba(234,179,8,0.1); }
    .badge-inactive { color: var(--red);    border-color: var(--red);    background: rgba(239,68,68,0.1); }
    .badge-done     { color: var(--cyan);   border-color: var(--cyan);   background: rgba(34,211,238,0.1); }
    .badge-review   { color: var(--orange); border-color: var(--orange); background: rgba(249,115,22,0.1); }

    /* progress */
    .progress-wv {
      height: 4px;
      background: rgba(255,255,255,0.06);
      border-radius: 2px;
      overflow: hidden;
    }
    .progress-wv-fill {
      height: 100%;
      border-radius: 2px;
      background: linear-gradient(90deg, var(--orange), var(--cyan));
    }

    /* user avatar cell */
    .user-av {
      /* margin-left: auto;
      margin-right: auto; */
      width: 300px; height: 300px;
      background-size: 100% 100%;  /* Forces the image to stretch and fit the container exactly */
      background-position: center; /* Centers the image content */
      background-repeat: no-repeat;
      border-radius: 4px;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--ff-head);
      font-size: 0.6rem;
      font-weight: 700;
      color: var(--bg);
      flex-shrink: 0;
    }
    .user-av-2 {
      /* margin-left: auto;
      margin-right: auto; */
      width: 100%; height: 300px; 
      background-size: 100% 100%;  /* Forces the image to stretch and fit the container exactly */
      background-position: center; /* Centers the image content */
      background-repeat: no-repeat;
      border-radius: 4px;
      display: flex; align-items: center; justify-content: center;
      font-family: var(--ff-head);
      font-size: 0.6rem;
      font-weight: 700;
      color: var(--bg);
      flex-shrink: 0;
    }
    .av-o { background: linear-gradient(135deg, var(--orange), #fb923c); }
    .av-c { background: linear-gradient(135deg, var(--cyan), #67e8f9); }
    .av-g { background: linear-gradient(135deg, var(--green), #4ade80); }
    .av-p { background: linear-gradient(135deg, #a855f7, #c084fc); }
    .av-r { background: linear-gradient(135deg, var(--red), #f87171); }

    /* ─── FORM CONTROLS ─────────────────────────────────────── */
    .wv-form-group { margin-bottom: 18px; }
    .wv-form-group label {
      display: block;
      font-size: 0.65rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 6px;
      font-weight: 600;
      font-family: var(--ff-head);
    }
    .wv-input {
      width: 100%;
      background: var(--surface3);
      border: 1px solid var(--border);
      color: var(--text);
      padding: 9px 14px;
      font-family: var(--ff-body);
      font-size: 0.88rem;
      border-radius: 2px;
      outline: none;
      transition: border-color .2s, box-shadow .2s;
    }
    .wv-input:focus {
      border-color: var(--cyan);
      box-shadow: 0 0 0 2px rgba(34,211,238,0.12);
    }
    .wv-input::placeholder { color: var(--muted); opacity: 0.6; }
    .wv-select {
      width: 100%;
      background: var(--surface3);
      border: 1px solid var(--border);
      color: var(--text);
      padding: 9px 14px;
      font-family: var(--ff-body);
      font-size: 0.88rem;
      border-radius: 2px;
      outline: none;
      appearance: none;
      cursor: pointer;
    }
    .wv-select option { background: var(--surface); }
    .wv-textarea {
      width: 100%;
      background: var(--surface3);
      border: 1px solid var(--border);
      color: var(--text);
      padding: 9px 14px;
      font-family: var(--ff-body);
      font-size: 0.88rem;
      border-radius: 2px;
      outline: none;
      resize: none;
      min-height: 100px;
      transition: border-color .2s;
    }
    .wv-textarea:focus { border-color: var(--cyan); }

    /* ─── ACTIVITY FEED ─────────────────────────────────────── */
    .activity-item {
      display: flex; gap: 14px; align-items: flex-start;
      padding: 10px 0;
      border-bottom: 1px solid var(--border);
    }
    .activity-item:last-child { border-bottom: none; }
    .activity-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      margin-top: 6px; flex-shrink: 0;
    }
    .activity-text { font-size: 0.82rem; color: var(--text); line-height: 1.5; }
    .activity-time { font-size: 0.7rem; color: var(--muted); margin-top: 2px; }

    /* ─── PAGES (show/hide) ─────────────────────────────────── */
    .page-view { display: none; }
    .page-view.active { display: block; }

    /* ─── MINI CHART BARS (CSS only) ────────────────────────── */
    .sparkbar-wrap {
      display: flex; align-items: flex-end; gap: 3px;
      height: 40px;
    }
    .sparkbar {
      flex: 1;
      background: rgba(249,115,22,0.25);
      border-radius: 2px 2px 0 0;
      transition: background .2s;
    }
    .sparkbar:hover { background: var(--orange); }
    .sparkbar.hl { background: var(--orange); }

    /* ─── TOGGLE SWITCH ─────────────────────────────────────── */
    .wv-toggle { position: relative; display: inline-block; width: 40px; height: 22px; }
    .wv-toggle input { opacity: 0; width: 0; height: 0; }
    .wv-toggle-slider {
      position: absolute; inset: 0;
      background: rgba(255,255,255,0.1);
      border-radius: 22px;
      cursor: pointer;
      transition: background .2s;
      border: 1px solid var(--border);
    }
    .wv-toggle-slider::before {
      content: '';
      position: absolute;
      width: 16px; height: 16px;
      border-radius: 50%;
      background: var(--muted);
      left: 2px; top: 2px;
      transition: transform .2s, background .2s;
    }
    .wv-toggle input:checked + .wv-toggle-slider { background: rgba(34,211,238,0.15); border-color: var(--cyan); }
    .wv-toggle input:checked + .wv-toggle-slider::before { transform: translateX(18px); background: var(--cyan); }

    /* ─── ANALYTICS METRICS ROW ─────────────────────────────── */
    .metric-box {
      background: var(--surface2);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 16px;
      text-align: center;
    }
    .metric-val {
      font-family: var(--ff-head);
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--cyan);
      line-height: 1;
    }
    .metric-lbl { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

    /* ─── SEARCH INPUT ──────────────────────────────────────── */
    .search-wrap { position: relative; }
    .search-wrap i {
      position: absolute; left: 10px; top: 50%;
      transform: translateY(-50%);
      color: var(--muted); font-size: 0.9rem;
    }
    .search-wrap-2 { position: relative; width: 100%; }
    .search-wrap-2 i {
      position: absolute; left: 10px; top: 50%;
      transform: translateY(-50%);
      color: var(--muted); font-size: 0.9rem;
    }
    .search-input {
      background: var(--surface3);
      border: 1px solid var(--border);
      color: var(--text);
      padding: 7px 12px 7px 32px;
      font-family: var(--ff-body);
      font-size: 0.82rem;
      border-radius: 2px;
      outline: none;
      width: 200px;
      transition: border-color .2s, width .3s;
    }
    .search-input:focus { border-color: var(--cyan); width: 240px; }
    .search-input::placeholder { color: var(--muted); opacity: 0.6; }

    .search-input-2 {
      background: var(--surface3);
      border: 1px solid var(--border);
      color: var(--text);
      padding: 7px 12px 7px 32px;
      font-family: var(--ff-body);
      font-size: 0.82rem;
      border-radius: 2px;
      outline: none;
      width: 70%;
      transition: border-color .2s, width .3s;
    }
    .search-input-2:focus { border-color: var(--cyan); width: 75%; }
    .search-input-2::placeholder { color: var(--muted); opacity: 0.6; }


    /* ─── MOBILE ─────────────────────────────────────────────── */
    @media (max-width: 768px) {
      .sidebar-toggle { display: flex; }
      #sidebar {
        transform: translateX(-100%);
      }
      #sidebar.open { transform: translateX(0); }
      #mainContent { margin-left: 0; padding: 20px 16px 48px; }
      .topbar-nav { display: none; }
      .stat-card { margin-bottom: 16px; }
      .geo-circle { width: 260px; height: 260px; }
    }

    /* scrollbar */
    ::-webkit-scrollbar { width: 4px; height: 4px; }
    ::-webkit-scrollbar-track { background: var(--bg); }
    ::-webkit-scrollbar-thumb { background: rgba(249,115,22,0.3); border-radius: 2px; }

    /* overlay for mobile sidebar */
    #sidebarOverlay {
      display: none;
      position: fixed; inset: 0;
      background: rgba(0,0,0,0.5);
      z-index: 1039;
    }
    #sidebarOverlay.show { display: block; }

    .stat-card {
    position: relative;
    }

    /* Center the button completely over the iframe */
    .card-btn-center {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        font-size: 2rem;
    }
    .card-btn-center button{
        font-size: 1rem;
    }
    .card-btn-center button:hover{
        color: white;
    }
    .portfolio-wrapper {
            position: relative;
            display: inline-block;
            width: 100%;
        }
       .user-av-2 {
            position: relative;
            border-radius: 12px;

            overflow: hidden;
        }
        .user-av-2::before {
            content: "";
            position: absolute;
            inset: 0;
            background: transparent;
            transition: 0.3s ease;
            border-radius: 12px;
        }
        .user-av-2:hover::before {
            background: rgba(255, 106, 0, 0.5);
        }
        .portfolio-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            
            display: flex;
            gap: 10px;
            opacity: 0;
            transition: 0.3s ease;
        }
        .portfolio-wrapper:hover .portfolio-overlay {
            opacity: 1;
        }

        .btn-portfolio {
            padding: 8px 14px;
            font-size: 12px;
            background: #ff6a00;
            color: white;
            text-decoration: none;
            border-radius: 6px;
        }

        .btn-secondary {
            background: #222;
        }
        .dark-modal {
            border-color:  1px solid var(--orange);

        }

        .dark-modal .modal-header,
        .dark-modal .modal-footer {
            border-color: #2c2c3f;
        }

        .dark-modal .close {
            color: #fff;
            opacity: 1;
        }

        .dark-modal .btn-secondary {
            background-color: #444;
            border: none;
        }

        .dark-modal .btn-primary {
            background-color: #ff7a00;
            border: none;
        }
        .select2-container--default .select2-selection--single {
            height: 38px;
            background: #1e293b;
            border: 1px solid #495057;
            border-radius: .25rem;
        }

        .select2-container--default .select2-selection--single .select2-selection__rendered {
            color: #fff;
            line-height: 36px;
            padding-left: 12px;
        }

        .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 36px;
        }

        .select2-dropdown {
            background: #1e293b;
            border: 1px solid #495057;
        }

        .select2-search__field {
            background: #1e293b !important;
            color: #fff !important;
            border: 1px solid #495057 !important;
        }

        .select2-results__option {
            color: #fff;
        }

        .select2-results__option--highlighted {
            background-color: #1e293b !important;
        }

        .select2-container--default .select2-results__option[aria-selected=true] {
            background-color: #1e293b;
        }
    
        .pagination {
            justify-content: center;
            margin-top: 20px;
        }

        .pagination .page-item .page-link {
            color: #333;
            border-radius: 6px;
            margin: 0 3px;
            border: 1px solid #ddd;
        }

        .pagination .page-item.active .page-link {
            background-color: #ff6600;
            border-color: #ff6600;
            color: #fff;
        }

        .pagination .page-item .page-link:hover {
            background-color: #f2f2f2;
        }
        .title-line {
            flex: 1;
            height: 2px;
            background: linear-gradient(90deg, #00d4ff, rgba(0,212,255,0.1));
        }
        .floating-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            border: 2px solid white; /* fix border-color -> border */
            background-color: #2d00f3;
            color: white;
            font-size: 30px;
            cursor: pointer;
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
            z-index: 9999;

            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none; /* remove underline */
        }

        .floating-btn:hover {
            opacity: 0.9;
        }