/* ======================================
   PhDesigns Secure System Stylesheet v5.0
   PROFESSIONAL PRODUCTION-READY EDITION
   ====================================== */

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

:root {
  /* Dark Theme Colors - Enhanced */
  --bg-primary: #0a0e14;
  --bg-secondary: #0d1117;
  --bg-tertiary: #161b22;
  --panel: #1c2128;
  --panel-hover: #22272e;
  --panel-elevated: #2d333b;
  
  /* Text Colors */
  --text-primary: #f0f6fc;
  --text-secondary: #adbac7;
  --text-muted: #768390;
  --text-disabled: #545d68;
  
  /* Brand Colors - Professional Palette */
  --accent-primary: #2d8cf0;
  --accent-hover: #1976d2;
  --accent-light: #4fa3ff;
  --accent-dark: #1565c0;
  
  /* Semantic Colors */
  --success: #28a745;
  --success-hover: #218838;
  --success-light: #34ce57;
  --danger: #dc3545;
  --danger-hover: #c82333;
  --danger-light: #ff4757;
  --warning: #ffc107;
  --warning-hover: #e0a800;
  --info: #17a2b8;
  --info-hover: #138496;
  
  /* UI Elements */
  --border-color: #30363d;
  --border-light: #444c56;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.3);
  
  /* Spacing & Sizing */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* ==========================================
   AUTHENTICATION PAGES (Login/Register/Reset)
   ========================================== */

.auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.auth-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(45, 140, 240, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.auth-box {
  background: var(--panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.auth-box h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.auth-box label {
  display: block;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.auth-box input {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 400;
  transition: all var(--transition-fast);
  min-height: 48px;
  font-family: inherit;
}

.auth-box input::placeholder {
  color: var(--text-muted);
}

.auth-box input:focus {
  border-color: var(--accent-primary);
  background: var(--panel);
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 140, 240, 0.1);
}

.auth-box input:hover:not(:focus) {
  border-color: var(--border-light);
}

.password-field {
  position: relative;
}

.password-field input[type="password"],
.password-field input[type="text"] {
  width: 100%;
  padding-right: 3rem;
}

.password-field .toggle-eye {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.125rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 0.5rem;
  user-select: none;
}

.password-field .toggle-eye:hover {
  color: var(--accent-primary);
}

.auth-box button {
  width: 100%;
  padding: 1rem;
  margin-top: 2rem;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 50px;
  box-shadow: 0 2px 8px rgba(45, 140, 240, 0.25);
  letter-spacing: 0.01em;
  font-family: inherit;
}

.auth-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 140, 240, 0.4);
}

.auth-box button:active {
  transform: translateY(0);
}

.auth-box p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.auth-box a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.auth-box a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

/* ==========================================
   DASHBOARD LAYOUT
   ========================================== */

.dashboard-container {
  display: flex;
  min-height: 100vh;
  background: var(--bg-primary);
}

/* Sidebar Styles */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-secondary) 100%);
  border-right: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  transition: all var(--transition-base);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.sidebar-logo {
  flex-shrink: 0;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-logo-img {
  max-width: 150px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(45, 140, 240, 0.3));
  transition: transform var(--transition-base);
}

.sidebar-logo-img:hover {
  transform: scale(1.05);
}

.sidebar nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 0;
}

.sidebar nav ul {
  list-style: none;
  padding: 0 1rem;
}

.sidebar nav ul li {
  margin: 0.5rem 0;
}

.sidebar nav ul li a {
  display: flex;
  align-items: center;
  padding: 0.875rem 1.25rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  border-radius: var(--radius-md);
  min-height: 44px;
}

.sidebar nav ul li a:hover {
  background: var(--panel-hover);
  color: var(--text-primary);
}

.sidebar nav ul li a.active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
  color: #fff;
  box-shadow: 0 2px 8px rgba(45, 140, 240, 0.3);
}

.logout-container {
  flex-shrink: 0;
  padding: 1.5rem 1rem;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
}

.logout-container form {
  width: 100%;
}

.logout-container .btn-red {
  width: 100%;
  padding: 0.875rem;
  font-size: 0.9375rem;
}

/* Dashboard Content Area */
.dashboard-content {
  flex: 1;
  margin-left: 260px;
  padding: 2rem;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.dashboard-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.role {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
  display: inline-block;
}

.dashboard-section {
  background: var(--panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-base);
}

.dashboard-section:hover {
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   DATA TABLES
   ========================================== */

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border-radius: var(--radius-md);
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 1rem;
  font-size: 0.9375rem;
  min-width: 800px;
}

.data-table thead tr {
  background: var(--panel-elevated);
}

.data-table th {
  color: var(--text-primary);
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 2px solid var(--border-light);
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: middle;
}

.data-table tbody tr {
  background: var(--panel);
  transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
  background: var(--panel-hover);
}

.data-table .empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ==========================================
   BUTTONS - Professional & Touch-Friendly
   ========================================== */

button,
.btn,
.btn-blue,
.btn-red,
.btn-green,
.btn-gray,
.btn-audit,
.btn-warning {
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-base);
  min-height: 44px;
  min-width: 44px;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-blue {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
  color: #fff;
  box-shadow: 0 2px 6px rgba(45, 140, 240, 0.25);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 140, 240, 0.4);
}

.btn-red {
  background: linear-gradient(135deg, var(--danger), var(--danger-hover));
  color: #fff;
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.25);
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.btn-green {
  background: linear-gradient(135deg, var(--success), var(--success-hover));
  color: #fff;
  box-shadow: 0 2px 6px rgba(40, 167, 69, 0.25);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.btn-gray {
  background: linear-gradient(135deg, #6c757d, #5a6268);
  color: #fff;
  box-shadow: 0 2px 6px rgba(108, 117, 125, 0.25);
}

.btn-gray:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
}

.btn-warning {
  background: linear-gradient(135deg, var(--warning), var(--warning-hover));
  color: #212529;
  box-shadow: 0 2px 6px rgba(255, 193, 7, 0.25);
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-audit {
  background: linear-gradient(135deg, var(--info), var(--info-hover));
  color: #fff;
  box-shadow: 0 2px 6px rgba(23, 162, 184, 0.25);
}

.btn-audit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
}

button:active,
.btn:active,
.btn-blue:active,
.btn-red:active,
.btn-green:active,
.btn-gray:active,
.btn-warning:active,
.btn-audit:active {
  transform: scale(0.98);
}

/* Button Sizes */
.btn-sm {
  font-size: 0.875rem;
  padding: 0.625rem 1rem;
  min-height: 38px;
}

.btn-lg {
  font-size: 1.125rem;
  padding: 1rem 1.75rem;
  min-height: 52px;
}

/* Action Buttons Container */
.actions-cell {
  min-width: 300px;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.action-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

/* ==========================================
   MESSAGES & ALERTS
   ========================================== */

.msg {
  padding: 1rem 1.25rem;
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid var(--danger);
  border-left: 4px solid var(--danger);
  border-radius: var(--radius-md);
  color: var(--danger-light);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.success-msg {
  padding: 1rem 1.25rem;
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid var(--success);
  border-left: 4px solid var(--success);
  border-radius: var(--radius-md);
  color: var(--success-light);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.warning-msg {
  padding: 1rem 1.25rem;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid var(--warning);
  border-left: 4px solid var(--warning);
  border-radius: var(--radius-md);
  color: var(--warning);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.info-msg {
  padding: 1rem 1.25rem;
  background: rgba(23, 162, 184, 0.1);
  border: 1px solid var(--info);
  border-left: 4px solid var(--info);
  border-radius: var(--radius-md);
  color: var(--info);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}

.toast {
  background: var(--panel-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  min-width: 300px;
  max-width: 420px;
  box-shadow: var(--shadow-xl);
  animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.toast.success {
  border-left: 4px solid var(--success);
}

.toast.error {
  border-left: 4px solid var(--danger);
}

.toast.warning {
  border-left: 4px solid var(--warning);
}

.toast.info {
  border-left: 4px solid var(--info);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.toast-message {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0.25rem;
  min-width: auto;
  min-height: auto;
  transition: color var(--transition-fast);
}

.toast-close:hover {
  color: var(--text-primary);
}

/* Modal Dialogs */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: scaleIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-header {
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.modal-body {
  margin-bottom: 2rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

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

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================
   MOBILE MENU
   ========================================== */

.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1100;
  background: var(--accent-primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  box-shadow: var(--shadow-md);
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  z-index: 999;
}

.mobile-overlay.active {
  display: block;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
  .dashboard-content {
    padding: 1.5rem;
  }
  
  .data-table {
    font-size: 0.875rem;
  }
  
  .data-table th,
  .data-table td {
    padding: 0.875rem 1rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    bottom: 0;
    width: 280px;
    max-width: 85%;
    z-index: 1000;
    transition: left var(--transition-base);
  }
  
  .sidebar.active {
    left: 0;
    box-shadow: var(--shadow-xl);
  }
  
  .dashboard-content {
    margin-left: 0;
    padding: 1rem;
    padding-top: 5rem;
    width: 100%;
  }
  
  .dashboard-header h1 {
    font-size: 1.5rem;
  }
  
  .dashboard-section {
    padding: 1.25rem;
  }
  
  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .data-table th,
  .data-table td {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
  
  .actions-cell {
    min-width: 280px;
  }
  
  .action-form {
    gap: 0.4rem;
  }
  
  .btn-sm {
    font-size: 0.8125rem;
    padding: 0.5rem 0.875rem;
    min-height: 36px;
  }
  
  .auth-box {
    padding: 2rem 1.5rem;
    max-width: 95%;
  }
  
  .auth-box h2 {
    font-size: 1.5rem;
  }
  
  .role {
    display: block;
    margin-top: 0.5rem;
  }
  
  #toast-container {
    top: 5rem;
    right: 1rem;
    left: 1rem;
  }
  
  .toast {
    min-width: 100%;
  }
}

@media (max-width: 425px) {
  html, body {
    font-size: 15px;
  }
  
  .dashboard-content {
    padding: 0.75rem;
    padding-top: 4.5rem;
  }
  
  .dashboard-header {
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .dashboard-header h1 {
    font-size: 1.25rem;
  }
  
  .dashboard-section {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .data-table {
    font-size: 0.8125rem;
    min-width: 700px;
  }
  
  .data-table th,
  .data-table td {
    padding: 0.625rem 0.5rem;
  }
  
  .actions-cell {
    min-width: 240px;
  }
  
  .btn-sm {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    min-height: 34px;
  }
  
  .auth-wrapper {
    padding: 1rem 0.75rem;
  }
  
  .auth-box {
    padding: 1.5rem 1rem;
  }
  
  .auth-box h2 {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
  }
  
  .sidebar {
    width: 260px;
  }
  
  .modal {
    padding: 1.5rem;
  }
  
  .modal-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 375px) {
  html, body {
    font-size: 14px;
  }
  
  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
  }
  
  .dashboard-header h1 {
    font-size: 1.15rem;
  }
  
  .data-table {
    font-size: 0.75rem;
  }
  
  .auth-box h2 {
    font-size: 1.25rem;
  }
  
  .sidebar {
    width: 240px;
  }
}

@media (max-width: 320px) {
  html, body {
    font-size: 13px;
  }
  
  .mobile-menu-toggle {
    width: 42px;
    height: 42px;
    top: 0.75rem;
    left: 0.75rem;
  }
  
  .dashboard-content {
    padding: 0.5rem;
    padding-top: 4rem;
  }
  
  .dashboard-section {
    padding: 0.75rem;
  }
  
  .data-table {
    font-size: 0.6875rem;
    min-width: 650px;
  }
  
  .data-table th,
  .data-table td {
    padding: 0.5rem 0.4rem;
  }
  
  .auth-box {
    padding: 1.25rem 0.75rem;
  }
  
  .auth-box h2 {
    font-size: 1.15rem;
  }
  
  .sidebar {
    width: 220px;
  }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 1rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.p-0 {
  padding: 0;
}

.hidden {
  display: none;
}

/* Improve scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

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

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Selection styling */
::selection {
  background: rgba(45, 140, 240, 0.3);
  color: var(--text-primary);
}
