@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  gap: 20px;
  margin: 0;
  background: linear-gradient(135deg, #190a1f, #0b040d);
  font-family: 'Poppins', Arial, sans-serif;
  color: white;
}

.controls {
  width: 30%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 15px;
  border-radius: 12px;
  background: rgba(25, 10, 31, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.6);
  border: 1px solid #ffffff33;
}

h1 {
  margin-top: 0;
  font-size: 1.5rem;
}

fieldset {
  border: 1px solid #444444;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
}

legend {
  padding: 0 5px;
  font-weight: 600;
}

.t-inputs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.t-input {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
}

input, button {
  margin: 5px 0;
  padding: 6px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
}

input {
  background: rgba(50, 58, 90, 0.3);
  color: white;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
}

button {
  width: 100%;
  background: rgba(103, 50, 150, 0.5);
  color: white;
  cursor: pointer;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background 0.3s ease;
}

button:hover {
  background: rgba(136, 70, 180, 0.7);
}

#messageArea {
  min-height: 1.2em;
  color: #f266ff;
  font-size: 0.9rem;
}

canvas {
  width: 65%;
  height: 97vh;
  border: 2px solid rgb(156,156,156);
  border-radius: 12px;
  background: linear-gradient(135deg, #0c060f, #1f0d26);
  box-shadow: 0px 4px 15px rgba(0,0,0,0.8);
}
