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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f5f5f5;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  display: flex;
  gap: 24px;
  max-width: 1100px;
  width: 100%;
  margin: 32px auto;
  padding: 0 16px;
  flex: 1;
}

.panel {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.panel-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.panel-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section h2 {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  margin-bottom: 8px;
  transition: border-color 0.2s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #4caf50;
}

textarea {
  resize: vertical;
}

button {
  width: 100%;
  padding: 10px 16px;
  background: #4caf50;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #43a047;
}

button:active {
  background: #388e3c;
}

button:disabled {
  background: #a5d6a7;
  cursor: not-allowed;
}

button + button {
  margin-top: 8px;
}

.panel-right h2 {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.panel-right textarea {
  flex: 1;
  min-height: 300px;
  font-family: "Consolas", "Monaco", "Courier New", monospace;
  font-size: 13px;
  background: #fafafa;
  color: #333;
  resize: none;
}

footer {
  text-align: center;
  padding: 16px;
  font-size: 13px;
  color: #999;
}

@media (max-width: 700px) {
  .container {
    flex-direction: column;
  }
}
