.advert-upload-guidance,
.advert-storage-note {
  margin: 0 0 20px;
  border: 1px solid rgba(23, 33, 26, 0.1);
  border-radius: 7px;
  padding: 14px 16px;
  color: #596257;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.advert-storage-note {
  margin: 18px 0 0;
  border-color: transparent;
  padding: 0;
  background: transparent;
  font-size: 12px;
}

.advert-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}

.advert-editor-card {
  display: grid;
  min-width: 0;
  gap: 14px;
  border: 1px solid rgba(23, 33, 26, 0.12);
  border-radius: 9px;
  padding: 16px;
  background: #fffefa;
  box-shadow: 0 10px 26px rgba(23, 33, 26, 0.035);
}

.advert-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.advert-editor-head strong {
  color: #17211a;
  font-family: "Manrope", sans-serif;
  font-size: 15px;
}

.advert-editor-preview {
  display: grid;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  place-items: center;
  border: 1px solid #e1dfd7;
  border-radius: 5px;
  background: #efeee8;
}

.advert-editor-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.advert-editor-preview span {
  padding: 16px;
  color: #73796f;
  font-size: 12px;
  text-align: center;
}

.advert-editor-field {
  display: grid;
  gap: 6px;
  color: #353d35;
  font-size: 12px;
  font-weight: 650;
}

.advert-editor-field input,
.advert-editor-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #deded5;
  border-radius: 5px;
  padding: 10px 11px;
  color: #17211a;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
}

.advert-editor-field textarea { min-height: 80px; resize: vertical; }
.advert-editor-field input:focus,
.advert-editor-field textarea:focus { outline: 2px solid #b98b3e; outline-offset: 1px; }
.advert-editor-file input { padding: 8px; font-size: 11px; }
.advert-editor-check {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 9px;
  color: #394239;
  font-size: 12px;
}
.advert-editor-check input { width: 17px; height: 17px; accent-color: #ab7d36; }
.advert-editor-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.advert-editor-actions .admin-button { flex: 1 1 130px; justify-content: center; }
.advert-editor-status { min-height: 1.3em; margin: -4px 0 0; color: #4f6651; font-size: 12px; }
.advert-editor-status[data-error="true"] { color: #a53c31; }

@media (max-width: 1050px) {
  .advert-editor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .advert-editor-grid { grid-template-columns: 1fr; }
  .advert-editor-card { padding: 14px; }
  .advert-editor-actions .admin-button { flex: 1 1 100%; }
}
