/**
 * Main Stylesheet for POS System
 *
 * @format
 */

/* General Styles */
:root {
  --primary-color: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --secondary-color: #475569;
  --secondary-light: #64748b;
  --secondary-dark: #334155;
  --success-color: #22c55e;
  --success-light: #4ade80;
  --danger-color: #ef4444;
  --danger-light: #f87171;
  --warning-color: #f59e0b;
  --warning-light: #fbbf24;
  --info-color: #3b82f6;
  --info-light: #60a5fa;
  --light-color: #f8fafc;
  --light-accent: #f1f5f9;
  --dark-color: #1e293b;
  --dark-accent: #0f172a;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: var(--light-color);
  color: var(--dark-color);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container-fluid {
  padding: 1.5rem;
  max-width: 1920px;
  margin: 0 auto;
}

/* Dashboard Cards */
.dashboard-card {
  background: white;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--light-accent);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dashboard-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.dashboard-card-title {
  color: var(--secondary-color);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.dashboard-card-value {
  color: var(--dark-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.dashboard-card-trend {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

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

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

/* Sidebar Styles */
.sidebar {
  background-color: var(--dark-color);
  color: var(--light-color);
  min-height: 100vh;
  padding: 0;
  position: fixed;
  width: 280px;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  border-right: 1px solid var(--dark-accent);
}

.sidebar-header {
  padding: 1.75rem;
  background-color: var(--dark-accent);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.sidebar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.sidebar-brand img {
  width: 32px;
  height: auto;
}

.sidebar-nav {
  padding: 1rem 0;
}

.nav-item {
  margin: 0.25rem 1rem;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: var(--light-color);
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  gap: 0.75rem;
  opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--primary-color);
  color: var(--light-color);
  opacity: 1;
}

.nav-link i {
  width: 1.25rem;
  text-align: center;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  gap: 0.5rem;
  cursor: pointer;
  border: 1px solid transparent;
}

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

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

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-color);
}

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

/* Toast Styles */
.toast-container {
  z-index: 9999;
}

.toast {
  background: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  border: none;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(100%);
  animation: slideIn 0.3s ease forwards;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-header {
  border-bottom: 1px solid var(--light-accent);
  padding: 0.75rem 1rem;
  background: transparent;
}

.toast-body {
  padding: 0.75rem 1rem;
}

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

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

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

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

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

/* Loading State */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--light-color);
  border-radius: 50%;
  border-top-color: transparent;
  right: 0.5rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.sidebar-brand:hover {
  color: #fff;
  text-decoration: none;
}

.sidebar-menu {
  padding: 0;
  list-style: none;
  margin-top: 20px;
}

.sidebar-menu li {
  margin-bottom: 5px;
}

.sidebar-menu li a {
  color: var(--light-color);
  opacity: 0.8;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s;
  border-radius: 0.5rem;
  margin: 0.25rem 0.75rem;
}

.sidebar-menu li a:hover {
  color: var(--light-color);
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-menu li a.active {
  color: var(--light-color);
  opacity: 1;
  background-color: var(--primary-color);
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.5);
}

.sidebar-menu li a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.sidebar-submenu {
  list-style: none;
  padding-left: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.sidebar-submenu.show {
  max-height: 500px;
}

.sidebar-submenu li a {
  padding-left: 50px;
  font-size: 0.9rem;
}

.sidebar-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #212529;
  padding: 15px;
  text-align: center;
  font-size: 0.8rem;
}

/* Main Content Styles */
.main-content {
  margin-left: 250px;
  padding: 20px;
  transition: all 0.3s;
}

.main-content.full-width {
  margin-left: 0;
}

/* Navbar Styles */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  margin-bottom: 20px;
}

.navbar-toggler {
  border: none;
  background-color: transparent;
}

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

.navbar-user img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 10px;
}

.navbar-user .dropdown-toggle::after {
  display: none;
}

.navbar-user .dropdown-menu {
  right: 0;
  left: auto;
}

.notification-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: #dc3545;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card Styles */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.card-header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
  font-weight: bold;
  border-radius: 10px 10px 0 0 !important;
}

.card-body {
  padding: 20px;
}

/* Dashboard Styles */
.dashboard-stats {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.stat-card {
  flex: 1;
  min-width: 200px;
  margin: 10px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.stat-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.5rem;
}

.stat-card-info h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
  font-weight: bold;
}

.stat-card-info p {
  margin-bottom: 0;
  color: #6c757d;
}

.stat-card.sales {
  background-color: #e3f2fd;
}

.stat-card.sales .stat-card-icon {
  background-color: #007bff;
  color: #fff;
}

.stat-card.products {
  background-color: #e8f5e9;
}

.stat-card.products .stat-card-icon {
  background-color: #28a745;
  color: #fff;
}

.stat-card.customers {
  background-color: #fff8e1;
}

.stat-card.customers .stat-card-icon {
  background-color: #ffc107;
  color: #fff;
}

.stat-card.profit {
  background-color: #fce4ec;
}

.stat-card.profit .stat-card-icon {
  background-color: #dc3545;
  color: #fff;
}

/* Chart Styles */
.chart-container {
  position: relative;
  height: 300px;
  margin-bottom: 20px;
}

/* Table Styles */
.table {
  margin-bottom: 1.5rem;
  background-color: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
}

.table thead th {
  background-color: var(--light-color);
  color: var(--secondary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.table tbody td {
  padding: 1rem;
  color: var(--dark-color);
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

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

.table tbody tr:hover {
  background-color: #f8fafc;
}

/* Chart Styles */
.chart-container {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  margin-bottom: 1.5rem;
}

.chart-title {
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.table .actions {
  display: flex;
  gap: 5px;
}

.table .btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.table .status-badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.table .status-badge.active {
  background-color: #d4edda;
  color: #155724;
}

.table .status-badge.inactive {
  background-color: #f8d7da;
  color: #721c24;
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-control {
  border-radius: 5px;
  border: 1px solid #ced4da;
  padding: 0.375rem 0.75rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control-sm {
  height: calc(1.5em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.form-control-lg {
  height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 5px;
}

/* Button Styles */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-outline-secondary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  color: white;
}

.btn-toolbar .btn {
  margin-right: 0.5rem;
}

.btn-success {
  background-color: #28a745;
  border-color: #28a745;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #212529;
}

.btn-warning:hover {
  background-color: #e0a800;
  border-color: #d39e00;
  color: #212529;
}

.btn-info {
  background-color: #17a2b8;
  border-color: #17a2b8;
}

.btn-info:hover {
  background-color: #138496;
  border-color: #117a8b;
}

.btn-outline-primary {
  color: #007bff;
  border-color: #007bff;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Alert Styles */
.alert {
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffeeba;
  color: #856404;
}

.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

/* Modal Styles */
.modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-radius: 10px 10px 0 0;
}

.modal-title {
  font-weight: bold;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  border-top: 1px solid #eee;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-radius: 0 0 10px 10px;
}

/* Pagination Styles */
.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

/* Invoice Styles */
.invoice-header {
  margin-bottom: 30px;
}

.invoice-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.invoice-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.invoice-details-col {
  flex: 1;
}

.invoice-details-col h5 {
  font-weight: bold;
  margin-bottom: 10px;
}

.invoice-table th {
  background-color: #f8f9fa;
}

.invoice-summary {
  margin-top: 30px;
  text-align: right;
}

.invoice-summary table {
  width: auto;
  margin-left: auto;
}

.invoice-summary table td {
  padding: 5px 15px;
}

.invoice-summary table td:first-child {
  text-align: right;
  font-weight: bold;
}

.invoice-summary table td:last-child {
  text-align: right;
}

.invoice-footer {
  margin-top: 50px;
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
}

/* POS Styles */
.pos-container {
  display: flex;
  height: calc(100vh - 70px);
}

.pos-products {
  flex: 2;
  padding: 15px;
  overflow-y: auto;
}

.pos-cart {
  flex: 1;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.pos-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pos-category {
  padding: 8px 15px;
  background-color: #f8f9fa;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.pos-category:hover {
  background-color: #e9ecef;
}

.pos-category.active {
  background-color: #007bff;
  color: #fff;
}

.pos-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.pos-product-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.pos-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pos-product-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.pos-product-image i {
  font-size: 2rem;
  color: #6c757d;
}

.pos-product-name {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.pos-product-price {
  color: #007bff;
  font-weight: bold;
}

.pos-cart-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 15px;
}

.pos-cart-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.pos-cart-item-details {
  flex: 1;
}

.pos-cart-item-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.pos-cart-item-price {
  color: #6c757d;
  font-size: 0.9rem;
}

.pos-cart-item-quantity {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.pos-cart-item-quantity button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
}

.pos-cart-item-quantity span {
  margin: 0 10px;
  font-weight: bold;
}

.pos-cart-item-remove {
  margin-left: 10px;
  color: #dc3545;
  cursor: pointer;
}

.pos-cart-summary {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
}

.pos-cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pos-cart-summary-row:last-child {
  margin-bottom: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.pos-cart-actions {
  display: flex;
  gap: 10px;
}

.pos-cart-actions button {
  flex: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .sidebar {
    width: 70px;
    overflow: hidden;
  }

  .sidebar-brand,
  .sidebar-menu li a span,
  .sidebar-footer {
    display: none;
  }

  .sidebar-menu li a i {
    margin-right: 0;
    font-size: 1.2rem;
  }

  .sidebar-menu li a {
    text-align: center;
    padding: 15px 0;
  }

  .main-content {
    margin-left: 70px;
  }

  .pos-container {
    flex-direction: column;
    height: auto;
  }

  .pos-products,
  .pos-cart {
    flex: none;
    width: 100%;
  }

  .pos-cart {
    margin-top: 20px;
    box-shadow: none;
    border-top: 1px solid #eee;
  }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -70px;
  }

  .sidebar.show {
    left: 0;
  }

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

  .dashboard-stats {
    flex-direction: column;
  }

  .stat-card {
    width: 100%;
  }

  .invoice-details {
    flex-direction: column;
  }

  .invoice-details-col {
    margin-bottom: 20px;
  }
}

.nav-link:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
  background-color: var(--primary-dark);
  color: var(--light-color);
}

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

.btn-primary {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--light-color);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--light-color);
  box-shadow: var(--shadow-lg);
}

.dashboard-card {
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.08), 0 1.5px 6px rgba(0,0,0,0.03);
  border: 1.5px solid var(--light-accent);
}

.dashboard-card-title {
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: var(--primary-dark);
}

.dashboard-card-value {
  font-size: 2.25rem;
  color: var(--primary-color);
}

.sidebar {
  box-shadow: 0 8px 32px rgba(30, 41, 59, 0.15);
}

.sidebar-nav .nav-link.active, .sidebar-nav .nav-link:hover {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.10);
}

.table thead th {
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary-color) 100%);
  color: #fff;
}

.table .actions {
  display: flex;
  gap: 5px;
}

.table .btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.table .status-badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.table .status-badge.active {
  background-color: #d4edda;
  color: #155724;
}

.table .status-badge.inactive {
  background-color: #f8d7da;
  color: #721c24;
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-control {
  border-radius: 5px;
  border: 1px solid #ced4da;
  padding: 0.375rem 0.75rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control-sm {
  height: calc(1.5em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.form-control-lg {
  height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 5px;
}

/* Button Styles */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-outline-secondary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  color: white;
}

.btn-toolbar .btn {
  margin-right: 0.5rem;
}

.btn-success {
  background-color: #28a745;
  border-color: #28a745;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #212529;
}

.btn-warning:hover {
  background-color: #e0a800;
  border-color: #d39e00;
  color: #212529;
}

.btn-info {
  background-color: #17a2b8;
  border-color: #17a2b8;
}

.btn-info:hover {
  background-color: #138496;
  border-color: #117a8b;
}

.btn-outline-primary {
  color: #007bff;
  border-color: #007bff;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Alert Styles */
.alert {
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffeeba;
  color: #856404;
}

.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

/* Modal Styles */
.modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-radius: 10px 10px 0 0;
}

.modal-title {
  font-weight: bold;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  border-top: 1px solid #eee;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-radius: 0 0 10px 10px;
}

/* Pagination Styles */
.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

/* Invoice Styles */
.invoice-header {
  margin-bottom: 30px;
}

.invoice-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.invoice-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.invoice-details-col {
  flex: 1;
}

.invoice-details-col h5 {
  font-weight: bold;
  margin-bottom: 10px;
}

.invoice-table th {
  background-color: #f8f9fa;
}

.invoice-summary {
  margin-top: 30px;
  text-align: right;
}

.invoice-summary table {
  width: auto;
  margin-left: auto;
}

.invoice-summary table td {
  padding: 5px 15px;
}

.invoice-summary table td:first-child {
  text-align: right;
  font-weight: bold;
}

.invoice-summary table td:last-child {
  text-align: right;
}

.invoice-footer {
  margin-top: 50px;
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
}

/* POS Styles */
.pos-container {
  display: flex;
  height: calc(100vh - 70px);
}

.pos-products {
  flex: 2;
  padding: 15px;
  overflow-y: auto;
}

.pos-cart {
  flex: 1;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.pos-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pos-category {
  padding: 8px 15px;
  background-color: #f8f9fa;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.pos-category:hover {
  background-color: #e9ecef;
}

.pos-category.active {
  background-color: #007bff;
  color: #fff;
}

.pos-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.pos-product-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.pos-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pos-product-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.pos-product-image i {
  font-size: 2rem;
  color: #6c757d;
}

.pos-product-name {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.pos-product-price {
  color: #007bff;
  font-weight: bold;
}

.pos-cart-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 15px;
}

.pos-cart-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.pos-cart-item-details {
  flex: 1;
}

.pos-cart-item-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.pos-cart-item-price {
  color: #6c757d;
  font-size: 0.9rem;
}

.pos-cart-item-quantity {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.pos-cart-item-quantity button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
}

.pos-cart-item-quantity span {
  margin: 0 10px;
  font-weight: bold;
}

.pos-cart-item-remove {
  margin-left: 10px;
  color: #dc3545;
  cursor: pointer;
}

.pos-cart-summary {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
}

.pos-cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pos-cart-summary-row:last-child {
  margin-bottom: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.pos-cart-actions {
  display: flex;
  gap: 10px;
}

.pos-cart-actions button {
  flex: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .sidebar {
    width: 70px;
    overflow: hidden;
  }

  .sidebar-brand,
  .sidebar-menu li a span,
  .sidebar-footer {
    display: none;
  }

  .sidebar-menu li a i {
    margin-right: 0;
    font-size: 1.2rem;
  }

  .sidebar-menu li a {
    text-align: center;
    padding: 15px 0;
  }

  .main-content {
    margin-left: 70px;
  }

  .pos-container {
    flex-direction: column;
    height: auto;
  }

  .pos-products,
  .pos-cart {
    flex: none;
    width: 100%;
  }

  .pos-cart {
    margin-top: 20px;
    box-shadow: none;
    border-top: 1px solid #eee;
  }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -70px;
  }

  .sidebar.show {
    left: 0;
  }

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

  .dashboard-stats {
    flex-direction: column;
  }

  .stat-card {
    width: 100%;
  }

  .invoice-details {
    flex-direction: column;
  }

  .invoice-details-col {
    margin-bottom: 20px;
  }
}

.nav-link:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
  background-color: var(--primary-dark);
  color: var(--light-color);
}

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

.btn-primary {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--light-color);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--light-color);
  box-shadow: var(--shadow-lg);
}

.dashboard-card {
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.08), 0 1.5px 6px rgba(0,0,0,0.03);
  border: 1.5px solid var(--light-accent);
}

.dashboard-card-title {
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: var(--primary-dark);
}

.dashboard-card-value {
  font-size: 2.25rem;
  color: var(--primary-color);
}

.sidebar {
  box-shadow: 0 8px 32px rgba(30, 41, 59, 0.15);
}

.sidebar-nav .nav-link.active, .sidebar-nav .nav-link:hover {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.10);
}

.table thead th {
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary-color) 100%);
  color: #fff;
}

.table .actions {
  display: flex;
  gap: 5px;
}

.table .btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.table .status-badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.table .status-badge.active {
  background-color: #d4edda;
  color: #155724;
}

.table .status-badge.inactive {
  background-color: #f8d7da;
  color: #721c24;
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-control {
  border-radius: 5px;
  border: 1px solid #ced4da;
  padding: 0.375rem 0.75rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control-sm {
  height: calc(1.5em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.form-control-lg {
  height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 5px;
}

/* Button Styles */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-outline-secondary {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  color: white;
}

.btn-toolbar .btn {
  margin-right: 0.5rem;
}

.btn-success {
  background-color: #28a745;
  border-color: #28a745;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #bd2130;
}

.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #212529;
}

.btn-warning:hover {
  background-color: #e0a800;
  border-color: #d39e00;
  color: #212529;
}

.btn-info {
  background-color: #17a2b8;
  border-color: #17a2b8;
}

.btn-info:hover {
  background-color: #138496;
  border-color: #117a8b;
}

.btn-outline-primary {
  color: #007bff;
  border-color: #007bff;
}

.btn-outline-primary:hover {
  background-color: #007bff;
  border-color: #007bff;
  color: #fff;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Alert Styles */
.alert {
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffeeba;
  color: #856404;
}

.alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

/* Modal Styles */
.modal-content {
  border-radius: 10px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-radius: 10px 10px 0 0;
}

.modal-title {
  font-weight: bold;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  border-top: 1px solid #eee;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-radius: 0 0 10px 10px;
}

/* Pagination Styles */
.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

/* Invoice Styles */
.invoice-header {
  margin-bottom: 30px;
}

.invoice-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.invoice-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.invoice-details-col {
  flex: 1;
}

.invoice-details-col h5 {
  font-weight: bold;
  margin-bottom: 10px;
}

.invoice-table th {
  background-color: #f8f9fa;
}

.invoice-summary {
  margin-top: 30px;
  text-align: right;
}

.invoice-summary table {
  width: auto;
  margin-left: auto;
}

.invoice-summary table td {
  padding: 5px 15px;
}

.invoice-summary table td:first-child {
  text-align: right;
  font-weight: bold;
}

.invoice-summary table td:last-child {
  text-align: right;
}

.invoice-footer {
  margin-top: 50px;
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
}

/* POS Styles */
.pos-container {
  display: flex;
  height: calc(100vh - 70px);
}

.pos-products {
  flex: 2;
  padding: 15px;
  overflow-y: auto;
}

.pos-cart {
  flex: 1;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.pos-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.pos-category {
  padding: 8px 15px;
  background-color: #f8f9fa;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.pos-category:hover {
  background-color: #e9ecef;
}

.pos-category.active {
  background-color: #007bff;
  color: #fff;
}

.pos-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 15px;
}

.pos-product-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.pos-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.pos-product-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.pos-product-image i {
  font-size: 2rem;
  color: #6c757d;
}

.pos-product-name {
  font-weight: bold;
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.pos-product-price {
  color: #007bff;
  font-weight: bold;
}

.pos-cart-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 15px;
}

.pos-cart-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.pos-cart-item-details {
  flex: 1;
}

.pos-cart-item-name {
  font-weight: bold;
  margin-bottom: 5px;
}

.pos-cart-item-price {
  color: #6c757d;
  font-size: 0.9rem;
}

.pos-cart-item-quantity {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.pos-cart-item-quantity button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
}

.pos-cart-item-quantity span {
  margin: 0 10px;
  font-weight: bold;
}

.pos-cart-item-remove {
  margin-left: 10px;
  color: #dc3545;
  cursor: pointer;
}

.pos-cart-summary {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
}

.pos-cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.pos-cart-summary-row:last-child {
  margin-bottom: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

.pos-cart-actions {
  display: flex;
  gap: 10px;
}

.pos-cart-actions button {
  flex: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .sidebar {
    width: 70px;
    overflow: hidden;
  }

  .sidebar-brand,
  .sidebar-menu li a span,
  .sidebar-footer {
    display: none;
  }

  .sidebar-menu li a i {
    margin-right: 0;
    font-size: 1.2rem;
  }

  .sidebar-menu li a {
    text-align: center;
    padding: 15px 0;
  }

  .main-content {
    margin-left: 70px;
  }

  .pos-container {
    flex-direction: column;
    height: auto;
  }

  .pos-products,
  .pos-cart {
    flex: none;
    width: 100%;
  }

  .pos-cart {
    margin-top: 20px;
    box-shadow: none;
    border-top: 1px solid #eee;
  }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -70px;
  }

  .sidebar.show {
    left: 0;
  }

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

  .dashboard-stats {
    flex-direction: column;
  }

  .stat-card {
    width: 100%;
  }

  .invoice-details {
    flex-direction: column;
  }

  .invoice-details-col {
    margin-bottom: 20px;
  }
}

.nav-link:focus {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
  background-color: var(--primary-dark);
  color: var(--light-color);
}

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

.btn-primary {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--light-color);
  border: none;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--light-color);
  box-shadow: var(--shadow-lg);
}

.dashboard-card {
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.08), 0 1.5px 6px rgba(0,0,0,0.03);
  border: 1.5px solid var(--light-accent);
}

.dashboard-card-title {
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: var(--primary-dark);
}

.dashboard-card-value {
  font-size: 2.25rem;
  color: var(--primary-color);
}

.sidebar {
  box-shadow: 0 8px 32px rgba(30, 41, 59, 0.15);
}

.sidebar-nav .nav-link.active, .sidebar-nav .nav-link:hover {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.10);
}

.table thead th {
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary-color) 100%);
  color: #fff;
}

.table .actions {
  display: flex;
  gap: 5px;
}

.table .btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.table .status-badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.table .status-badge.active {
  background-color: #d4edda;
  color: #155724;
}

.table .status-badge.inactive {
  background-color: #f8d7da;
  color: #721c24;
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-control {
  border-radius: 5px;
  border: 1px solid #ced4da;
  padding: 0.375rem 0.75rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-control-sm {
  height: calc(1.5em + 0.5rem + 2px);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.form-control-lg {
  height: calc(1.5em + 1rem + 2px);
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0.3rem;
}

.input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 5px;
}

/* Button Styles */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
