* {
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.container {
  width: 95%;
  max-width: 1100px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

h1 {
  text-align: center;
  margin: 0;
}

.subtitle {
  text-align: center;
  opacity: 0.8;
  margin-bottom: 20px;
}

.controls {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 15px;
}

.controls input[type="text"],
.controls input[type="checkbox"] {
  cursor: pointer;
}

#className {
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  min-width: 220px;
}

.editor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

textarea {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  padding: 15px;
  resize: none;
  border: none;
  font-size: 14px;
}

textarea:focus {
  outline: none;
}

.buttons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

button {
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: #00c6ff;
  background: linear-gradient(to right, #0072ff, #00c6ff);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

button.secondary {
  background: rgba(255,255,255,0.2);
}

button:hover {
  opacity: 0.9;
}

#error {
  margin-top: 10px;
  color: #ffb3b3;
  text-align: center;
}

@media (max-width: 800px) {
  .editor {
    grid-template-columns: 1fr;
  }
}

.brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.logo {
  font-size: 36px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  padding: 10px 14px;
  border-radius: 12px;
}

.brand {
  color: #00c6ff;
  font-weight: 600;
}

.watermark {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.6;
}

.footer {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
}

