* {
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: teal;
  color: #333;
  padding: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  background: rgb(248, 242, 171);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  width: 90%;
  max-width: 650px;
}
h1 {
  color: #0056b3;
  text-align: center;
  margin-bottom: 1rem;
}
textarea {
  width: 100%;
  height: 120px;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
  resize: vertical;
}
textarea:focus,
select:focus {
  outline: none;
  border-color: #5a67d8;
  box-shadow: 0 0 0 3px #a3bffa;
}
.controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.control-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: left;
  font-size: 0.9rem;
  color: #555;
}
select,
button {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  cursor: pointer;
  background-color: #fff;
}
button {
  background-color: #007bff;
  color: white;
  border: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
button:hover:not(:disabled) {
  background-color: #0056b3;
}
button:disabled {
  background-color: #aaa;
  cursor: not-allowed;
}
.debug-panel {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #2d3436;
  color: #dfe6e9;
  border-radius: 8px;
  text-align: left;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid #444;
}
.debug-panel p {
  margin: 0 0 5px 0;
  padding: 0 0 5px 0;
  border-bottom: 1px dotted #555;
  word-wrap: break-word;
}
.log-error {
  color: #ff7675;
  font-weight: bold;
}
.log-success {
  color: #55efc4;
  font-weight: bold;
}
.log-info {
  color: #74b9ff;
}