body {
  font-family: sans-serif;
  padding: 20px;
  background: #f9f9f9;
}

.main-buttons {
  margin-bottom: 30px;
  text-align: center;
}

.main-buttons button {
  margin: 0 10px;
  padding: 12px 24px;
  font-size: 16px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.main-buttons button:hover {
  background: #0056b3;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  width: 50%;
  min-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
}

.close:hover {
  color: #000;
}

section {
  margin-bottom: 40px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px #ddd;
}

form input, form textarea, form select {
  display: block;
  margin: 5px 0;
  padding: 8px;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

/* Multi-select dropdown styles */
.multi-select {
  position: relative;
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 5px 0;
}

.multi-select-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: white;
  cursor: pointer;
  box-sizing: border-box;
}

.multi-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.multi-select-option {
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.multi-select-option:hover {
  background-color: #f0f0f0;
}

.multi-select-option input[type="checkbox"] {
  margin-right: 8px;
  width: auto;
}

.multi-select-option label {
  cursor: pointer;
  flex: 1;
}

button {
  margin-top: 10px;
  padding: 8px 12px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 3px;
}

button:hover {
  background: #0056b3;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 14px;
}

th, td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
  max-width: 150px;
  word-wrap: break-word;
}

th {
  background-color: #f5f5f5;
  font-weight: bold;
}
