@import url('../styles.css');

/* Additional styling for Custom UPI QR Code Generator */
.tool-box {
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 14px rgba(0, 170, 255, 0.15);
  padding: 24px;
  text-align: center;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  text-align: left;
}

input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.output {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--sky);
  font-family: monospace;
  font-size: 0.9rem;
  resize: none;
  overflow-y: auto;
  margin-top: 12px;
}

.qr-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

#qrcode {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

.btn-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--sky);
  color: var(--sky);
  cursor: pointer;
  transition: transform 0.08s ease, background-color 0.2s ease;
}

.btn.secondary:hover {
  transform: translateY(-2px);
  background: rgba(0, 170, 255, 0.1);
}

.message {
  color: #6dd17a;
  display: none;
  margin-top: 10px;
}

.note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 16px;
}

.article-section {
  max-width: 800px;
  margin: 50px auto;
  line-height: 1.7;
  color: var(--grey);
}

.article-section h2 {
  color: var(--white);
  margin-top: 32px;
  font-size: 1.4rem;
}
