/* Header and Footer Styling */
.header {
  width: 100%;
  background: #181f3a;
  color: #6cf;
  padding: 15px 0;
  position: relative;
  text-align: center;
}

.header-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header .logo {
  height: 48px;
  margin-bottom: 10px;
}

.header .site-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #6cf;
}

.footer {
  width: 100%;
  background: #181f3a;
  color: #6cf;
  padding: 15px 0;
  margin-top: 40px;
  position: relative;
}

.footer-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer img {
  height: 32px;
  margin-right: 15px;
}

.footer span {
  font-size: 0.9em;
}
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #10182f;
  color: #fff;
  margin: 0;
}
.container {
  max-width: 500px;
  margin: 40px auto;
  background: #181f3a;
  border-radius: 12px;
  box-shadow: 0 2px 16px #0004;
  padding: 32px;
}
h1 {
  text-align: center;
  color: #6cf;
}
.input-section label {
  display: block;
  margin-top: 16px;
  color: #9cf;
}
.input-section textarea,
.input-section input[type="number"],
.input-section input[type="text"] {
  width: 100%;
  margin-top: 4px;
  padding: 8px;
  border-radius: 6px;
  border: none;
  background: #232b4a;
  color: #fff;
  transition: all 0.3s ease;
}
.input-section textarea:focus,
.input-section input:focus {
  outline: none;
  background: #2a3451;
  box-shadow: 0 0 0 2px #6cf;
}
#loadingIndicator {
  margin-top: 10px;
  padding: 8px;
  background: #2a3451;
  border-radius: 6px;
  text-align: center;
  color: #9cf;
  font-size: 0.9em;
}
.result-section {
  margin-top: 32px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}
.result-section.show {
  opacity: 1;
  transform: translateY(0);
}
.input-section input[type="file"] {
  margin-top: 8px;
  background: #232b4a;
  color: #fff;
  border-radius: 6px;
  padding: 6px;
  border: none;
}
#qrPreview {
  display: block;
  margin: 10px 0;
  max-width: 120px;
  border-radius: 8px;
  background: #fff;
}
.input-section button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: #6cf;
  color: #181f3a;
  border: none;
  border-radius: 6px;
  font-size: 1.1em;
  cursor: pointer;
}
.input-section button:hover {
  background: #4ad;
}
.result-section {
  margin-top: 32px;
  text-align: center;
}
.result-section img {
  margin-bottom: 12px;
  border-radius: 8px;
  background: #fff;
}
.result-section textarea {
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  border-radius: 6px;
  border: none;
  background: #232b4a;
  color: #fff;
}
.result-section button,
.result-section a {
  margin: 8px 4px 0 4px;
  padding: 10px 18px;
  background: #6cf;
  color: #181f3a;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.result-section button:hover,
.result-section a:hover {
  background: #4ad;
}
