body {
  background: #36393f;
  color: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 700px;
  margin: 40px auto;
  background: #2f3136;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 32px #0003;
}
h1, h2, h3 {
  text-align: center;
  font-weight: 600;
}
label {
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
}
input[type="text"], textarea {
  width: 100%;
  background: #23272a;
  border: none;
  color: #fff;
  border-radius: 5px;
  padding: 10px;
  font-size: 1em;
  margin-top: 4px;
  box-sizing: border-box;
  resize: none;
}
textarea {
  min-height: 60px;
  max-height: 200px;
}
.actions {
  text-align: center;
  margin: 20px 0;
}
button {
  background: #5865f2;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 18px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
button:hover {
  background: #4752c4;
}
#fields-container {
  margin: 24px 0 0 0;
}
.fields-list {
  margin-bottom: 10px;
}
.field-row {
  display: flex;
  gap: 7px;
  margin-bottom: 7px;
  align-items: center;
}
.field-row input[type="text"] {
  flex: 2;
}
.field-row input[type="text"].field-value {
  flex: 3;
}
.remove-field-btn {
  background: #f04747;
  padding: 0 12px;
  font-size: 1.1em;
  border-radius: 50%;
  line-height: 1.2em;
}
.remove-field-btn:hover {
  background: #a83232;
}
.preview-section {
  margin-top: 32px;
}
.embed {
  background: #2f3136;
  border-left: 4px solid #5865f2;
  border-radius: 6px;
  padding: 18px 24px;
  box-shadow: 0 2px 6px #0005;
  min-height: 80px;
  margin-top: 12px;
}
.embed-title {
  color: #fff;
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 3px;
}
.embed-author {
  color: #b9bbbe;
  font-size: 0.95em;
  margin-bottom: 3px;
}
.embed-description {
  margin: 8px 0;
  color: #dcddde;
  font-size: 1em;
}
.embed-fields {
  margin-top: 8px;
}
.embed-field {
  background: #23272a;
  border-radius: 4px;
  margin: 5px 0;
  padding: 5px 10px;
  display: flex;
  flex-direction: column;
}
.embed-field-name {
  color: #00b0f4;
  font-weight: 600;
  font-size: 0.97em;
}
.embed-field-value {
  color: #dcddde;
  font-size: 0.97em;
}
#embed-link {
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  border-radius: 4px;
  border: none;
  background: #23272a;
  color: #fff;
  font-size: 1em;
}
#copy-link-btn {
  margin-top: 10px;
  background: #43b581;
}
#copy-link-btn:hover {
  background: #238f57;
}