body {
  font-family: Arial, sans-serif;
  background: #0b141a;
  color: #e9edef;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

form {
  background: #1e262c;
  padding: 25px 30px;
  border-radius: 16px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  box-sizing: border-box;
}

h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #25d366;
}

label {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: #aaa;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  border-radius: 10px;
  border: none;
  background: #2a3942;
  color: #e9edef;
  font-size: 14px;
  box-sizing: border-box;
}

input:focus, textarea:focus {
  outline: 2px solid #25d366;
}

textarea { resize: none; }

.row {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.row .col {
  flex: 1;
}

button {
  background: #25d366;
  color: #111;
  border: none;
  padding: 14px;
  margin-top: 25px;
  width: 100%;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

button:hover { background: #20b358; }

#qrResult {
  text-align: center;
  margin-top: 25px;
}

#qrResult canvas {
  margin: 12px auto;
  display: block;
}

#qrResult a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  background: transparent;
  border: 2px solid #25d366;
  color: #25d366;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

#qrResult a:hover {
  background: #25d366;
  color: #111;
}

.error {
  color: #ff4d4d;
  font-size: 12px;
  margin-top: 4px;
}

.counter {
  color: #aaa;
  font-size: 12px;
  margin-top: 4px;
  text-align: right;
}
