@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
  background: radial-gradient(circle at top, #1a2238, #0d1117);
  color: #fff;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: auto;
  padding: 40px 0;
  margin: 0;
}

h1 {
  font-size: 36px;
  font-weight: 700;
  color: #e0e8ff;
  text-shadow: 0 2px 8px rgba(255,255,255,0.2);
  margin-bottom: 20px;
}

.container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 1000px;
}

canvas {
  width: 512px;
  height: 512px;
  background: #0e101c;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.right-panel {
  width: 400px;
}

.description {
  font-size: 14px;
  color: #adc6ff;
  text-align: left;
  line-height: 1.5;
  margin-bottom: 20px;
}

.description h3 {
  margin-top: 15px;
  color: #e0e8ff;
}

.description ul {
  padding-left: 20px;
  margin-top: 10px;
}

.description li {
  margin-bottom: 6px;
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input-group {
  display: flex;
  align-items: center;
}

.input-group label {
  font-size: 16px;
  color: #adc6ff;
  width: 25px;
}

.input-group input[type="text"] {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.3);
  width: 100%;
  font-size: 13px;
}

.input-group input[type="text"]:focus {
  outline: none;
  border-color: #6ca0ff;
  box-shadow: 0 0 10px rgba(108,160,255,0.5);
}

.buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

button {
  flex: 1;
  padding: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(135deg, #20313b, #2b6ce4);
  box-shadow: 0 5px 15px rgba(68,0,255,0.4);
  transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

button:hover {
  background: linear-gradient(135deg, #2b6ce4, #20313b);
}

button:active {
  transform: scale(0.96);
}

.status-message {
  font-size: 0.85rem;
  color: #79ffb2;
  height: 18px;
  margin-top: 8px;
}

.error-message {
  font-size: 0.85rem;
  color: #ff6b6b;
  height: 18px;
}

pre {
  background-color: #1e1e1e;
  padding: 1px;
  border-radius: 5px;
  overflow-x: auto;
  text-align: left;
}

code {
  font-family: Consolas, monospace;
  color:  #adc6ff;
  font-size: 14px;
  display: block;
  white-space: pre-wrap;
}
