:root {
  --bg-primary: #0f1117;
  --bg-secondary: #1a1d28;
  --bg-tertiary: #252a38;
  --text-primary: #f0f2f6;
  --text-secondary: #8a92a9;
  --accent: #7c7cff;
  --accent-hover: #9d9dff;
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #ff5252;
  --border: #2d3245;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
  --transition: all 0.2s ease;
}

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

html, body {
  height: 100%;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

body {
  display: flex;
  min-height: 100vh;
}

/* Login Page Styles */
body.login-page {
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 20px;
}

.login-container {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.login-box {
  width: 100%;
  animation: fadeIn 0.5s ease-in-out;
}

.login-logo {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo h2 {
  color: var(--accent);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Animation for login form */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments for login */
@media (max-width: 480px) {
  .login-container {
    padding: 0 15px;
  }
  
  .login-logo h2 {
    font-size: 24px;
  }
}

/* User Management Styles */
.permissions-label {
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
  color: var(--text-primary);
}

.permissions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.permission-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  transition: var(--transition);
}

.permission-item:hover {
  background: var(--bg-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.permission-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}

.permission-checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

.checkmark {
  width: 18px;
  height: 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 3px;
  margin-right: 10px;
  position: relative;
  transition: var(--transition);
}

.permission-checkbox input[type="checkbox"]:checked + .checkmark {
  background: var(--accent);
  border-color: var(--accent);
}

.permission-checkbox input[type="checkbox"]:checked + .checkmark:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.btn-primary {
  background: var(--accent);
}

.btn-danger {
  background: var(--danger);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-danger:hover {
  background: #ff3838;
}

.badge {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.admin-badge {
  background: var(--accent);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  margin-left: 8px;
}

.user-info {
  display: flex;
  align-items: center;
}

.permissions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.permission-badge {
  background: var(--success);
  color: white;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

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

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  transition: var(--transition);
}

.btn-icon:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.btn-danger.btn-icon:hover {
  background: var(--danger);
}

.inline-form {
  display: inline;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h4 {
  margin-bottom: 8px;
  color: var(--text-primary);
}

.table-responsive {
  overflow-x: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .permissions-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .action-buttons {
    flex-wrap: wrap;
  }
  
  .permissions-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

.app-container {
  display: flex;
  flex: 1;
  width: 100%;
}

/* Sidebar */
.sidebar {
  width: 240px;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.sidebar-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.4px;
}

.nav-menu {
  list-style: none;
  padding: 12px 0;
  margin: 0;
  flex: 1;
  overflow: auto;
}

.nav-menu li {
  margin: 4px 8px;
}

.nav-menu a {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-menu a i {
  width: 20px;
  margin-right: 12px;
  font-size: 14px;
  text-align: center;
}

.nav-menu a:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  transform: translateX(2px);
}

.nav-menu a.active {
  background: linear-gradient(145deg, var(--accent), #6b3dff);
  color: white;
  box-shadow: var(--shadow-sm);
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 28px;
  overflow: auto;
  background: var(--bg-primary);
}

.content-header {
  margin-bottom: 24px;
}

.content-header h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.content-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Card */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-tertiary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.card-body {
  padding: 20px;
  flex: 1;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.stat-card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--accent), #6b3dff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  box-shadow: var(--shadow-sm);
}

.stat-card-icon i {
  color: #fff;
  font-size: 16px;
}

.stat-card-title {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-card-value {
  font-size: 20px;
  font-weight: 800;
  margin-top: 8px;
  letter-spacing: -0.5px;
}

.stat-card-change {
  font-size: 13px;
  font-weight: 600;
  color: var(--success);
  margin-top: 8px;
}

/* Layout */
.side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 1200px) {
  .side-by-side {
    grid-template-columns: 1fr;
  }
}

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.form-group label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: var(--text-primary);
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 124, 255, 0.2);
}

.form-control.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 8px 12px;
  font-size: 13px;
}

/* Table */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  background: var(--bg-tertiary);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--bg-tertiary);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.page-btn {
  padding: 8px 12px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

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

/* Messages */
.success-message {
  background: var(--success);
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-weight: 500;
}

.error-message {
  background: var(--danger);
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-weight: 500;
}

/* Utilities */
.text-muted {
  color: var(--text-secondary);
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mt-1 {
  margin-top: 8px;
}

/* Modal styles */
#addItemModal > div {
  max-height: 90vh;
  overflow-y: auto;
}

#addItemModal, #cameraModal, #qrModal {
  transition: opacity 0.3s ease;
}

#addItemModal .form-control {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
}

#addItemModal .form-control:focus {
  border-color: var(--accent);
  outline: none;
}

/* Status badges */
.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.active {
  background: var(--success);
  color: white;
}

.status-badge.inactive {
  background: var(--warning);
  color: black;
}

.btn.active {
  box-shadow: 0 0 0 2px var(--accent);
}

/* QR Code styles */
.btn-sm[style*="var(--info)"] {
  background: var(--info) !important;
}

@keyframes scan {
  0% { transform: translateY(-50%) translateX(-30%); }
  100% { transform: translateY(-50%) translateX(30%); }
}

#scanning-overlay {
  pointer-events: none;
}

#scan-status {
  font-size: 12px;
  font-weight: 500;
}

/* QR Scanner specific styles */
#camera-container {
  position: relative;
  margin-bottom: 20px;
}

#scanning-overlay {
  pointer-events: none;
}

@keyframes scan {
  0% { transform: translateY(-50%) translateX(-30%); }
  100% { transform: translateY(-50%) translateX(30%); }
}

#scan-status {
  transition: all 0.3s ease;
}

/* Form actions styling */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.btn-primary {
  background: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

/* Current user display styles */
.current-user-display {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.current-user-display i {
  color: var(--accent);
}

/* Mobile optimization */
@media (max-width: 768px) {
  .sidebar {
    width: 64px;
  }
  
  .sidebar-header h2,
  .nav-menu span {
    display: none;
  }
  
  .nav-menu a {
    justify-content: center;
    padding: 16px;
  }
  
  .nav-menu a i {
    margin-right: 0;
    font-size: 18px;
  }
  
  .main-content {
    padding: 16px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  #camera-container {
    margin: 0 -16px;
  }
  
  #video {
    border-radius: 0 !important;
    height: 250px !important;
  }
  
  .card-body > div {
    grid-template-columns: 1fr !important;
  }
}

canvas {
  display: none;
}

/* Additional smooth transitions for interactive elements */
* {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Top Bar Styles */
.top-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
}

.hamburger-btn {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.hamburger-btn:hover {
  background: var(--bg-tertiary);
}

.hamburger-btn:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hamburger-icon {
  position: relative;
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger-icon::before {
  transform: translateY(-8px);
}

.hamburger-icon::after {
  transform: translateY(8px);
}

/* Sidebar state when hidden */
.sidebar-hidden .sidebar {
  transform: translateX(-100%);
}

.sidebar-hidden .main-content {
  margin-left: 0;
}

/* Animation for sidebar */
.sidebar {
  transition: transform 0.3s ease;
}

.main-content {
  transition: margin-left 0.3s ease;
}

/* Sidebar navigation alignment */
.sidebar .nav-menu {
  list-style: none;
  padding: 20px 0 0 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sidebar .nav-menu li {
  width: 100%;
}

.sidebar .nav-menu li a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text-primary);
  width: 100%;
}

.sidebar .nav-menu li a i {
  margin-right: 10px;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .top-bar {
    display: flex;
  }
  
  .sidebar {
    position: fixed;
    z-index: 998;
    height: 100vh;
    transform: translateX(0);
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    width: 50vw;
  }
  
  .main-content {
    margin-left: 0;
    padding-top: 76px;
  }
  
  /* Initially hide sidebar on mobile */
  .sidebar {
    transform: translateX(-100%);
  }
  
  /* When sidebar is visible on mobile */
  .sidebar-visible .sidebar {
    transform: translateX(0);
  }
  
  .sidebar-visible .main-content {
    margin-left: 0;
  }
  
  /* Overlay when sidebar is open on mobile */
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 997;
  }
  
  .sidebar-visible .sidebar-overlay {
    display: block;
  }
}

/* QR Code Modal Styles */
.qr-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.qr-modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  max-width: 300px;
}

.qr-image {
  width: 200px;
  height: 200px;
  border: 1px solid var(--border);
  margin-bottom: 15px;
}

/* Add/Edit Item Modal Styles */
.add-item-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.add-item-modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
}

.add-item-modal-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.add-item-modal-body {
  padding: 20px;
}

/* Camera Modal Styles */
.camera-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 1001;
  justify-content: center;
  align-items: center;
}

.camera-modal-content {
  background: var(--bg-secondary);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.camera-video {
  border: 2px solid var(--accent);
  border-radius: 4px;
}

.camera-preview {
  display: none;
  margin-top: 10px;
  text-align: center;
}

.camera-preview-img {
  max-width: 200px;
  max-height: 200px;
  border: 2px solid var(--accent);
  border-radius: 4px;
}

/* Status badges */
.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.active {
  background: var(--success);
  color: white;
}

.status-badge.inactive {
  background: var(--warning);
  color: black;
}

/* Item image styles */
.item-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.item-image-placeholder {
  width: 50px;
  height: 50px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

/* Action buttons */
.action-buttons {
  display: flex;
  gap: 5px;
}

/* Filter buttons */
.filter-buttons {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

/* Content header buttons */
.content-header-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

/* Form control adjustments */
.form-control[type="file"] {
  padding: 8px;
}

/* Text muted small */
.text-muted-small {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Button groups */
.btn-group {
  display: flex;
  gap: 5px;
}

/* Fix for button styles in items.php */
.btn-success {
  background: var(--success);
}

.btn-warning {
  background: var(--warning);
  color: #000;
}

.btn-info {
  background: var(--accent);
}

.btn-danger {
  background: var(--danger);
}

/* Fix for active button states */
.btn.active {
  box-shadow: 0 0 0 2px var(--accent);
}

/* Additional table styles */
.data-table img {
  max-width: 100%;
}

/* Fix for modal backdrop */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

/* Ensure modals are above backdrop */
.add-item-modal,
.camera-modal,
.qr-modal {
  z-index: 1000;
}

/* Print styles for QR code */
@media print {
  body * {
    visibility: hidden;
  }
  .qr-container, .qr-container * {
    visibility: visible;
  }
  .qr-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}

/* Filter form styles */
.filter-form {
  margin-bottom: 20px;
  padding: 15px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.filter-form .form-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.search-container {
  position: relative;
  display: flex;
}

.search-container input {
  padding-right: 40px;
  flex: 1;
}

.search-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 40px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  color: var(--accent);
}

/* Status badges */
.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.active {
  background: var(--success);
  color: white;
}

.status-badge.inactive {
  background: var(--warning);
  color: black;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .filter-form .form-grid {
    grid-template-columns: 1fr;
  }
  
  .search-container {
    flex-direction: column;
  }
  
  .search-btn {
    position: relative;
    width: 100%;
    margin-top: 8px;
  }
}
