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

body {
  background-color: #f4f6f9;
  padding: 30px;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

h1,
h2,
h3 {
  margin-bottom: 20px;
  color: #333;
}

.card {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #007bff;
}

button {
  background-color: #007bff;
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  margin-top: 15px;
}

table th {
  background-color: #007bff;
  color: #ffffff;
  padding: 12px;
  text-align: left;
}

table td {
  padding: 10px;
  border: 1px solid #dddddd;
}

table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.stock-low {
  color: #dc3545;
  font-weight: bold;
}

.stock-ok {
  color: #28a745;
  font-weight: bold;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.stat-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stat-box h3 {
  color: #666666;
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 28px;
  font-weight: bold;
  color: #007bff;
}

@media (max-width: 768px) {
  body {
    padding: 15px;
  }

  table {
    display: block;
    overflow-x: auto;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }
}