.celebrax-image-drop-target {
  transition: outline-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.celebrax-image-drop-target.is-image-dragover {
  outline: 3px dashed #0052cc !important;
  outline-offset: 5px;
  background-color: rgba(0, 82, 204, .07) !important;
  box-shadow: 0 0 0 7px rgba(0, 82, 204, .09) !important;
}

.celebrax-image-drop-feedback {
  min-width: 0;
  width: 100%;
  grid-column: 1 / -1;
  color: #475569;
  font: 700 .76rem/1.35 'Montserrat', sans-serif;
}

.celebrax-image-drop-hint {
  display: none;
}

.celebrax-image-drop-feedback.is-error,
.celebrax-image-drop-status {
  display: block;
  margin-top: .55rem;
}

.celebrax-image-drop-feedback.is-error .celebrax-image-drop-status {
  color: #be123c;
}

.celebrax-image-drop-feedback.is-success .celebrax-image-drop-status {
  color: #047857;
}

.celebrax-image-drop-feedback:not(.celebrax-image-drop-hint) {
  display: none;
  flex: 1 1 100%;
}

.celebrax-image-drop-feedback:not(.celebrax-image-drop-hint).is-visible {
  display: block;
  padding: .42rem .65rem;
  border-radius: 10px;
  background: rgba(0, 82, 204, .08);
}

@media (hover: hover) and (pointer: fine) {
  .celebrax-image-drop-hint {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    gap: .65rem;
    margin-top: .65rem;
    padding: .7rem .8rem;
    border: 1px dashed rgba(0, 82, 204, .42);
    border-radius: 12px;
    background: rgba(0, 82, 204, .045);
    color: #334155;
    pointer-events: none;
  }

  .celebrax-image-drop-hint svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    color: #0052cc;
  }

  .celebrax-image-drop-hint span:not(.celebrax-image-drop-status) {
    display: grid;
    gap: .08rem;
  }

  .celebrax-image-drop-hint strong {
    color: inherit;
    font-size: .78rem;
  }

  .celebrax-image-drop-hint small {
    color: #64748b;
    font-size: .7rem;
    font-weight: 600;
  }
}

html[data-theme="dark"] .celebrax-image-drop-target.is-image-dragover,
body.admin-dark-mode .celebrax-image-drop-target.is-image-dragover,
body.platform-dark-mode .celebrax-image-drop-target.is-image-dragover,
body.dark-mode .celebrax-image-drop-target.is-image-dragover {
  outline-color: #60a5fa !important;
  background-color: rgba(96, 165, 250, .12) !important;
  box-shadow: 0 0 0 7px rgba(96, 165, 250, .1) !important;
}

@media (hover: hover) and (pointer: fine) {
  html[data-theme="dark"] .celebrax-image-drop-hint,
  body.admin-dark-mode .celebrax-image-drop-hint,
  body.platform-dark-mode .celebrax-image-drop-hint,
  body.dark-mode .celebrax-image-drop-hint {
    border-color: rgba(96, 165, 250, .48);
    background: rgba(96, 165, 250, .09);
    color: #e2e8f0;
  }

  html[data-theme="dark"] .celebrax-image-drop-hint svg,
  body.admin-dark-mode .celebrax-image-drop-hint svg,
  body.platform-dark-mode .celebrax-image-drop-hint svg,
  body.dark-mode .celebrax-image-drop-hint svg {
    color: #93c5fd;
  }

  html[data-theme="dark"] .celebrax-image-drop-hint small,
  body.admin-dark-mode .celebrax-image-drop-hint small,
  body.platform-dark-mode .celebrax-image-drop-hint small,
  body.dark-mode .celebrax-image-drop-hint small {
    color: #a8b7ca;
  }
}

@media (max-width: 720px), (hover: none) {
  .celebrax-image-drop-hint {
    display: none !important;
  }
}
