/* Vzor editor - prekrýva /reklama-audi/style.css */

.vzor-main {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1rem;
  padding: 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 960px) {
  .vzor-main { grid-template-columns: 1fr; }
}

.vzor-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 70px;
  align-self: start;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}

.vzor-canvases {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.selected-info {
  font-size: .82rem;
  color: var(--muted);
}
.selected-info .hint {
  margin: 0;
  line-height: 1.5;
}

.field { margin-bottom: .65rem; }
.field label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
}
.val {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
  font-weight: 500;
}

.row.radios {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
}
.row.radios label {
  display: flex; align-items: center; gap: .25rem;
  font-size: .75rem; color: #374151;
  padding: .25rem .55rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
  background: #fff;
}
.row.radios label:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.row.radios input { display: none; }

.text-only, .photo-only { display: block; }
[data-mode="text"] .photo-only { display: none; }
[data-mode="photo"] .text-only { display: none; }

.ad-stage canvas { cursor: crosshair; }
.ad-stage canvas.dragging { cursor: grabbing; }

#exportArea {
  resize: vertical;
}
