/* BetZap V9 - Previa administrativa */

/* Corrige o novo carrossel dentro da administracao */
body.admin .mini-preview .btr-carousel {
  width: 100%;
  min-width: 0;
  margin: 12px 0 0;
  overflow: hidden;
}

body.admin .mini-preview .btr-carousel-track {
  display: flex;
  gap: 9px;
  width: 100%;
  overflow: hidden;
  transform: none;
}

body.admin .mini-preview .btr-carousel-card {
  position: relative;
  flex: 0 0 46%;
  width: 46%;
  aspect-ratio: 2.4 / 1;
  min-width: 0;
  height: auto;
  overflow: hidden;
  border: 1px solid #176448;
  border-radius: 9px;
  background: #09271b;
}

body.admin .mini-preview .btr-full-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body.admin .mini-preview .btr-full-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.admin .mini-preview .btr-fallback-art {
  background: url('assets/hero.png') center / cover;
}

body.admin .mini-preview .btr-carousel-copy,
body.admin .mini-preview .btr-carousel-arrow {
  display: none;
}

body.admin .mini-preview .btr-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
}

/* Previa no formulario de edicao */
.btr-admin-image-preview {
  margin-top: 12px;
  padding: 10px;
  background: #071b14;
  border: 1px solid #235541;
  border-radius: 12px;
}

.btr-admin-image-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 2.4 / 1;
  object-fit: contain;
  background: #03130e;
  border-radius: 8px;
}

.btr-admin-image-status {
  margin-top: 8px;
  color: #a6d0bb;
  font-size: 11px;
  line-height: 1.6;
}

.btr-admin-image-status.error {
  color: #ffb2a5;
}

#editor-form[data-btr-uploading="1"] button[type="submit"] {
  opacity: .5;
  cursor: wait;
}
