body {
  font-family: Arial, sans-serif;
  margin: 20px;
  max-width: 1200px;
}

h1, h2 {
  text-align: center;
}

form {
  margin-bottom: 30px;
  padding: 10px;
  background: #f4f4f4;
  border-radius: 6px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

label {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  font-weight: bold;
  font-size: 0.9em;
}

input[type="text"],
input[type="date"],
input[type="time"],
input[type="number"],
textarea {
  padding: 5px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  resize: vertical;
  min-height: 60px;
}

button {
  padding: 10px 15px;
  font-size: 1em;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}

thead {
  background-color: #007bff;
  color: white;
}

th, td {
  border: 1px solid #ddd;
  padding: 6px;
  font-size: 0.9em;
  text-align: center;
}

@media (max-width: 800px) {
  .row {
    flex-direction: column;
  }
  label {
    flex: 1 1 100%;
  }
}
