:root {
  --bg-color: #fffef9;
  --accent-color: #5c4137;
  --container-bg: #ffffff;
  --container-border: #e0d9d5;
  --text-primary: #2d241e;
  --text-secondary: #6b5c53;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 90%;
  max-width: 900px;
  background: var(--container-bg);
  border: 1px solid var(--container-border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--accent-color);
}

.input-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--container-border);
  border-radius: 8px;
  padding: 0.75rem;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  min-height: 150px;
  resize: vertical;
}

textarea:focus {
  border-color: var(--accent-color);
}

.button-container {
  display: flex;
  justify-content: center;
}

button {
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

button:hover {
  background: #4a332c;
}

.result-section {
  margin-top: 2.5rem;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-content {
  line-height: 1.7;
  font-size: 1rem;
  color: #3d312a;
  white-space: pre-wrap;
  padding: 1.25rem;
  border-radius: 8px;
  height: 300px;
  overflow-y: auto;
  border: 1px solid var(--container-border);
}