.qr-container {
  min-height: 100vh;
  padding: 3rem 1rem;
}

.qr-content {
  max-width: 48rem;
  margin: 0 auto;
}

.qr-card {
  background-color: var(--color-light);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
}

.qr-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.qr-logo {
  width: 100%;
  height: auto;
  max-width: 2.4rem;
  aspect-ratio: 217 / 210;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-logo svg {
  width: 100%;
  max-width: 100%;
}

.qr-title {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin: 0;
}

.qr-github {
  margin-left: auto;
}

.qr-github a {
  display: inline-block;
  line-height: 1;
  font-size: .9rem;
  color: var(--color-accent);
  padding-top: .7rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: .5rem;
}

.form-input {
  width: 100%;
  padding: .5rem .75rem;
  border: 1px solid #d1d5db;
  font-size: 1rem;
}

.form-input[type="color"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 37px;
  padding: 0;
  cursor: pointer;
  border-radius: 0;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(var(--color-accent), 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.qr-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--color-border) 30%, var(--color-light));
  margin-top: 1rem;
}

.qr-loading {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--color-accent);
}

.qr-error {
  color: #dc2626;
}

.usage-section {
  margin-top: 2rem;
}

.usage-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.footer-section {
  margin-top: 2rem;
}

.footer-section p {
  text-align: center;
}

.footer-section a {
  color: var(--color-accent);
}

.code-block {
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 1rem;
  overflow-x: auto;
  font-family: monospace;
  white-space: pre;
  line-height: 1.5;
}