body {
  background: #f5f7fb;
}

.editor-card {
  border-radius: 18px;
  background: #ffffff;
  padding: 1.75rem;
}

.editor-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.editor-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.editor-card__title {
  margin: 0;
  font-size: 1.25rem;
}

.editor-card__body {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem 1rem;
  align-items: center;
}

.color-grid .form-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  color: #4a5568;
}

.layout-preview {
  border: 2px dashed rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: #f8fafc;
  min-height: 220px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.layout-preview__canvas {
  width: 80%;
  height: 80%;
  position: relative;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.layout-preview__badge-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.layout-preview__badge-body {
  position: absolute;
  left: 0;
  right: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.layout-preview__card {
  display: grid;
  grid-template-columns: 40% 60%;
  height: 100%;
}

.layout-preview__card-panel {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: center;
}

.layout-preview__badge-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
}

.toast-container {
  z-index: 2000;
}
.qr-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem 1rem;
}

.qr-controls .form-label {
  display: block;
}


.text-box-grid {
  display: grid;
  gap: 1rem;
}

.textbox-card {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  padding: 1rem;
  background: #fdfdfd;
}

.textbox-card .form-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.layout-preview__text-box {
  position: absolute;
  border: 1px dashed rgba(15, 23, 42, 0.25);
  border-radius: 6px;
  padding: 0.35rem;
  font-size: 0.7rem;
  line-height: 1.1;
  color: #1f2937;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
  white-space: pre-wrap;
}
