body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #d9ffeb;
  color: #333;
}

.container {
  max-width: 960px;
  margin: auto;
  padding: 40px 20px;
}

h1 {
  color: #005c46;
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}

form details {
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

form summary {
  font-size: 18px;
  color: #005c46;
  font-weight: 600;
  margin-bottom: 15px;
  cursor: pointer;
}

.item-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

input[type="text"],
input[type="url"],
input[type="file"],
textarea,
select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #005c46;
  outline: none;
}

button {
  padding: 8px 14px;
  font-size: 14px;
  background: #005c46;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #004638;
}

button.remove-item {
  background: #ccc;
  color: #222;
}

button.remove-item:hover {
  background: #aaa;
}

label {
  font-weight: bold;
  margin-bottom: 6px;
  display: block;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

.form-actions {
  text-align: center;
  margin-top: 30px;
}

@media (max-width: 600px) {
  .item-block {
    flex-direction: column;
  }
}
