/*
 * Small custom styling layered on top of Bootstrap: warmer accent color,
 * the MomentKontor logo in the nav/footer, and the hover-to-delete photo
 * overlay. Not vendored -- specific to this project.
 */

:root {
  --collage-accent: #ee7c1f;
  --collage-accent-dark: #d96c12;
  --collage-accent-rgb: 238, 124, 31;
}

body {
  background-color: #faf7f2;
}

/* Small pill badge next to the navbar logo, in MomentKontor's own brand
   blue (sampled from collage/static/scEvents/logos/visualFB/300w.webp's
   "Kontor" lettering: rgb(45, 118, 186)) so it reads as part of the
   brand mark instead of a stray caption. */
.navbar-tagline {
  display: inline-block;
  margin-left: 0.6rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background-color: #2d76ba;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  vertical-align: middle;
}

/* Links: match the overall design instead of Bootstrap's default blue --
   plain text color + underline, boldface (not a color change) on
   hover/focus. `.collage-footer a` below is more specific and keeps its
   own treatment; `.btn`-styled anchors are unaffected since Bootstrap's
   `.btn` class rules win on specificity. */
a,
.btn-link {
  color: inherit;
  text-decoration: underline;
}

a:hover,
a:focus,
.btn-link:hover,
.btn-link:focus {
  color: inherit;
  font-weight: 700;
}

/* Explicit focus ring in the site's accent color -- otherwise left to
   the browser's/OS's own default focus treatment, which can be an
   unrelated, clashing color depending on platform/theme. */
.btn:focus,
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(var(--collage-accent-rgb), 0.45);
}

.btn-primary,
.btn-success {
  background-color: var(--collage-accent);
  border-color: var(--collage-accent);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-success:hover,
.btn-success:focus {
  background-color: var(--collage-accent-dark);
  border-color: var(--collage-accent-dark);
}

.btn-primary:active,
.btn-success:active {
  background-color: var(--collage-accent-dark);
  border-color: var(--collage-accent-dark);
}

.collage-title-form {
  border-color: rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

/* Uploaded photo thumbnails --------------------------------------------- */

.collage-thumb {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.collage-thumb-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 32px;
  height: 32px;
  padding: 0;
  line-height: 30px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.collage-thumb:hover .collage-thumb-delete,
.collage-thumb-delete:focus {
  opacity: 1;
}

.collage-thumb-delete:hover {
  background: rgba(190, 30, 30, 0.9);
}

/* Footer ------------------------------------------------------------------ */

.collage-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 3rem;
}

.collage-footer img {
  height: 24px;
  opacity: 0.85;
}

.collage-footer a {
  color: inherit;
  text-decoration: none;
}

.collage-footer a:hover {
  text-decoration: underline;
}
