/* TrainerBinder 0.2.73 - Solo editor foto Calendario e ingrandimento pubblico. */
.tb73-admin-uploader { padding: 12px; border: 1px solid rgba(165,229,244,.28); border-radius: 10px; margin: 12px 0; display: grid; gap: 10px; min-width: 0; }
.tb73-admin-uploader > strong { display: block; font-size: .98rem; }
.tb73-admin-uploader .tb73-drop-zone { position: relative; min-height: 122px; border-radius: 10px; border: 2px dashed rgba(165,229,244,.5); padding: 14px; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 5px; background: rgba(165,229,244,.045); overflow: hidden; }
.tb73-admin-uploader .tb73-drop-zone:is(.is-dragging, .tb73-ready-next) { border-color: #a5e5f4; background: rgba(165,229,244,.15); }
.tb73-admin-uploader .tb73-drop-zone:focus-within { outline: 2px solid #a5e5f4; outline-offset: 2px; }
.tb73-admin-uploader .tb73-drop-icon { border: 2px solid currentColor; border-radius: 50%; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.tb73-admin-uploader .tb73-drop-zone small { opacity: .75; }
.tb73-admin-uploader .tb73-drop-zone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.tb73-admin-uploader .tb73-admin-stage { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; min-width: 0; padding: 10px; border-radius: 9px; background: rgba(165,229,244,.055); }
.tb73-admin-uploader .tb73-admin-stage[hidden] { display: none !important; }
.tb73-admin-uploader .tb73-admin-stage-preview { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 120px; max-width: 100%; }
.tb73-admin-uploader .tb73-admin-stage-preview img { display: block; height: auto; width: auto; max-width: min(180px, 46vw); max-height: 170px; object-fit: contain; }
.tb73-admin-uploader .tb73-admin-stage-actions { flex: 1 1 170px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tb73-admin-uploader .tb73-stage-information { flex-basis: 100%; min-width: 0; display: grid; gap: 4px; overflow-wrap: anywhere; }
.tb73-admin-uploader .tb73-stage-information small { opacity: .75; }
.tb73-admin-uploader .tb73-photo-add { border: 1px solid rgba(165,229,244,.5); background: #a5e5f4; color: #102231; border-radius: 8px; padding: 9px 16px; font-weight: 800; cursor: pointer; }
.tb73-admin-uploader .tb73-photo-add:hover, .tb73-admin-uploader .tb73-photo-add:focus-visible { background: #e5faff; color: #102231; }
.tb73-admin-uploader .tb73-photo-cancel, .tb73-admin-uploader .tb73-stage-arrow { border: 1px solid rgba(165,229,244,.4); color: #e5faff; background: rgba(18,39,55,.8); border-radius: 8px; padding: 8px 10px; cursor: pointer; }
.tb73-admin-uploader .tb73-stage-arrow[hidden] { display: none !important; }
.tb73-admin-uploader .tb73-image-url-row { display: flex; align-items: flex-end; gap: 8px; min-width: 0; flex-wrap: wrap; }
.tb73-admin-uploader .tb73-image-url-row label { display: grid; gap: 5px; flex: 1 1 240px; min-width: 0; }
.tb73-admin-uploader input[type=url], .tb73-admin-uploader textarea { width: 100%; box-sizing: border-box; }
.tb73-admin-uploader .tb73-multi-urls { display: grid; gap: 5px; }
.tb73-admin-uploader .tb73-photo-status { margin: 0; min-height: 1em; font-size: .85rem; }
.tb73-admin-uploader .tb73-photo-status.is-error { color: #ffb7b7; }
.tb72-release-product [data-tb73-zoom] { cursor: zoom-in; touch-action: manipulation; }
.tb72-release-product [data-tb73-zoom]:focus-visible { outline: 3px solid #a5e5f4; outline-offset: 2px; }
.tb73-lightbox[hidden] { display: none !important; }
.tb73-lightbox { position: fixed; inset: 0; z-index: 15000; display: grid; place-items: center; padding: 18px; box-sizing: border-box; }
.tb73-lightbox-backdrop { position: absolute; inset: 0; background: rgba(2,8,15,.95); }
.tb73-lightbox-panel { position: relative; width: min(1100px, 100%); max-height: calc(100dvh - 36px); padding: 48px 12px 12px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; border-radius: 12px; background: #10202f; box-shadow: 0 25px 70px rgba(0,0,0,.65); }
.tb73-lightbox-close { position: absolute; right: 10px; top: 8px; background: rgba(0,0,0,.35); border: 1px solid rgba(165,229,244,.5); border-radius: 8px; height: 36px; width: 36px; color: #e5faff; cursor: pointer; }
.tb73-lightbox-photo { display: flex; width: 100%; min-height: 0; align-items: center; justify-content: space-between; gap: 8px; }
.tb73-lightbox-photo img { min-width: 0; width: auto; height: auto; max-width: calc(100% - 110px); max-height: calc(100dvh - 140px); object-fit: contain; user-select: none; }
.tb73-lightbox-arrow { width: 45px; height: 55px; flex-shrink: 0; border-radius: 8px; color: #e5faff; background: rgba(2,14,26,.86); border: 1px solid rgba(165,229,244,.45); cursor: pointer; font-size: 1.25rem; touch-action: manipulation; }
.tb73-lightbox-close:focus-visible, .tb73-lightbox-arrow:focus-visible { outline: 3px solid #a5e5f4; outline-offset: 2px; }
.tb73-lightbox-arrow[hidden] { display: none !important; }
.tb73-lightbox-counter { text-align: center; font-weight: 700; font-size: .86rem; color: #e5faff; }
@media (max-width: 600px) {
  .tb73-lightbox { padding: 6px; }
  .tb73-lightbox-panel { max-height: calc(100dvh - 12px); padding: 45px 6px 10px; }
  .tb73-lightbox-photo { gap: 3px; }
  .tb73-lightbox-photo img { max-width: calc(100% - 76px); max-height: calc(100dvh - 128px); }
  .tb73-lightbox-arrow { width: 34px; height: 48px; }
}
