body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  padding: 40px;
}

.container {
  max-width: 800px;
  margin: auto;
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.add-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
}

.add-btn:hover {
  background: #0056b3;
}

.item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fafafa;
}

.item-info {
  font-size: 15px;
}

.actions button {
  margin-left: 6px;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 4px;
}

.actions button:hover {
  opacity: 0.8;
}

.actions button:first-child {
  background: #ffc107;
}

.actions button:last-child {
  background: #dc3545;
  color: white;
}

input, select {
  width: 100%;
  padding: 8px;
  margin-bottom: 12px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.form-actions {
  display: flex;
  gap: 10px;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #28a745;
  color: white;
  padding: 14px 22px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 999;
}

.toast.error {
  background-color: #dc3545;
}

.toast.show {
  opacity: 1;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 25px;
  border-radius: 8px;
  width: 320px;
  text-align: center;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn-safe {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-danger {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-safe:hover,
.btn-danger:hover {
  opacity: 0.85;
}

.empty-message {
  text-align: center;
  color: #777;
  font-style: italic;
  margin-top: 20px;
}

.item-info {
  font-size: 15px;
  line-height: 1.4;
}

