@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-color: #f8fafc; /* Light background */
  --surface-color: rgba(255, 255, 255, 0.9); /* Light surface with transparency */
  --surface-color-solid: #ffffff; /* Pure white */
  --primary-color: #8b5cf6; /* Bright Purple */
  --primary-glow: rgba(139, 92, 246, 0.3);
  --secondary-color: #06b6d4; /* Bright Cyan */
  --accent-color: #f59e0b; /* Bright Orange */
  --text-primary: #1e293b; /* Dark text */
  --text-secondary: #64748b; /* Medium gray */
  --border-color: rgba(0, 0, 0, 0.1); /* Light border */
  --success: #10b981; /* Green */
  --warning: #f59e0b; /* Orange */
  --danger: #ef4444; /* Red */

  /* Dimensions */
  --sidebar-width: 280px;
  --sidebar-width-collapsed: 80px;
  --header-height: 80px;

  /* Styling */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px var(--primary-glow);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16px;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Utilities */
.glass-panel {
  background: var(--surface-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Base Layout */
.app-container {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Sidebar */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background: var(--surface-color-solid);
  border-right: 1px solid var(--border-color);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  z-index: 100;
}

.sidebar.collapsed {
  width: var(--sidebar-width-collapsed);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 0 10px;
  overflow: hidden;
  white-space: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: var(--shadow-glow);
}
.logo-icon img{
  height:100%;width:100%;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
}

.nav-link.active {
  background: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-glow);
}

.nav-link i {
  font-size: 20px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar.collapsed .nav-link span {
  opacity: 0;
  pointer-events: none;
}

.sidebar.collapsed .logo span {
  opacity: 0;
  pointer-events: none;
}

/* Main Content Area */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content.expanded {
  margin-left: var(--sidebar-width-collapsed);
}

/* Top Header */
.top-header {
  height: var(--header-height);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.toggle-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.toggle-btn:hover {
  color: var(--primary-color);
}

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  padding: 8px 16px;
  width: 300px;
  transition: var(--transition-fast);
}

.search-bar:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.search-bar input {
  background: none;
  border: none;
  color: var(--text-primary);
  outline: none;
  padding-left: 10px;
  width: 100%;
}

.search-bar i {
  color: var(--text-secondary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
  padding: 8px;
  border-radius: 50%;
}

.icon-btn:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.05);
}

.badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: bold;
  height: 16px;
  min-width: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg-color);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 6px 16px 6px 6px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.user-profile:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--border-color);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: 600;
  font-size: 14px;
}

.user-role {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Page Content */
.page-content {
  padding: 40px;
  flex: 1;
}

.page-header {
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* Stats Cards */
.stats-cards {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.stat-card {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: 0;
  pointer-events: none;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.3);
}

.stat-info {
  position: relative;
  z-index: 1;
}

.stat-title {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stat-trend {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.trend-up {
  color: var(--success);
}

.trend-down {
  color: var(--danger);
}

.stat-icon {
  width: ৪৮px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  position: relative;
  z-index: 1;
}

.icon-purple { background: rgba(139, 92, 246, 0.1); color: var(--primary-color); }
.icon-blue { background: rgba(6, 182, 212, 0.1); color: var(--secondary-color); }
.icon-green { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.icon-orange { background: rgba(245, 158, 11, 0.1); color: var(--warning); }

/* Charts Area */
.chart-container {
  grid-column: span 8;
  padding: 24px;
  height: 400px;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.recent-activity {
  grid-column: span 4;
  padding: 24px;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
}

/* Activity List */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.activity-item {
  display: flex;
  gap: 16px;
  position: relative;
}

.activity-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -16px;
  width: 2px;
  background: var(--border-color);
}

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary-color);
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  z-index: 1;
}

.activity-content {
  flex: 1;
}

.activity-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.activity-time {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

/* Responsive */
@media (max-width: 1024px) {
  .chart-container, .recent-activity {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0 !important;
  }
  .search-bar {
    display: none;
  }
  .header-left {
    gap: 16px;
  }
}


        .form-container {
            animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
            opacity: 0;
            padding: 32px;
            max-width: 900px;
            margin: 0 auto;
        }

        .form-section {
            margin-bottom: 32px;
            padding-bottom: 24px;
            border-bottom: 1px solid var(--border-color);
        }

        .form-section:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .form-section-title {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .form-section-title i {
            color: var(--primary-color);
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }

        .form-grid.full-width {
            grid-template-columns: 1fr;
        }

        @media (max-width: 768px) {
            .form-grid {
                grid-template-columns: 1fr;
            }
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-label {
            font-size: 14px;
            font-weight: 500;
            color: var(--text-secondary);
        }

        .form-control {
            width: 100%;
            background: rgba(0, 0, 0, 0.02);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            padding: 12px 16px;
            border-radius: var(--radius-sm);
            font-size: 15px;
            transition: var(--transition-fast);
            outline: none;
            font-family: inherit;
        }

        .form-control:focus {
            border-color: var(--primary-color);
            background: rgba(0, 0, 0, 0.05);
            box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
        }

        /* Select styling */
        select.form-control {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 16px center;
            background-size: 16px;
            padding-right: 40px;
            cursor: pointer;
        }

        select.form-control option {
            background: var(--surface-color-solid);
            color: var(--text-primary);
        }

        /* File Upload */
        .file-upload {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 32px;
            border: 2px dashed var(--border-color);
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition-fast);
            background: rgba(0, 0, 0, 0.01);
            text-align: center;
        }

        .file-upload:hover {
            border-color: var(--primary-color);
            background: rgba(139, 92, 246, 0.05);
        }

        .file-upload input[type="file"] {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }

        .file-upload-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            pointer-events: none;
        }

        .file-upload-icon {
            font-size: 32px;
            color: var(--primary-color);
        }

        /* Radio & Checkbox Groups */
        .options-group {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 8px;
        }

        .custom-radio,
        .custom-checkbox {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            color: var(--text-secondary);
        }

        .custom-radio input,
        .custom-checkbox input {
            appearance: none;
            margin: 0;
            width: 20px;
            height: 20px;
            border: 2px solid var(--border-color);
            background: rgba(0, 0, 0, 0.02);
            transition: var(--transition-fast);
            display: grid;
            place-content: center;
        }

        .custom-radio input {
            border-radius: 50%;
        }

        .custom-checkbox input {
            border-radius: 4px;
        }

        .custom-radio input::before {
            content: "";
            width: 10px;
            height: 10px;
            border-radius: 50%;
            transform: scale(0);
            transition: var(--transition-fast);
            box-shadow: inset 1em 1em var(--primary-color);
            background-color: var(--primary-color);
        }

        .custom-checkbox input::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            color: white;
            font-size: 11px;
            transform: scale(0);
            transition: var(--transition-fast);
        }

        .custom-radio input:checked,
        .custom-checkbox input:checked {
            border-color: var(--primary-color);
            background: rgba(139, 92, 246, 0.1);
        }

        .custom-radio input:checked::before,
        .custom-checkbox input:checked::before {
            transform: scale(1);
        }

        .custom-radio:hover,
        .custom-checkbox:hover {
            color: var(--text-primary);
        }

        /* Range Slider */
        .custom-range {
            width: 100%;
            appearance: none;
            height: 6px;
            border-radius: 3px;
            background: rgba(0, 0, 0, 0.1);
            outline: none;
            margin-top: 12px;
        }

        .custom-range::-webkit-slider-thumb {
            appearance: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--primary-color);
            cursor: pointer;
            box-shadow: 0 0 10px var(--primary-glow);
            transition: var(--transition-fast);
        }

        .custom-range::-webkit-slider-thumb:hover {
            transform: scale(1.2);
        }

        .range-values {
            display: flex;
            justify-content: space-between;
            font-size: 13px;
            color: var(--text-secondary);
            margin-top: 8px;
        }

        /* Color Picker */
        .color-picker-wrapper {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .color-preview {
            width: 44px;
            height: 44px;
            border-radius: var(--radius-sm);
            border: 2px solid var(--border-color);
            overflow: hidden;
            position: relative;
        }

        .form-control[type="color"] {
            position: absolute;
            top: -10px;
            left: -10px;
            width: 64px;
            height: 64px;
            padding: 0;
            border: none;
            cursor: pointer;
        }

        .color-hex {
            font-family: monospace;
            background: rgba(0, 0, 0, 0.03);
            padding: 8px 12px;
            border-radius: var(--radius-sm);
            border: 1px solid var(--border-color);
        }

        /* Form Actions */
        .form-actions {
            display: flex;
            justify-content: flex-end;
            gap: 16px;
            margin-top: 32px;
        }

        /* Toggle switch */
        .toggle-switch-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px;
            background: rgba(0, 0, 0, 0.02);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-sm);
        }

        .toggle-switch-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .toggle-switch-title {
            font-weight: 500;
            color: var(--text-primary);
        }

        .toggle-switch-desc {
            font-size: 13px;
            color: var(--text-secondary);
        }

        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 26px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.1);
            transition: .4s;
            border-radius: 34px;
            border: 1px solid var(--border-color);
        }

        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: var(--text-secondary);
            transition: .4s;
            border-radius: 50%;
        }

        .toggle-switch input:checked+.toggle-slider {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            box-shadow: 0 0 10px var(--primary-glow);
        }

        .toggle-switch input:checked+.toggle-slider:before {
            transform: translateX(24px);
            background-color: white;
        }

    .table-container {
            width: 100%;
            overflow-x: auto;
            border-radius: var(--radius-sm);
        }

        .modern-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0 8px;
            /* Spacing between rows */
            text-align: left;
            margin-top: 16px;
        }

        .modern-table th {
            padding: 16px 24px;
            color: var(--text-secondary);
            font-weight: 500;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid var(--border-color);
        }

        .modern-table tbody tr {
            background: rgba(0, 0, 0, 0.02);
            transition: var(--transition-fast);
            animation: fadeIn 0.5s ease forwards;
            opacity: 0;
        }

        /* Staggered animation for rows */
        .modern-table tbody tr:nth-child(1) {
            animation-delay: 0.1s;
        }

        .modern-table tbody tr:nth-child(2) {
            animation-delay: 0.15s;
        }

        .modern-table tbody tr:nth-child(3) {
            animation-delay: 0.2s;
        }

        .modern-table tbody tr:nth-child(4) {
            animation-delay: 0.25s;
        }

        .modern-table tbody tr:nth-child(5) {
            animation-delay: 0.3s;
        }

        .modern-table tbody tr:hover {
            background: rgba(0, 0, 0, 0.05);
            transform: translateY(-2px);
            box-shadow: var(--shadow-sm);
        }

        .modern-table td {
            padding: 16px 24px;
            vertical-align: middle;
            border-top: 1px solid transparent;
            border-bottom: 1px solid transparent;
        }

        .modern-table td:first-child {
            border-left: 1px solid transparent;
            border-top-left-radius: var(--radius-sm);
            border-bottom-left-radius: var(--radius-sm);
        }

        .modern-table td:last-child {
            border-right: 1px solid transparent;
            border-top-right-radius: var(--radius-sm);
            border-bottom-right-radius: var(--radius-sm);
        }

        .modern-table tbody tr:hover td {
            border-color: rgba(139, 92, 246, 0.2);
        }

        .user-cell {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .user-cell img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--border-color);
        }

        .user-details {
            display: flex;
            flex-direction: column;
        }

        .user-name-cell {
            font-weight: 500;
            color: var(--text-primary);
        }

        .user-email-cell {
            font-size: 13px;
            color: var(--text-secondary);
        }

        .status-badge {
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        .status-active {
            background: rgba(16, 185, 129, 0.15);
            color: #34d399;
            border: 1px solid rgba(52, 211, 153, 0.3);
        }

        .status-offline {
            background: rgba(148, 163, 184, 0.15);
            color: #94a3b8;
            border: 1px solid rgba(148, 163, 184, 0.3);
        }

        .status-banned {
            background: rgba(239, 68, 68, 0.15);
            color: #f87171;
            border: 1px solid rgba(248, 113, 113, 0.3);
        }

        .status-badge::before {
            content: '';
            display: block;
            width: 6px;
            height: 6px;
            border-radius: 50%;
        }

        .status-active::before {
            background: currentColor;
            box-shadow: 0 0 8px currentColor;
        }

        .status-offline::before {
            background: currentColor;
        }

        .status-banned::before {
            background: currentColor;
            box-shadow: 0 0 8px currentColor;
        }

        .action-btns {
            display: flex;
            gap: 8px;
        }

        .btn-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border-color);
            background: transparent;
            color: var(--text-secondary);
            cursor: pointer;
            transition: var(--transition-fast);
        }

        .btn-icon:hover {
            color: white;
            background: var(--primary-color);
            border-color: var(--primary-color);
            box-shadow: 0 0 10px var(--primary-glow);
        }

        .btn-icon.delete:hover {
            background: var(--danger);
            border-color: var(--danger);
            box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
        }

        .filters-area {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px;
            border-bottom: 1px solid var(--border-color);
            flex-wrap: wrap;
            gap: 16px;
        }

        .filter-group {
            display: flex;
            gap: 12px;
        }

        .filter-select {
            background: rgba(0, 0, 0, 0.03);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            padding: 8px 16px;
            border-radius: var(--radius-sm);
            outline: none;
            font-family: inherit;
            cursor: pointer;
        }

        .filter-select option {
            background: var(--surface-color-solid);
            color: var(--text-primary);
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 24px;
            border-top: 1px solid var(--border-color);
        }

        .page-info {
            color: var(--text-secondary);
            font-size: 14px;
        }

        .page-controls {
            display: flex;
            gap: 8px;
        }

        .page-btn {
            min-width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border-color);
            background: rgba(0, 0, 0, 0.02);
            color: var(--text-primary);
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition-fast);
            font-weight: 500;
        }

        .page-btn:hover:not(:disabled) {
            background: rgba(0, 0, 0, 0.05);
        }

        .page-btn.active {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: white;
            box-shadow: var(--shadow-glow);
        }

        .page-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

  .filter-search {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .filter-search input {
        padding: 8px 12px;
        border-radius: 10px;
        border: 1px solid var(--border-color);
        background: rgba(0, 0, 0, 0.02);
        color: var(--text-primary);
        outline: none;
        min-width: 240px;
        transition: border-color 160ms ease, box-shadow 160ms ease;
    }

    .filter-search input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    }

    .filter-search .search-btn {
        border: 1px solid var(--primary-color);
        background: rgba(139, 92, 246, 0.1);
        color: var(--primary-color);
        padding: 8px 12px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        transition: transform 150ms ease, box-shadow 150ms ease;
    }

    .filter-search .search-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    }

    .filter-search .search-btn:active {
        transform: translateY(0);
    }
    .quantity-input{
      height: 100%;
    /* width: 1000%; */
    border: 1px solid rgb(0, 0, 0, 0.2);
    box-shadow: 0 0 5px rgb(0, 0, 0, 0.2);
    border-radius: 0.5rem;
    text-align:center
    }