/* Banner styles */
.landing-page-image-preview {
  max-height: 180px;
  aspect-ratio: 1 / 1;
  background-color: #e9ecef;
  border: 1px solid #232b34;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 5px;
  position: relative;
  transition: box-shadow 0.2s;
}
#wirecareLandingPageImagePreview {
  aspect-ratio: 15 / 14;
}
#techflexLandingPageImagePreview {
  aspect-ratio: 4 / 3;
}
.landing-page-image-preview:hover {
  box-shadow: 0 0 0 3px #8B451333;
}
.landing-page-image-input {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
}

.landing-page-image-preview.editable:hover {
  box-shadow: 0 0 0 4px #007bff55;
  filter: brightness(0.95);
  cursor: pointer;
}
.landing-page-image-preview.editable::after {
  content: "Click to change image";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: rgba(0,123,255,0.7);
  padding: 6px 18px;
  border-radius: 6px;
  font-size: 1.1em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 20;
}
.landing-page-image-preview.editable:hover::after {
  opacity: 1;
}
.landing-page-image-filename {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 12px;
  color: #000000;
  background: rgba(255,255,255,0.7);
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 15;
  pointer-events: none;
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}