/* Site styles. Bootstrap 5 is vendored in static/vendor/bootstrap/. */

/* Front page banner (feature 1): the old About page's image. */
.landing-banner {
  width: 100%;
  max-width: 32rem;
  height: auto;
}

/* Application summary (feature 6): keep each step's text beside its number on
   narrow screens; the button wraps below instead. */
.summary-step-body {
  flex: 1 1 12rem;
  min-width: 0;
}

/* Image list (feature 8). */
.image-card-draggable { cursor: grab; }
.image-card-preview { min-height: 10rem; }
.image-card-preview img { max-height: 16rem; object-fit: contain; }
.image-labels { display: grid; grid-template-columns: max-content 1fr; column-gap: 0.75rem; }
.image-labels dt { font-weight: 600; }
.image-labels dd { margin: 0; overflow-wrap: anywhere; }
.sortable-ghost { opacity: 0.4; }
.image-edit-preview { min-height: 16rem; }
.image-edit-preview img { max-height: 32rem; object-fit: contain; }
.review-thumb { max-height: 8rem; object-fit: contain; }

/* Jury grid (feature 14): a coloured left border per decision. */
.jury-row { border-left: .35rem solid var(--bs-border-color); }
.jury-accept { border-left-color: var(--bs-success); background: var(--bs-success-bg-subtle); }
.jury-maybe { border-left-color: var(--bs-warning); background: var(--bs-warning-bg-subtle); }
.jury-decline { border-left-color: var(--bs-danger); background: var(--bs-danger-bg-subtle); }
.jury-thumb { width: 10rem; height: 10rem; overflow: hidden; }
.jury-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* Jury list (feature 15) */
.jury-table { max-height: 80vh; }
.jury-notes { white-space: normal; min-width: 12rem; }
/* Juror applicant page (feature 16) */
.jury-card-img { width: 100%; height: 16rem; object-fit: contain; }
.jury-full { display: block; margin: auto; max-width: 100%; max-height: calc(100vh - 4rem); object-fit: contain; }
#jury-carousel .carousel-item { text-align: center; }
#jury-carousel .carousel-item.active, #jury-carousel .carousel-item-next, #jury-carousel .carousel-item-prev { display: flex; align-items: center; }
.jury-cv { height: 80vh; }
.jury-sidebar ol { max-height: 80vh; overflow-y: auto; }

/* allauth's pages (log in, sign up, email, password): a narrow column. */
.allauth-page { max-width: 36rem; }
