body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f9fb;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px;
}
h1 {
  text-align: center;
  margin-bottom: 32px;
  color: #2d3748;
}
.form-group {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
label {
  flex: 0 0 100px;
  color: #4a5568;
}
select, button {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
}
select {
  flex: 1;
}
button {
  background: #3182ce;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover {
  background: #2563eb;
}
.preview {
  background: #f1f5f9;
  border-radius: 8px;
  padding: 20px;
  min-height: 120px;
  margin-bottom: 20px;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #2d3748;
  white-space: pre-wrap;
}
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: #fff;
  padding: 32px 24px;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  min-width: 320px;
  max-width: 90vw;
  position: relative;
}
.close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
}
.modal-content h2 {
  margin-top: 0;
  color: #2d3748;
}
.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  margin-top: 6px;
} 