/* Premium finish over the approved mechanical entrance. */
.garage-active {
  background: #080b0c;
}
.garage-entry {
  background:
    radial-gradient(ellipse at 78% 25%, #3a2a1838, transparent 48%),
    radial-gradient(ellipse at 25% 90%, #1d252340, transparent 60%), #0b0e0f;
}
.garage-copy h1 {
  font-weight: 650;
  letter-spacing: -0.045em;
}
.garage-description {
  color: #c1c2bd;
}
.garage-machine {
  border-color: #87724e;
  border-radius: 15px;
  background: linear-gradient(
    150deg,
    #5a5548,
    #1a1d1d 19%,
    #35352d 72%,
    #121515
  );
  box-shadow:
    0 35px 90px #000b,
    0 4px 14px #000,
    inset 0 1px #fff3,
    0 0 75px #caa46b12;
  max-width: 560px;
}
.roller-head {
  filter: contrast(1.04) saturate(0.82);
}
.roller-shutter {
  filter: contrast(1.03) saturate(0.8);
  box-shadow:
    inset 9px 0 20px #0009,
    inset -9px 0 20px #0009,
    inset 0 2px #e8d7b438;
}
.garage-portal {
  min-height: 650px;
  background-image:
    linear-gradient(#17130c1c, #080c0d70), url("assets/roller-interior.webp");
  box-shadow: inset 0 0 50px #000b;
}
.portal-light {
  display: block;
  left: 19%;
  right: 19%;
  opacity: 0.72;
  height: 2px;
  background: #ffe5b8;
  box-shadow: 0 0 20px 2px #dcba6e6e;
  pointer-events: none;
}
.garage-login {
  border: 1px solid #b2976b70;
  border-radius: 12px;
  background: linear-gradient(150deg, #25251ff0, #101615f7);
  box-shadow:
    0 22px 50px #000a,
    inset 0 1px #e7d0a535;
  padding: 22px 20px;
  gap: 9px;
}
.garage-login h2 {
  font-size: 1.7rem;
  font-weight: 600;
  margin: 4px 0;
}
.garage-login .login-mark img {
  width: 112px;
  max-height: 85px;
}
.garage-login label {
  font-size: 0.875rem;
  font-weight: 500;
}
.garage-login input {
  border-color: #c1ac7b45;
  background: #090d0eaa;
  border-radius: 7px;
  min-height: 46px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.garage-login input:focus {
  outline: none;
  border-color: #e0bd80;
  box-shadow: 0 0 0 3px #d8b67820;
}
.garage-login .primary,
.garage-open-button {
  background: linear-gradient(135deg, #f0d3a2, #b98a50 70%, #d7ae72);
  border-color: #e8c48c;
  box-shadow:
    0 7px 22px #0007,
    inset 0 1px #fff6;
  border-radius: 8px;
}
.garage-open-button {
  min-height: 60px;
}
.garage-open-button:hover {
  filter: brightness(1.08);
}
.garage-open-button:focus-visible,
.garage-text-button:focus-visible {
  outline: 2px solid #f4d5a1;
  outline-offset: 4px;
}
.login-hint {
  font-size: 0.8125rem;
  line-height: 1.55;
  margin: 5px 0;
}
.garage-text-button {
  font-size: 0.875rem;
}
.garage-copy .garage-features b {
  font-size: 1rem;
}
.garage-footer {
  font-size: 0.75rem;
}
.garage-login [role="alert"] {
  color: #f3bc9d;
}
.garage-login .auth-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
.garage-login .auth-actions button {
  flex: 1;
  min-width: 100px;
}
.garage-login .auth-mode-title {
  font-size: 0.875rem;
  color: #d7bb8b;
}
.garage-login button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.photo-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
}
.photo-card {
  display: grid;
  gap: 10px;
}
.photo-viewer {
  display: block;
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  margin: auto;
}
.vehicle-picker {
  max-width: 100%;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--border, #514536);
  border-radius: 8px;
  background: #171c1b;
  color: inherit;
}
.notification-unread {
  border-left: 3px solid #d4ad72;
}
.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d4ad72;
  color: #101112;
  font-size: 12px;
  font-weight: 700;
}
#notification-button {
  position: relative;
}
.gallery-pager {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.empty {
  padding: 24px;
  color: #b6b8b3;
}
.status.in-progress {
  color: #e1c695;
}
.status.cancelled {
  color: #c5aaa1;
}
.rider-error {
  border: 1px solid #a85140;
  background: #381d18;
  padding: 12px;
  border-radius: 8px;
}
.rider-connection {
  font-size: 0.875rem;
  color: #d5b581;
}
.reminder-due {
  color: #f1b66e;
}
@media (max-width: 520px) {
  .garage-portal {
    min-height: 670px;
  }
  .garage-login {
    padding: 17px 11px;
    gap: 7px;
  }
  .garage-login h2 {
    font-size: 1.45rem;
  }
  .garage-login .login-mark img {
    width: 91px;
    max-height: 70px;
  }
  .garage-open-button {
    min-height: 55px;
  }
  .garage-footer {
    font-size: 0.6875rem;
    line-height: 1.5;
  }
  .garage-edition {
    font-size: 0.625rem;
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .photo-card img {
    height: 130px;
  }
  .garage-copy {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .garage-login,
  .garage-login input {
    transition: none;
  }
}
@media (max-width: 760px) {
  #mobile-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  #mobile-nav a {
    font-size: 0.65rem;
  }
  #mobile-nav .icon {
    width: 20px;
    height: 20px;
  }
}
.lock-hub {
  clip-path: circle(49%);
}
