  :root {
      --primary: #6c4ba3;
      --primary-dark: #5a3c8f;
      --secondary: #f8f4ff;
      --accent: #ff6b6b;
      --text: #333;
      --text-light: #666;
      --border: #ddd;
      --success: #4caf50;
      --warning: #ff9800;
      --danger: #f44336;
      --gray: #f5f5f5;
    }
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    body {
      background-color: #f9f7fc;
      color: var(--text);
      line-height: 1.6;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }
    
    h1, h2, h3 {
      color: var(--primary);
      margin-bottom: 15px;
    }
    
    h1 {
      text-align: center;
      font-size: 2.2rem;
      margin-bottom: 30px;
      padding-bottom: 15px;
      border-bottom: 3px solid var(--primary);
    }
    
    h2 {
      font-size: 1.5rem;
      margin-top: 30px;
      margin-bottom: 15px;
      color: var(--primary-dark);
    }
    
    .card {
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      padding: 20px;
      margin-bottom: 25px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    
    .card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--border);
    }
    
    .card-title {
      font-size: 1.3rem;
      color: var(--primary);
      font-weight: 600;
    }
    
    input, select, button {
      padding: 10px 15px;
      border: 1px solid var(--border);
      border-radius: 8px;
      font-size: 1rem;
    }
    
    input:focus, select:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(108, 75, 163, 0.2);
    }
    
    input[type="text"], input[type="number"] {
      width: 100%;
      margin-bottom: 15px;
    }
    
    .form-group {
      margin-bottom: 15px;
    }
    
    .form-row {
      display: flex;
      gap: 15px;
      margin-bottom: 15px;
    }
    
    .form-row > div {
      flex: 1;
    }
    
    button {
      cursor: pointer;
      font-weight: 600;
      transition: all 0.3s ease;
      border: none;
    }
    
    button:hover {
      transform: translateY(-2px);
    }
    
    .btn-primary {
      background-color: var(--primary);
      color: white;
    }
    
    .btn-primary:hover {
      background-color: var(--primary-dark);
    }
    
    .btn-success {
      background-color: var(--success);
      color: white;
    }
    
    .btn-success:hover {
      background-color: #388e3c;
    }
    
    .btn-warning {
      background-color: var(--warning);
      color: white;
    }
    
    .btn-warning:hover {
      background-color: #fb8c00;
    }
    
    .btn-danger {
      background-color: var(--danger);
      color: white;
    }
    
    .btn-danger:hover {
      background-color: #d32f2f;
    }
    
    .btn-secondary {
      background-color: var(--gray);
      color: var(--text);
    }
    
    .btn-secondary:hover {
      background-color: #e0e0e0;
    }
    
    .btn-block {
      display: block;
      width: 100%;
    }
    
    .table-container {
      overflow-x: auto;
    }
    
    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 15px;
    }
    
    th, td {
      padding: 12px 15px;
      text-align: left;
      border-bottom: 1px solid var(--border);
    }
    
    th {
      background-color: var(--secondary);
      color: var(--primary);
      font-weight: 600;
      text-transform: uppercase;
      font-size: 0.9rem;
    }
    
    tr:hover {
      background-color: var(--gray);
    }
    
    .actions {
      display: flex;
      gap: 8px;
    }
    
    .actions button {
      padding: 6px 10px;
      font-size: 0.8rem;
    }
    
    .search-container {
      margin-bottom: 20px;
    }
    
    .search-input {
      display: flex;
      gap: 10px;
    }
    
    .search-input input {
      flex: 1;
    }
    
    .tabs {
      display: flex;
      margin-bottom: 20px;
      border-bottom: 1px solid var(--border);
    }
    
    .tab {
      padding: 12px 20px;
      cursor: pointer;
      font-weight: 600;
      color: var(--text-light);
      border-bottom: 3px solid transparent;
      transition: all 0.3s ease;
    }
    
    .tab.active {
      color: var(--primary);
      border-bottom: 3px solid var(--primary);
    }
    
    .tab-content {
      display: none;
    }
    
    .tab-content.active {
      display: block;
    }
    
    .alert {
      padding: 15px;
      border-radius: 8px;
      margin-bottom: 20px;
      font-weight: 500;
    }
    
    .alert-success {
      background-color: #e8f5e9;
      color: var(--success);
      border: 1px solid #c8e6c9;
    }
    
    .alert-warning {
      background-color: #fff8e1;
      color: var(--warning);
      border: 1px solid #ffecb3;
    }
    
    .alert-danger {
      background-color: #ffebee;
      color: var(--danger);
      border: 1px solid #ffcdd2;
    }
    
    .modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1000;
      justify-content: center;
      align-items: center;
    }
    
    .modal-content {
      background: white;
      border-radius: 12px;
      padding: 25px;
      width: 90%;
      max-width: 600px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      padding-bottom: 15px;
      border-bottom: 1px solid var(--border);
    }
    
    .modal-title {
      font-size: 1.5rem;
      color: var(--primary);
    }
    
    .close {
      font-size: 1.5rem;
      cursor: pointer;
      color: var(--text-light);
      transition: color 0.3s ease;
    }
    
    .close:hover {
      color: var(--text);
    }
    
    .scroll-buttons {
      position: fixed;
      right: 20px;
      bottom: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 100;
    }
    
    .scroll-btn {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: var(--primary);
      color: white;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      display: flex;
      justify-content: center;
      align-items: center;
      transition: all 0.3s ease;
    }
    
    .scroll-btn:hover {
      transform: translateY(-3px);
      background-color: var(--primary-dark);
    }
    
    .inventory-summary {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 15px;
      margin-bottom: 20px;
    }
    
    .summary-card {
      background: white;
      padding: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      text-align: center;
    }
    
    .summary-card h3 {
      font-size: 1.8rem;
      margin-bottom: 5px;
      color: var(--primary);
    }
    
    .summary-card p {
      color: var(--text-light);
      font-size: 0.9rem;
    }
    
    .product-image {
      width: 50px;
      height: 50px;
      object-fit: cover;
      border-radius: 6px;
    }
    
    .flex {
      display: flex;
      gap: 10px;
    }
    
    .flex-1 {
      flex: 1;
    }
    
    .mt-10 {
      margin-top: 10px;
    }
    
    @media (max-width: 768px) {
      .form-row {
        flex-direction: column;
      }
      
      .actions {
        flex-direction: column;
      }
      
      .actions button {
        width: 100%;
      }
      
      .inventory-summary {
        grid-template-columns: 1fr;
      }
    }