:root {
  color-scheme: dark;
  --bg: #020817;
  --panel: rgba(6, 21, 45, 0.82);
  --blue: #2678ff;
  --blue-light: #8bc5ff;
  --text: #f5f9ff;
  --muted: #9cadc7;
  --line: rgba(132, 183, 255, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 48%, rgba(31, 104, 244, 0.22), transparent 29%),
    radial-gradient(circle at 74% 28%, rgba(49, 132, 255, 0.14), transparent 25%),
    linear-gradient(125deg, #071b3b 0%, #030c1d 48%, #020817 100%);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
}

body::before {
  inset: 0;
  opacity: 0.35;
  background:
    linear-gradient(rgba(87, 153, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 153, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 35%);
}

body::after {
  top: 8vh;
  left: -22vw;
  width: 54vw;
  height: 54vw;
  min-width: 540px;
  min-height: 540px;
  border: 1px solid rgba(61, 139, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 50px rgba(40, 116, 255, 0.035),
    0 0 0 110px rgba(40, 116, 255, 0.025);
}

button,
input {
  font: inherit;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 28px;
}

.nova-logo {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.nova-logo img {
  display: block;
  width: clamp(210px, 25vw, 340px);
  height: auto;
}

.nova-logo span {
  color: rgba(213, 229, 255, 0.65);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-align: center;
  text-transform: uppercase;
}

.card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(410px, 1.1fr);
  width: min(1040px, 100%);
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(142, 190, 255, 0.3);
  border-radius: 32px;
  background: var(--panel);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    inset 0 1px rgba(255, 255, 255, 0.08),
    0 0 40px rgba(44, 128, 255, 0.09);
}

.brand {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  gap: 30px;
  padding: 42px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 24%, rgba(55, 139, 255, 0.24), transparent 36%),
    linear-gradient(155deg, rgba(17, 55, 112, 0.72), rgba(3, 14, 33, 0.52));
}

.brand::after {
  content: "";
  position: absolute;
  top: -100px;
  left: -95px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(82, 154, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(67, 142, 255, 0.035);
}

.shield-art {
  position: absolute;
  top: 54px;
  left: 50%;
  width: 190px;
  height: 220px;
  transform: translateX(-50%);
  filter: drop-shadow(0 20px 28px rgba(0, 65, 180, 0.38));
}

.shield-art::before,
.shield-art::after,
.shield-art span {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0, 92% 17%, 84% 69%, 50% 100%, 16% 69%, 8% 17%);
}

.shield-art::before {
  content: "";
  background: linear-gradient(135deg, #80c3ff, #1766e5 44%, #08255d 72%);
}

.shield-art::after {
  content: "";
  inset: 9px;
  background: linear-gradient(145deg, #123f86, #030c20 70%);
}

.shield-art span {
  inset: 43px 48px 50px;
  z-index: 1;
  background: linear-gradient(145deg, #4195ff, #0a3b99);
}

.brand-copy,
.security-list {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand h1 {
  max-width: 330px;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.brand-copy > p:last-child {
  max-width: 360px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.security-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.security-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(125, 180, 255, 0.17);
  border-radius: 14px;
  background: rgba(3, 16, 38, 0.52);
}

.security-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  background-color: var(--blue-light);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.icon-shield {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.7 8 11 4.6-1.3 8-6 8-11V5l-8-3Zm-1.1 14.2-3.5-3.5 1.4-1.4 2.1 2.1 4.6-4.6 1.4 1.4-6 6Z'/%3E%3C/svg%3E");
}

.icon-lock {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 9V7A5 5 0 0 0 7 7v2H5v13h14V9h-2Zm-8 0V7a3 3 0 0 1 6 0v2H9Zm4 8.7V20h-2v-2.3a2 2 0 1 1 2 0Z'/%3E%3C/svg%3E");
}

.security-item p {
  margin: 0;
  color: #8295b3;
  font-size: 0.66rem;
  line-height: 1.35;
}

.security-item strong {
  display: block;
  margin-bottom: 2px;
  color: #eaf3ff;
  font-size: 0.73rem;
}

.auth {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 54px;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.logo-wrap img {
  display: block;
  width: 180px;
  height: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1) drop-shadow(0 6px 14px rgba(39, 119, 255, 0.25));
}

.auth-head {
  margin-bottom: 28px;
  text-align: center;
}

.auth-head h2 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
}

.auth-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.auth-form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  color: #dce9fb;
  font-size: 0.79rem;
  font-weight: 650;
}

.input-wrap {
  position: relative;
  display: block;
}

.input-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 1;
  width: 19px;
  height: 19px;
  background-color: #8ea5c5;
  transform: translateY(-50%);
  pointer-events: none;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.user-input::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0-8a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 10c-5 0-9 2.5-9 5.5V22h18v-2.5c0-3-4-5.5-9-5.5Zm-7 6c.4-2 3.4-4 7-4s6.6 2 7 4H5Z'/%3E%3C/svg%3E");
}

.password-input::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 9V7A5 5 0 0 0 7 7v2H5v13h14V9h-2ZM9 7a3 3 0 0 1 6 0v2H9V7Zm8 13H7v-9h10v9Z'/%3E%3C/svg%3E");
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px 14px 48px;
  border: 1px solid rgba(125, 172, 237, 0.22);
  border-radius: 13px;
  outline: none;
  color: var(--text);
  background: rgba(4, 17, 39, 0.74);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input::placeholder {
  color: #71829c;
}

.field input:focus {
  border-color: #58a6ff;
  box-shadow: 0 0 0 3px rgba(60, 143, 255, 0.14);
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.76rem;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.check input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue);
}

.link {
  color: #58a6ff;
  font-weight: 600;
  text-decoration: none;
}

.link:hover {
  color: var(--blue-light);
  text-decoration: underline;
}

.btn {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(105, 172, 255, 0.35);
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #1260df, #2c7cff);
  box-shadow: 0 12px 28px rgba(20, 93, 221, 0.28);
  font-weight: 750;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.resident-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid rgba(130, 190, 255, 0.42);
  border-radius: 14px;
  color: #f5fbff;
  text-decoration: none;
  background:
    radial-gradient(circle at 12% 50%, rgba(153, 221, 255, 0.26), transparent 22%),
    linear-gradient(135deg, #0d2d65 0%, #1563e6 55%, #4a9cff 100%);
  box-shadow:
    0 18px 36px rgba(17, 90, 214, 0.32),
    inset 0 1px rgba(255, 255, 255, 0.18),
    0 0 0 1px rgba(104, 171, 255, 0.08);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.resident-cta::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -30px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(214, 240, 255, 0.18);
  box-shadow: 0 0 0 18px rgba(214, 240, 255, 0.08);
}

.resident-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow:
    0 24px 42px rgba(17, 90, 214, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.22);
}

.resident-cta-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
}

.resident-cta-copy strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.resident-cta-copy strong::before {
  content: "";
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(6, 24, 58, 0.28);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.24);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3Zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3Zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5C15 14.17 10.33 13 8 13Zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.93 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5Z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 16px;
}

.resident-cta-copy small {
  color: rgba(239, 247, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.35;
}

.resident-cta-arrow {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 11px;
  color: #0d2d65;
  background: linear-gradient(135deg, #ffffff, #d7edff);
  box-shadow:
    0 10px 20px rgba(6, 24, 58, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  font-weight: 900;
}

.support {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.support-error {
  padding: 10px 12px;
  border: 1px solid rgba(255, 110, 125, 0.22);
  border-radius: 10px;
  color: #ff9ba6;
  background: rgba(142, 18, 38, 0.15);
}

.overlay-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(1, 6, 16, 0.8);
  backdrop-filter: blur(8px);
}

.overlay-modal.is-open {
  display: flex;
}

.error-dialog {
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid rgba(130, 180, 250, 0.25);
  border-radius: 22px;
  background: #091a36;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.error-dialog h3 {
  margin: 0 0 9px;
  font-size: 1.3rem;
}

.error-dialog p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.error-dialog-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.dialog-btn {
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #1260df, #2c7cff);
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 800px) {
  .page {
    justify-content: flex-start;
    padding: 24px 18px;
  }

  .nova-logo span {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
  }

  .card {
    grid-template-columns: 1fr;
    width: min(480px, 100%);
    min-height: 0;
    border-radius: 24px;
  }

  .brand {
    display: none;
  }

  .auth {
    padding: 34px 28px;
  }

  .resident-cta {
    padding: 11px 12px;
  }
}

@media (max-width: 420px) {
  .page {
    gap: 18px;
    padding: 20px 14px;
  }

  .nova-logo img {
    width: 220px;
  }

  .auth {
    padding: 28px 20px;
  }

  .logo-wrap img {
    width: 155px;
  }

  .auth-head {
    margin-bottom: 22px;
  }

  .auth-head h2 {
    font-size: 1.65rem;
  }

  .row {
    gap: 10px;
    font-size: 0.7rem;
  }

  .resident-cta {
    grid-template-columns: 1fr;
  }

  .resident-cta-arrow {
    justify-self: start;
  }
}

/* Resident bicycle exit tokens */
.bicycle-exit-page .bicycle-list-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.bicycle-exit-page .bicycle-list-heading,
.bicycle-exit-page .bicycle-client-name {
  display: none;
}

.bicycle-exit-page .bicycle-scroll {
  gap: 8px;
  padding-top: 8px;
}

.bike-exit-token-list {
  display: grid;
  gap: 12px;
}

.bicycle-exit-page .bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  visibility: visible;
}

.bike-exit-picker {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #dbe7f5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(28, 62, 112, .11);
}

.bike-exit-picker-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid #dbe7f5;
}

.bike-exit-picker-head > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, #0057d9, #164b97);
  font-size: 1.2rem;
}

.bike-exit-picker-head h3,
.bike-exit-picker-head p {
  margin: 0;
}

.bike-exit-picker-head h3 {
  color: #14213d;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 900;
}

.bike-exit-picker-head p {
  margin-top: 3px;
  color: #637899;
  font-size: .76rem;
  line-height: 1.35;
  font-weight: 700;
}

.bike-exit-picker-list {
  display: grid;
  gap: 10px;
}

.bike-exit-picker-item {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #f8fbff;
}

.bike-exit-picker-photo {
  width: 66px;
  height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  color: #0057d9;
  background: #eaf2ff;
  font-size: 1.4rem;
}

.bike-exit-picker-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.bike-exit-picker-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.bike-exit-picker-copy strong,
.bike-exit-picker-copy small {
  overflow-wrap: anywhere;
}

.bike-exit-picker-copy strong {
  color: #14213d;
  font-size: .95rem;
  line-height: 1.2;
  font-weight: 900;
}

.bike-exit-picker-copy small {
  color: #637899;
  font-size: .66rem;
  line-height: 1.25;
  font-weight: 800;
}

.bike-exit-picker-item button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 11px;
  padding: 9px 13px;
  color: #ffffff;
  background: linear-gradient(135deg, #0057d9, #1a72dc);
  box-shadow: 0 8px 18px rgba(0, 87, 217, .18);
  font: inherit;
  font-size: .72rem;
  font-weight: 900;
  cursor: pointer;
}

.bike-exit-change-bike {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: #2458a6;
  font-size: .72rem;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
}

.bike-exit-token-card {
  --token-progress: 360deg;
  --token-red: #c9151b;
  --token-red-soft: #fff7f7;
  --token-blue: #2563eb;
  display: grid;
  gap: 0;
  width: 100%;
  padding: 24px;
  border: 1px solid #dbe7f5;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

.bike-exit-card-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dbe7f5;
}

.bike-exit-bike-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #2458a6;
  background: #eef4ff;
  font-size: 1.85rem;
}

.bike-exit-account {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #14213d;
}

.bike-exit-account span {
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.bike-exit-account small {
  color: #64748b;
  font-size: .88rem;
  line-height: 1.2;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.bike-exit-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid #dbe7f5;
  border-radius: 999px;
  color: var(--token-blue);
  background: #f0f6ff;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .04);
  font-size: .78rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.bike-exit-active-badge > i {
  font-size: 1.1rem;
}

.bike-exit-token-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}

.bike-exit-code-panel {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  min-height: 166px;
  overflow: hidden;
  border: 1px solid #f5caca;
  border-radius: 18px;
  color: var(--token-red);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 245, 245, .88)),
    repeating-linear-gradient(
      45deg,
      rgba(220, 38, 38, .035) 0,
      rgba(220, 38, 38, .035) 6px,
      transparent 6px,
      transparent 14px
    );
  box-shadow: 0 12px 28px rgba(220, 38, 38, .06);
}

.bike-exit-lock {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  border-right: 1px solid #f3d1d1;
  color: #dc2626;
  opacity: .6;
  font-size: 2.35rem;
}

.bike-exit-lock .fa-lock {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #ffffff;
  font-size: .72rem;
  transform: translate(-50%, -36%);
}

.bike-exit-code {
  min-width: 0;
  color: var(--token-red);
  font-size: 5.4rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 8px 20px rgba(201, 21, 27, .12);
}

.bike-exit-timer {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  margin-inline: auto;
  padding: 11px;
  border-radius: 50%;
  background: conic-gradient(#dc2626 var(--token-progress), #e5eaf2 0);
  box-shadow: 0 15px 32px rgba(220, 38, 38, .15);
}

.bike-exit-timer-inner {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid #edf2f7;
  border-radius: 50%;
  background: #ffffff;
}

.bike-exit-timer-inner::before {
  position: absolute;
  z-index: -1;
  inset: 11px;
  content: "";
  border: 2px dashed #e1e8f0;
  border-radius: 50%;
}

.bike-exit-timer-inner span {
  color: #64748b;
  font-size: .82rem;
  font-weight: 800;
}

.bike-exit-timer-inner strong {
  margin-top: 6px;
  color: #dc2626;
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.bike-exit-timer-inner > i {
  margin-top: 7px;
  color: #dc2626;
  font-size: 1.05rem;
}

.bike-exit-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.bike-exit-meta div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 13px;
  border: 1px solid #dbe7f5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
}

.bike-exit-meta-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1e40af;
  background: #eef4ff;
  font-size: 1.1rem;
}

.bike-exit-meta p {
  min-width: 0;
  margin: 0;
}

.bike-exit-meta p span {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: .72rem;
  line-height: 1.15;
  font-weight: 800;
}

.bike-exit-meta strong {
  display: block;
  color: #172033;
  font-size: .82rem;
  line-height: 1.2;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.bike-exit-refresh {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #dbe7f5;
  color: #1e3a8a;
  font-size: .82rem;
  line-height: 1.35;
  font-weight: 700;
}

.bike-exit-refresh i {
  flex: 0 0 auto;
  color: var(--token-blue);
  font-size: 1.25rem;
}

.bike-exit-token-card.is-expired .bike-exit-active-badge {
  color: #b91c1c;
  border-color: #f3caca;
  background: #fff5f5;
}

.bike-exit-token-card.is-expired .bike-exit-code,
.bike-exit-token-card.is-expired .bike-exit-timer {
  opacity: .55;
}

@media (min-width: 901px) {
  .bicycle-exit-page .home-panel {
    max-width: 760px;
  }

  .bicycle-exit-page .topbar,
  .bicycle-exit-page .bottom-nav {
    width: min(760px, 100%);
  }
}

@media (max-width: 900px) {
  .bike-exit-card-head {
    grid-template-columns: 64px minmax(0, 1fr) auto;
  }

  .bike-exit-timer {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 560px) {
  .bike-exit-picker {
    padding: 12px;
  }

  .bike-exit-picker-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 9px;
  }

  .bike-exit-picker-photo {
    width: 56px;
    height: 52px;
  }

  .bike-exit-picker-item button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .bike-exit-token-card {
    padding: 12px;
    border-radius: 16px;
  }

  .bike-exit-card-head {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 10px;
  }

  .bike-exit-bike-icon {
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .bike-exit-account span {
    font-size: 1rem;
  }

  .bike-exit-account small {
    font-size: .62rem;
  }

  .bike-exit-active-badge {
    grid-column: 1 / -1;
    justify-self: start;
    gap: 6px;
    padding: 7px 10px;
    font-size: .62rem;
  }

  .bike-exit-active-badge > i {
    font-size: .82rem;
  }

  .bike-exit-token-main {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 10px;
    margin-top: 12px;
  }

  .bike-exit-code-panel {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 106px;
    border-radius: 13px;
  }

  .bike-exit-lock {
    display: grid;
    font-size: 1.35rem;
  }

  .bike-exit-lock .fa-lock {
    font-size: .42rem;
  }

  .bike-exit-code {
    padding: 0;
    font-size: 3rem;
  }

  .bike-exit-timer {
    width: 104px;
    height: 104px;
    padding: 7px;
  }

  .bike-exit-timer-inner::before {
    inset: 7px;
    border-width: 1px;
  }

  .bike-exit-timer-inner span {
    font-size: .56rem;
  }

  .bike-exit-timer-inner strong {
    margin-top: 3px;
    font-size: 1.25rem;
  }

  .bike-exit-timer-inner > i {
    margin-top: 4px;
    font-size: .72rem;
  }

  .bike-exit-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
  }

  .bike-exit-meta div {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 5px;
    min-height: 78px;
    padding: 7px 5px;
    text-align: center;
  }

  .bike-exit-meta-icon {
    width: 28px;
    height: 28px;
    font-size: .78rem;
  }

  .bike-exit-meta p span {
    margin-bottom: 2px;
    font-size: .55rem;
  }

  .bike-exit-meta strong {
    font-size: .62rem;
  }

  .bike-exit-refresh {
    gap: 7px;
    margin-top: 12px;
    padding-top: 10px;
    font-size: .62rem;
  }

  .bike-exit-refresh i {
    font-size: .9rem;
  }
}
