/* ============================================================
   OKK Neon Glass Web3 - Components System
   Fully Responsive for Desktop, Tablet, and Mobile
   ============================================================ */

/* Glass Cards & Containers */
.okk-glass {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--okk-border);
  border-radius: var(--okk-radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08), var(--okk-shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.okk-glass:hover {
  border-color: rgba(166, 108, 255, 0.35);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.12), 0 20px 55px rgba(0, 0, 0, 0.45);
}

.dashboard-card {
  background: var(--okk-surface);
  border: 1px solid var(--okk-border);
  border-radius: var(--okk-radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 575px) {
  .dashboard-card {
    padding: 18px 16px;
    border-radius: var(--okk-radius-md);
  }
}

.dashboard-card:hover {
  transform: translateY(-3px);
  border-color: rgba(166, 108, 255, 0.35);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.dashboard-card.highlight {
  border-color: var(--okk-border-light);
  box-shadow: 0 0 35px rgba(124, 60, 255, 0.18);
}

/* Stat Cards */
.stat-card {
  background: var(--okk-surface);
  border: 1px solid var(--okk-border);
  border-radius: var(--okk-radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}

@media (max-width: 575px) {
  .stat-card {
    padding: 16px;
    min-height: 105px;
    border-radius: var(--okk-radius-md);
  }
}

.stat-card .stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--okk-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-card .stat-value {
  font-size: clamp(20px, 3.5vw, 26px);
  font-weight: 800;
  color: var(--okk-text);
  letter-spacing: -0.5px;
  margin: 6px 0;
  word-break: break-word;
}

.stat-card .stat-sub {
  font-size: 12px;
  color: var(--okk-text-muted);
}

/* Responsive Structural Grids */
.okk-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.okk-grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.okk-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* 3-Column Variant (e.g. Deposit page header) */
.okk-stat-grid.okk-stat-grid-3col,
.okk-stat-grid:has(> .stat-card:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.okk-stat-grid.okk-stat-grid-3col .stat-card,
.okk-stat-grid:has(> .stat-card:nth-child(3):last-child) .stat-card {
  padding: 16px 18px;
  min-height: 95px;
  justify-content: center;
}

.okk-stat-grid.okk-stat-grid-3col .stat-card .stat-value,
.okk-stat-grid:has(> .stat-card:nth-child(3):last-child) .stat-card .stat-value {
  font-size: clamp(18px, 2.2vw, 24px);
  margin: 4px 0 2px;
}

.okk-admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

/* Tablet Responsiveness */
@media (max-width: 1024px) {
  .okk-stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .okk-stat-grid.okk-stat-grid-3col,
  .okk-stat-grid:has(> .stat-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (max-width: 991px) {
  .okk-grid-2col,
  .okk-grid-2-1,
  .okk-admin-layout {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}

/* Small Mobile Responsiveness */
@media (max-width: 575px) {
  .okk-stat-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* 3 Tiles in a Single Row on Mobile */
  .okk-stat-grid.okk-stat-grid-3col,
  .okk-stat-grid:has(> .stat-card:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .okk-stat-grid.okk-stat-grid-3col .stat-card,
  .okk-stat-grid:has(> .stat-card:nth-child(3):last-child) .stat-card {
    padding: 10px 6px !important;
    min-height: 64px !important;
    border-radius: 10px !important;
    justify-content: center !important;
  }
  .okk-stat-grid.okk-stat-grid-3col .stat-card .stat-label,
  .okk-stat-grid:has(> .stat-card:nth-child(3):last-child) .stat-card .stat-label {
    font-size: 9px !important;
    letter-spacing: 0px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .okk-stat-grid.okk-stat-grid-3col .stat-card .stat-value,
  .okk-stat-grid:has(> .stat-card:nth-child(3):last-child) .stat-card .stat-value {
    font-size: 13.5px !important;
    margin: 2px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .okk-stat-grid.okk-stat-grid-3col .stat-card .stat-sub,
  .okk-stat-grid:has(> .stat-card:nth-child(3):last-child) .stat-card .stat-sub {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .okk-stat-grid.okk-stat-grid-3col,
  .okk-stat-grid:has(> .stat-card:nth-child(3):last-child) {
    gap: 5px !important;
  }
  .okk-stat-grid.okk-stat-grid-3col .stat-card,
  .okk-stat-grid:has(> .stat-card:nth-child(3):last-child) .stat-card {
    padding: 8px 4px !important;
  }
  .okk-stat-grid.okk-stat-grid-3col .stat-card .stat-label,
  .okk-stat-grid:has(> .stat-card:nth-child(3):last-child) .stat-card .stat-label {
    font-size: 8px !important;
  }
  .okk-stat-grid.okk-stat-grid-3col .stat-card .stat-value,
  .okk-stat-grid:has(> .stat-card:nth-child(3):last-child) .stat-card .stat-value {
    font-size: 11.5px !important;
  }
}

/* Buttons */
.okk-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--okk-purple), var(--okk-pink));
  color: #FFFFFF !important;
  border: none;
  border-radius: 13px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: var(--okk-glow-button);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.okk-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 42px rgba(130, 55, 255, 0.45);
  filter: brightness(1.08);
}

.okk-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--okk-text) !important;
  border-radius: 13px;
  padding: 13px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.okk-btn-secondary:hover {
  border-color: rgba(166, 108, 255, 0.55);
  background: rgba(126, 55, 255, 0.12);
  transform: translateY(-2px);
}

.okk-btn-sm {
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 10px;
}

/* Pills / Badges */
.okk-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--okk-radius-pill);
  background: rgba(126, 55, 255, 0.10);
  border: 1px solid rgba(161, 91, 255, 0.45);
  color: #C9A9FF;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.okk-pill-success {
  background: rgba(55, 220, 151, 0.12);
  border-color: rgba(55, 220, 151, 0.4);
  color: var(--okk-success);
}

.okk-pill-warning {
  background: rgba(245, 184, 75, 0.12);
  border-color: rgba(245, 184, 75, 0.4);
  color: var(--okk-warning);
}

.okk-pill-danger {
  background: rgba(255, 90, 115, 0.12);
  border-color: rgba(255, 90, 115, 0.4);
  color: var(--okk-danger);
}

.okk-pill-gold {
  background: rgba(245, 184, 75, 0.15);
  border-color: rgba(245, 184, 75, 0.6);
  color: #FFE17D;
  box-shadow: 0 0 15px rgba(245, 184, 75, 0.25);
}

/* Form Inputs */
.okk-input-group {
  margin-bottom: 20px;
}

.okk-input-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--okk-text-secondary);
  margin-bottom: 8px;
}

.okk-input, .okk-select, textarea.okk-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--okk-radius-md);
  padding: 13px 16px;
  color: var(--okk-text);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  color-scheme: dark;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.okk-input:focus, .okk-select:focus, textarea.okk-input:focus {
  border-color: var(--okk-purple-light);
  box-shadow: 0 0 0 3px rgba(141, 67, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.okk-input::placeholder, textarea.okk-input::placeholder {
  color: var(--okk-text-disabled);
}

select.okk-input, select.okk-select, select {
  background-color: var(--okk-surface);
  color: var(--okk-text);
  color-scheme: dark;
}

select option,
.okk-select option,
.okk-input option,
option {
  background-color: #181424 !important;
  color: #FFFFFF !important;
  padding: 8px 12px;
}

input[type="file"].okk-input {
  padding: 9px 12px;
  font-size: 12px;
  cursor: pointer;
}

input[type="file"].okk-input::file-selector-button {
  background: rgba(166, 108, 255, 0.2);
  border: 1px solid rgba(166, 108, 255, 0.4);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 6px;
  margin-right: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

input[type="file"].okk-input::file-selector-button:hover {
  background: rgba(166, 108, 255, 0.35);
  border-color: var(--okk-purple-light);
}

/* Tables - Responsive Horizontal Touch Scrolling */
.okk-table-container {
  width: 100%;
  background: var(--okk-surface);
  border: 1px solid var(--okk-border);
  border-radius: var(--okk-radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--okk-shadow);
}

.okk-table {
  width: 100%;
  min-width: 200px; /* Ensures minimum readable width on mobile with smooth scroll */
  border-collapse: collapse;
  text-align: left;
}

.okk-table th {
  background: rgba(255, 255, 255, 0.02);
  padding: 14px 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--okk-text-muted);
  border-bottom: 1px solid var(--okk-border);
  white-space: nowrap;
}

.okk-table td {
  padding: 14px 18px;
  font-size: 13px;
  color: var(--okk-text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.okk-table tbody tr {
  transition: background 0.2s ease;
}

.okk-table tbody tr:hover {
  background: var(--okk-surface-hover);
}

/* Navigation Layouts */
.okk-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 5, 18, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .okk-navbar {
    padding: 14px 28px;
  }
}

.okk-nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.okk-nav-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--okk-radius-md);
  color: var(--okk-text-secondary);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.okk-nav-item a:hover {
  color: #FFFFFF;
  background: rgba(124, 60, 255, 0.08);
}

.okk-nav-item.active a {
  color: #FFFFFF;
  background: rgba(124, 60, 255, 0.18);
  border: 1px solid rgba(161, 91, 255, 0.4);
  box-shadow: 0 0 20px rgba(124, 60, 255, 0.2);
}

/* Mobile Bottom Navigation Bar */
.okk-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  right: 12px;
  background: rgba(20, 16, 32, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 8px 10px;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.okk-bottom-nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  width: 100%;
}

.okk-bottom-nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 10px;
  color: var(--okk-text-muted);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.okk-bottom-nav-item a svg, .okk-bottom-nav-item a i {
  font-size: 18px;
}

.okk-bottom-nav-item.active a {
  color: var(--okk-pink-soft);
  filter: drop-shadow(0 0 8px rgba(236, 119, 255, 0.6));
}

@media (max-width: 991px) {
  .okk-mobile-bottom-nav {
    display: flex;
  }
  body {
    padding-bottom: 95px;
    padding-bottom: calc(95px + env(safe-area-inset-bottom));
  }
}

/* Mobile Side Navigation & Invite Drawers - Multi-Device Optimization */
.okk-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 3, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1400;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.okk-drawer-overlay.active {
  display: block;
  opacity: 1;
}

body.okk-drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

.okk-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100vh;
  height: 100dvh;
  background: var(--okk-surface);
  border-left: 1px solid var(--okk-border);
  z-index: 1450;
  padding: 22px 18px;
  padding-top: max(20px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 45px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

.okk-mobile-drawer.active {
  transform: translateX(0);
}

.okk-mobile-drawer .okk-drawer-close-btn {
  width: 34px;
  height: 34px;
  min-width: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  color: var(--okk-text-muted);
  transition: all 0.2s ease;
}

.okk-mobile-drawer .okk-drawer-close-btn:hover {
  color: #FFFFFF;
  border-color: var(--okk-danger);
}

.okk-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  padding: 0;
}

.okk-drawer-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  min-height: 44px; /* Touch friendly standard */
  border-radius: var(--okk-radius-md);
  color: var(--okk-text);
  font-weight: 600;
  font-size: 13.5px;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.okk-drawer-links a:hover,
.okk-drawer-links .active a {
  background: rgba(124, 60, 255, 0.15);
  color: var(--okk-pink-soft);
}

.okk-drawer-links a i {
  font-size: 15px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* Device specific drawer adaptations */
@media (min-width: 768px) {
  .okk-mobile-drawer {
    width: 350px;
    padding: 24px 22px;
  }
}

@media (max-width: 480px) {
  .okk-mobile-drawer {
    width: min(320px, 92vw);
    padding: 18px 16px;
  }
}

@media (max-width: 360px) {
  .okk-mobile-drawer {
    width: calc(100vw - 20px) !important;
    padding: 16px 12px !important;
  }

  .okk-drawer-links a {
    padding: 9px 10px !important;
    font-size: 12.5px !important;
    gap: 8px !important;
  }
}

/* Landscape orientation on mobile devices */
@media (max-height: 540px) {
  .okk-mobile-drawer {
    padding-top: 14px !important;
    padding-bottom: 18px !important;
  }

  .okk-drawer-links {
    margin-top: 10px !important;
    gap: 4px !important;
  }

  .okk-drawer-links a {
    padding: 8px 12px !important;
    min-height: 38px !important;
    font-size: 12.5px !important;
  }

  #inviteDrawer .okk-qr-img {
    max-width: 110px !important;
    max-height: 110px !important;
  }
}

/* Modals */
.okk-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 3, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1500;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.okk-modal-overlay.active {
  display: flex;
}

.okk-modal {
  background: var(--okk-surface);
  border: 1px solid var(--okk-border-light);
  border-radius: var(--okk-radius-xl);
  padding: 30px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), var(--okk-glow-purple);
  position: relative;
  animation: okkFadeUp 0.3s ease;
}

@media (max-width: 575px) {
  .okk-modal {
    padding: 22px 18px;
    border-radius: var(--okk-radius-lg);
  }
}

@keyframes okkFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast Notifications */
.okk-toast-container {
  position: fixed;
  top: 20px;
  right: 16px;
  left: 16px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

@media (min-width: 576px) {
  .okk-toast-container {
    left: auto;
    right: 24px;
    max-width: 400px;
  }
}

.okk-toast {
  pointer-events: auto;
  background: var(--okk-surface-2);
  border: 1px solid var(--okk-border);
  border-radius: var(--okk-radius-md);
  padding: 14px 18px;
  color: var(--okk-text);
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: okkFadeUp 0.25s ease;
}

.okk-toast-success { border-color: var(--okk-success); box-shadow: 0 0 20px rgba(55, 220, 151, 0.2); }
.okk-toast-error { border-color: var(--okk-danger); box-shadow: 0 0 20px rgba(255, 90, 115, 0.2); }
.okk-toast-warning { border-color: var(--okk-warning); box-shadow: 0 0 20px rgba(245, 184, 75, 0.2); }

/* Progress bar */
.okk-progress {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}

.okk-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--okk-purple), var(--okk-pink));
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* ============================================================
   RESPONSIVE ADMIN CONSOLE STYLES
   ============================================================ */

/* Desktop Admin Layout */
.okk-admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.okk-admin-desktop-sidebar {
  position: sticky;
  top: 80px;
}

/* Admin Menu Toggle Button (Mobile/Tablet only) */
.okk-admin-menu-toggle {
  display: none;
  background: rgba(245, 184, 75, 0.12);
  border: 1px solid rgba(245, 184, 75, 0.35);
  color: var(--okk-warning);
  width: 38px;
  height: 38px;
  border-radius: var(--okk-radius-md);
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.okk-admin-menu-toggle:hover,
.okk-admin-menu-toggle:active {
  background: rgba(245, 184, 75, 0.25);
  box-shadow: 0 0 12px rgba(245, 184, 75, 0.3);
}

/* Admin Off-Canvas Mobile Drawer */
.okk-admin-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 3, 12, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1490;
}

.okk-admin-drawer-overlay.active {
  display: block;
}

.okk-admin-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 290px;
  max-width: 86vw;
  height: 100vh;
  background: var(--okk-surface);
  border-right: 1px solid rgba(245, 184, 75, 0.25);
  z-index: 1500;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: left 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.okk-admin-drawer.active {
  left: 0;
}

/* Horizontal Quick-Nav Bar for Mobile & Tablet */
.okk-admin-quick-nav-wrapper {
  display: none;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 18px;
  padding-bottom: 4px;
}

.okk-admin-quick-nav-wrapper::-webkit-scrollbar {
  display: none;
}

.okk-admin-quick-nav {
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.okk-admin-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--okk-border);
  color: var(--okk-text-muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.okk-admin-quick-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.okk-admin-quick-link.active {
  background: rgba(245, 184, 75, 0.16);
  border-color: var(--okk-warning);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(245, 184, 75, 0.25);
}

.okk-admin-quick-link i {
  font-size: 11px;
}

/* Admin Table Responsiveness */
.okk-table-admin {
  min-width: 780px;
}

.okk-table-admin-sm {
  min-width: 540px;
}

.okk-table-scroll-hint {
  display: none;
  font-size: 11px;
  color: var(--okk-text-muted);
  margin-bottom: 8px;
  align-items: center;
  gap: 6px;
}

/* Responsive Modal Grids */
.okk-modal-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Breakpoint Adjustments */
@media (max-width: 991px) {
  .okk-admin-layout {
    grid-template-columns: 1fr !important;
    gap: 16px;
    margin-top: 14px !important;
  }

  .okk-admin-desktop-sidebar {
    display: none !important;
  }

  .okk-admin-menu-toggle {
    display: inline-flex;
  }

  .okk-admin-quick-nav-wrapper {
    display: block;
  }

  .okk-table-scroll-hint {
    display: flex;
  }
}

@media (max-width: 767px) {
  .okk-admin-pill-badge {
    display: none;
  }

  .okk-navbar {
    padding: 10px 14px;
  }
}

@media (max-width: 575px) {
  .okk-modal-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .okk-admin-btn-label {
    display: none;
  }

  .okk-admin-search-form {
    width: 100% !important;
  }

  .okk-admin-search-input {
    width: 100% !important;
    flex: 1;
  }
}

/* Admin Dashboard Stat Cards Grid: 3-Col Desktop, 2-Col Mobile */
.okk-admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px;
}

@media (max-width: 1024px) {
  .okk-admin-stat-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 14px;
  }
}

@media (max-width: 767px) {
  .okk-admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .okk-admin-stat-grid .stat-card {
    padding: 13px 11px !important;
  }

  .okk-admin-stat-grid .stat-card .stat-label {
    font-size: 10.5px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .okk-admin-stat-grid .stat-card .stat-value {
    font-size: clamp(16px, 4.5vw, 20px) !important;
    margin: 4px 0 2px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .okk-admin-stat-grid .stat-card .stat-sub {
    font-size: 10px !important;
    line-height: 1.3 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 380px) {
  .okk-admin-stat-grid {
    gap: 8px !important;
  }

  .okk-admin-stat-grid .stat-card {
    padding: 11px 8px !important;
  }

  .okk-admin-stat-grid .stat-card .stat-label {
    font-size: 9.5px !important;
  }

  .okk-admin-stat-grid .stat-card .stat-value {
    font-size: 15px !important;
  }

  .okk-admin-stat-grid .stat-card .stat-sub {
    font-size: 9px !important;
  }
}

/* ============================================================
   RESPONSIVE PAGINATION COMPONENT
   ============================================================ */
.okk-pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-top: 1px solid var(--okk-border);
  flex-wrap: wrap;
  gap: 14px;
}

.okk-pagination-info {
  font-size: 13px;
  color: var(--okk-text-muted);
}

.okk-pagination-info strong {
  color: #FFFFFF;
}

.okk-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.okk-page-item {
  display: inline-block;
}

.okk-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--okk-radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--okk-border);
  color: var(--okk-text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.okk-page-link:hover {
  background: rgba(245, 184, 75, 0.15);
  border-color: rgba(245, 184, 75, 0.4);
  color: #FFFFFF;
}

.okk-page-item.active .okk-page-link {
  background: linear-gradient(135deg, rgba(245, 184, 75, 0.25), rgba(124, 60, 255, 0.25));
  border-color: var(--okk-warning);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(245, 184, 75, 0.3);
}

.okk-page-item.disabled .okk-page-link {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .okk-pagination-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 14px 12px;
  }

  .okk-pagination {
    justify-content: center;
    gap: 4px;
  }

  .okk-page-link {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
  }
}



