html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.makes-page h1 {
  margin-bottom: 2rem;
}

.makes-region h2 {
  color: #b02a37;
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid #dee2e6;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
}

.make-card {
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  color: inherit;
  display: flex;
  gap: 1rem;
  min-height: 60px;
  height: 100%;
  padding: .625rem .75rem;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}

.make-card:hover {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .12);
  color: inherit;
  transform: translateY(-2px);
}

.video-card {
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  color: inherit;
  display: block;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}

.video-card:hover {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .12);
  color: inherit;
  transform: translateY(-2px);
}

.video-card img {
  display: block;
  height: 190px;
  object-fit: contain;
  width: 100%;
}

.video-card span {
  display: block;
  padding: 1rem;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.video-card { display: flex; flex-direction: column; }
.video-card .video-content { color: inherit; text-decoration: none; display: block; flex: 1; }
.video-photo-placeholder { height: 190px; display: grid; place-items: center; background: #f1f3f5; color: #6c757d; }
.video-admin-actions { display: flex; flex-wrap: wrap; gap: .5rem; padding: .75rem; border-top: 1px solid #dee2e6; background: #fff; }
.video-editor { max-width: 640px; margin: 1rem auto 3rem; }
.video-editor-preview { display: block; max-width: 100%; max-height: 260px; border-radius: .5rem; }
.photo-crop-stage { height: clamp(240px, 50vh, 420px); background: #f1f3f5; overflow: hidden; }
.photo-crop-stage > img { display: block; max-width: 100%; max-height: 100%; }
.video-card-missing { border: 2px solid #b02a37; background: #f8d7da; }
.video-card-missing img { opacity: .7; border-bottom: 3px solid #b02a37; }
.video-card .video-missing-label { color: #842029; font-weight: 700; padding-top: 0; }

.auth-page {
  width: 100%;
  max-width: 420px;
  margin: clamp(1.5rem, 6vh, 4rem) auto;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 1rem;
  box-shadow: 0 .5rem 2rem rgba(0, 0, 0, .07);
}

.auth-page h1 {
  margin-bottom: .5rem;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
}

.auth-description {
  margin-bottom: 1.75rem;
  color: #6c757d;
  text-align: center;
}

.auth-form .form-label { font-weight: 600; }
.auth-form .form-control { min-height: 46px; border-radius: .5rem; }
.auth-form button[type="submit"] { width: 100%; min-height: 46px; font-weight: 600; border-radius: .5rem; }
.auth-form .validation-summary-errors { margin-bottom: 1rem; }
.auth-form .validation-summary-errors ul { padding-left: 1.25rem; }
