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

  body {
    background-color: #f8e5a4;  
    padding: 20px;
  }

  input {
    border: none;
    outline: none;
    margin-left: 5px;
  }
  header {
    background-color: #4e4e4e; 
    color: white;
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;  
    align-items: center;
    }

    .title {
        display: flex;
        align-items: center;  
        justify-content: center;  
        flex-grow: 1;  
    }


    .logout-link {
        text-decoration: none;
        color: white;
        font-size: 16px;
        padding: 10px 15px;
        border-radius: 5px;
        transition: background-color 0.3s;
    }

  .logout-link:hover {
    background-color: #f8b600;  
  }

  .logo {
    width: 40px;  
    height: auto;
    border-radius: 50px;
    margin-right: 20px;
  }

  .dashboard-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
  }

  .stat-box {
    background-color: white;
    padding: 20px;
    flex: 1 1 200px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);  
    text-align: center;
  }

  .stat-box h2 {
    font-size: 28px;
    margin-bottom: 5px;
    color: #333;
  }

  .stat-box p {
    color: #666;  
  }

  .content-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
    overflow-y: auto;  
    margin-bottom: 20px;
  }


  .section {
    margin-bottom: 30px;
    max-height: 400px;  
    overflow-y: auto;  
  }

  .section h3 {
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #f8e5a4; 
    padding-bottom: 5px;
  }

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

  table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    margin-bottom: 20px;
  }

  th, td {
    padding: 10px;
    border: 1px solid #f0e4c9; 
    text-align: left;
    text-align: center;
  }

  th {
    background-color: #fff8d6; 
    color: #333;
  }

  td {
    color: #333;
  }
  .updateOrder {
    background-color: #4CAF50; /* Fresh green */
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.8;
  }
  
  select {
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
  }
 .sort-prod {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .sort-prod label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
  }

  .sort-prod select {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    background-color: white;
    color: #333;
  }

  .sort-prod select:focus {
    border-color: #007bff;
  }

  .sort-prod select option {
    padding: 8px;
  }

  @media (max-width: 768px) {
    .sort-prod {
      flex-direction: column;
      align-items: flex-start;
    }

    .sort-prod label {
      margin-bottom: 5px;
    }

    .sort-prod select {
      margin-bottom: 10px;
      width: 100%;
    }
  }
  @media (max-width: 768px) {
    header {
      font-size: 20px;
      padding: 15px;
    }

    .logo {
      width: 30px;
    }

    .stat-box h2 {
      font-size: 22px;
    }

    .stat-box p {
      font-size: 14px;
    }

    .content-section {
      padding: 15px;
    }

    th, td {
      font-size: 14px;
      padding: 8px;
    }
  }

  @media (max-width: 480px) {
    .dashboard-stats {
      flex-direction: column;
    }

    .stat-box {
      flex: 1 1 100%;
    }
  }