/* Shared, site-wide polish for form controls and interactive elements. */
input, select, textarea, button, .btn, a {
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease, transform .1s ease;
}

.floorlo-file-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.floorlo-file-field input[type="file"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 9px 11px;
  font-size: 13px;
}
.floorlo-file-current {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: #eef6f5;
  font-size: 13px;
}
.floorlo-file-current a {
  color: #087f7b;
  font-weight: 700;
  text-decoration: none;
}
.floorlo-file-current a:hover { text-decoration: underline; }
.floorlo-file-clear {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #b52d2d;
  font-weight: 600;
  cursor: pointer;
}
.floorlo-file-clear input[type="checkbox"] { accent-color: #b52d2d; }

@media (max-width: 480px) {
  .floorlo-file-field { flex-direction: column; align-items: stretch; }
}

.floorlo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}
.floorlo-lightbox.is-open { display: block; }
.floorlo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 22, .82);
}
.floorlo-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(90vw, 900px);
  height: min(85vh, 640px);
  margin: 7vh auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c1618;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.floorlo-lightbox-panel img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.floorlo-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.floorlo-lightbox-close:hover { background: rgba(255, 255, 255, .22); }
body.floorlo-lightbox-lock { overflow: hidden; }

@media (max-width: 700px) {
  .floorlo-lightbox-panel { width: 94vw; height: 78vh; margin-top: 10vh; border-radius: 12px; }
}
