/* ============================================================
   SEANGAGNE.COM — SVG QR CODE GENERATOR
   Page-specific only. All layout and component classes
   live in seangagne-site-wide.css.
   ============================================================ */

.gm-qr-tool {
  max-width: 840px;
  margin: 0;
}

.gm-qr-title,
.gm-qr-subheader {
  display: none;
}

.gm-qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.gm-qr-panel {
  background: #1a1a1a;
  border: 1px solid #333333;
  padding: 24px;
}

.gm-qr-label {
  display: block;
  margin: 0 0 6px;
  color: #e0e0e0;
  font-size: 0.85rem;
  font-weight: 600;
}

.gm-qr-input,
.gm-qr-select {
  width: 100%;
  background: #2a2a2a;
  color: #e0e0e0;
  border: 1px solid #444444;
  padding: 8px 10px;
  box-sizing: border-box;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.gm-qr-input:focus,
.gm-qr-select:focus {
  outline: 2px solid var(--sg-teal);
  outline-offset: 1px;
}

.gm-qr-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.gm-qr-color {
  width: 48px;
  height: 36px;
  padding: 2px;
  border: 1px solid #444444;
  background: #2a2a2a;
  cursor: pointer;
  margin-bottom: 0;
}

.gm-qr-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.gm-qr-btn {
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.gm-qr-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gm-qr-btn-primary {
  background: var(--sg-teal);
  color: #ffffff;
}

.gm-qr-btn-primary:hover:not(:disabled) {
  opacity: 0.85;
}

.gm-qr-btn-secondary {
  background: #2a2a2a;
  color: #e0e0e0;
  border: 1px solid #444444;
}

.gm-qr-btn-secondary:hover:not(:disabled) {
  background: #333333;
}

.gm-qr-help {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: #e0e0e0;
  min-height: 1.2em;
}

.gm-qr-help[data-error="1"] {
  color: #ff6b6b;
}

.gm-qr-preview {
  background: #1a1a1a;
  border: 1px solid #333333;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gm-qr-preview-inner {
  text-align: center;
}

.gm-qr-preview-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.gm-qr-preview-note {
  margin: 12px 0 0;
  font-size: 0.8rem;
  color: #888888;
}

@media (max-width: 640px) {
  .gm-qr-grid {
    grid-template-columns: 1fr;
  }

  .gm-qr-row {
    grid-template-columns: 1fr;
  }
}
