* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
body {
  background: linear-gradient(135deg, #f3f4f6, #e0e7ff);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 2rem 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 700px;
  text-align: center;
}
h1 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}
.subtitle {
  color: #6b7280;
  margin-bottom: 1.5rem;
}
form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
input[type="text"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  outline: none;
  font-size: 1rem;
  transition: 0.2s ease;
}
input[type="text"]:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
button {
  padding: 0.75rem 1.25rem;
  background: #6366f1;
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 500;
}
button:hover {
  background: #4f46e5;
}
h2 {
  color: #374151;
  margin-bottom: 0.5rem;
}
.output {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: left;
  overflow-x: auto;
  max-height: 400px;
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}
pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  color: #111827;
  font-family: monospace;
  font-size: 0.9rem;
}
.error {
  background: #fee2e2;
  color: #b91c1c;
  padding: 0.75rem;
  border-radius: 0.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
