/* Authentication screens are scoped here so the shared dashboard shell stays untouched. */
.auth-page {
  --auth-navy: #090e1d;
  --auth-navy-soft: #151e32;
  --auth-pink: #e11d5a;
  --auth-magenta: #c21868;
  --auth-muted: #94a3b8;
  --auth-border: #dbe4ef;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: #f8fafc;
  background: var(--auth-navy);
  font-family: Roboto, Arial, sans-serif;
}

.auth-page,
.auth-page * {
  box-sizing: border-box;
}

/* Keep the existing language switcher and navbar route, with the auth reference layout. */
.auth-page .container.position-sticky {
  position: relative !important;
  top: auto !important;
  z-index: 10;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.auth-page .container.position-sticky > .row,
.auth-page .container.position-sticky > .row > .col-12 {
  margin: 0;
  padding: 0;
}

.auth-page .fullscreen-auth-navbar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  position: relative !important;
  inset: auto !important;
  width: 100%;
  min-height: 5rem;
  margin: 0 !important;
  padding: 0;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid #202a3e;
  border-radius: 0 !important;
  background: #0a1020 !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.auth-page .fullscreen-auth-navbar::after {
  display: none;
}

.auth-page .fullscreen-auth-navbar .container-fluid {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 5rem;
  margin: 0;
  padding: .65rem 1.5rem !important;
}

.auth-page .fullscreen-auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 3rem;
  margin: 0 auto 0 0 !important;
  padding: 0 0 0 3.5rem !important;
  color: #f8fafc !important;
  font-size: 1.05rem;
  line-height: 1.25;
  text-shadow: none;
}

.auth-page .fullscreen-auth-brand::after {
  display: block;
  margin-top: .12rem;
  color: #94a3b8;
  content: "Fleet & Workshop Care OS";
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .015em;
}

.auth-login-page .fullscreen-auth-brand {
  flex: 0 1 auto;
  flex-direction: row;
  align-items: center;
  gap: .8rem;
  max-width: calc(100% - 14rem);
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
}

.auth-login-page .fullscreen-auth-brand::after { display: none; }

.auth-login-page .fullscreen-auth-brand-copy {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-login-page .fullscreen-auth-brand-copy::after {
  display: block;
  margin-top: .12rem;
  color: #94a3b8;
  content: "Fleet & Workshop Care OS";
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .015em;
}

.auth-page .fullscreen-auth-logo {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  width: 2.8rem;
  height: 2.8rem;
  margin: 0;
  padding: .1rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: .8rem;
  background: #e11d5a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .24);
  transform: translateY(-50%);
}

.auth-login-page .fullscreen-auth-brand > .fullscreen-auth-logo {
  position: static;
  flex: 0 0 2.8rem;
  width: 2.8rem;
  height: 2.8rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: .7rem;
  object-fit: cover;
  background: transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .24);
  transform: none;
}

.auth-page .fullscreen-auth-navbar .d-flex.align-items-center.ms-auto {
  flex: 0 0 auto;
  gap: .65rem;
  margin-left: auto !important;
  white-space: nowrap;
}

.auth-page .fullscreen-auth-navbar .language-switcher-form {
  gap: .45rem;
  margin: 0;
  padding: .45rem .7rem;
  border: 1px solid #2b374d;
  border-radius: .55rem;
  background: #172136;
}

.auth-page .fullscreen-auth-navbar .language-switcher-icon {
  color: #94a3b8;
}

.auth-page .fullscreen-auth-navbar .language-switcher-select {
  min-width: 8.3rem;
  color: #e2e8f0;
  font-size: .8rem;
}

.auth-page .fullscreen-auth-navbar .language-switcher-select option {
  color: #0f172a;
}

.auth-page .footer {
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: .9rem 0 !important;
  border-top: 1px solid #202a3e;
  background: rgba(7, 11, 23, .96);
}

.auth-page .footer .copyright,
.auth-page .footer .copyright a {
  color: #aab6c8 !important;
}

.auth-page-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.7rem;
  padding: .75rem max(1.5rem, calc((100% - 1420px) / 2));
  border-top: 1px solid #202a3e;
  background: rgba(7, 11, 23, .96);
  color: #94a3b8;
  font-size: .73rem;
}

.auth-page-footer > span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.auth-page-footer strong { color: #d8e0ec; font-weight: 600; }
.auth-page-footer i { color: #64748b; font-style: normal; }

/* Full login page */
.auth-login-page--full {
  background:
    radial-gradient(ellipse at 4% 52%, rgba(24, 42, 73, .28), transparent 34%),
    radial-gradient(ellipse at 98% 16%, rgba(91, 18, 71, .16), transparent 31%),
    #080d1b;
}

.auth-login-main {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  width: 100%;
  padding: clamp(2rem, 5vh, 4.5rem) 1.5rem;
}

.auth-login-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .94fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(100%, 1420px);
  margin: 0 auto;
}

.auth-login-hero {
  min-width: 0;
  padding: .5rem 0;
}

.auth-login-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .48rem .8rem;
  border: 1px solid #334155;
  border-radius: 999px;
  background: rgba(30, 41, 59, .78);
  color: #d5deeb;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.auth-login-badge .material-icons-round {
  color: #34d399;
  font-size: 1rem;
}

.auth-login-intro {
  max-width: 43rem;
  margin-top: 1.35rem;
}

.auth-login-intro h1 {
  margin: 0;
  color: #f8fafc;
  font-size: clamp(2.45rem, 4vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.auth-login-intro h1 span {
  color: #f27099;
}

.auth-login-intro p {
  max-width: 40rem;
  margin: 1rem 0 0;
  color: #a4afc1;
  font-size: clamp(.97rem, 1.15vw, 1.12rem);
  line-height: 1.65;
}

.auth-login-security {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 1.25rem 0 0;
  color: #a9b4c5;
  font-size: .82rem;
}

.auth-login-security .material-icons-round {
  color: #f43f69;
  font-size: 1.1rem;
}

.auth-workshop-card {
  width: min(100%, 35rem);
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid #334155;
  border-radius: .9rem;
  background: rgba(15, 23, 42, .94);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
}

.auth-workshop-card__header,
.auth-workshop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .72rem .9rem;
  background: #172136;
  color: #d5deeb;
  font-size: .75rem;
}

.auth-workshop-card__header {
  border-bottom: 1px solid #29364d;
}

.auth-workshop-card__title,
.auth-workshop-card__header a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.auth-workshop-card__title {
  font-weight: 700;
}

.auth-workshop-card__title i,
.auth-map-label i {
  display: inline-block;
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: #f43f69;
}

.auth-workshop-card__header a {
  color: #38bdf8;
  text-decoration: none;
}

.auth-workshop-card__header a:hover {
  color: #7dd3fc;
}

.auth-workshop-card__header a .material-icons-round {
  font-size: .9rem;
}

.auth-workshop-card__map {
  position: relative;
  height: 12.5rem;
  overflow: hidden;
  background-color: #202a39;
  background-image: radial-gradient(rgba(148, 163, 184, .22) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}

.auth-login-page--full .auth-workshop-card__map .login-location-map {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  z-index: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  display: block !important;
  opacity: .72;
}

.auth-workshop-card__map .login-location-map iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.auth-map-label,
.auth-map-credit {
  position: absolute;
  z-index: 1;
  padding: .3rem .45rem;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: .3rem;
  background: rgba(8, 13, 27, .9);
  color: #dbe4ef;
  font-size: .62rem;
  pointer-events: none;
}

.auth-map-label {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.auth-map-label i {
  width: .38rem;
  height: .38rem;
  background: #fbbf24;
}

.auth-map-label--top {
  top: .7rem;
  left: .8rem;
}

.auth-map-label--bottom {
  bottom: .7rem;
  left: .8rem;
}

.auth-map-label--bottom i {
  background: #34d399;
}

.auth-map-credit {
  right: .5rem;
  bottom: .5rem;
  padding: .15rem .3rem;
  color: #aab6c8;
  font-size: .54rem;
}

.auth-workshop-card__footer {
  border-top: 1px solid #29364d;
  background: #0f172a;
  color: #9eabc0;
  font-size: .68rem;
}

.auth-login-card {
  width: 100%;
  max-width: 40rem;
  justify-self: end;
  overflow: hidden;
  border: 1px solid #334155;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .34), 0 0 42px rgba(190, 24, 93, .08);
  color: #0f172a;
}

.auth-login-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 8.7rem;
  padding: 1.6rem 1.8rem;
  background: linear-gradient(110deg, #121a30 0%, #211b3d 48%, #9f1239 100%);
  color: white;
}

.auth-login-card__icon {
  display: inline-flex;
  flex: 0 0 3.5rem;
  width: 3.5rem;
  height: 3.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 1rem;
  background: rgba(255, 255, 255, .1);
  color: white;
  font-size: 1.7rem;
}

.auth-login-card__eyebrow {
  color: #f9a8c5;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-login-card__header h2 {
  margin: .15rem 0 0;
  color: white;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.025em;
}

.auth-login-card__header p {
  margin: .3rem 0 0;
  color: #d7deeb;
  font-size: .86rem;
}

.auth-login-card__body {
  padding: 1.7rem 1.8rem 1.4rem;
}

.auth-login-notice {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: 1.45rem;
  padding: .9rem .95rem;
  border: 1px solid #bfdbfe;
  border-radius: .75rem;
  background: #eff8ff;
  color: #164e8a;
  font-size: .82rem;
  line-height: 1.55;
}

.auth-login-notice .material-icons-round {
  flex: 0 0 auto;
  margin-top: .08rem;
  color: #0284c7;
  font-size: 1.15rem;
}

.auth-login-notice p {
  margin: 0;
}

.auth-login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-form-field label {
  display: block;
  margin-bottom: .4rem;
  color: #263449;
  font-size: .86rem;
  font-weight: 600;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.45rem;
  border: 1px solid #cbd5e1;
  border-radius: .65rem;
  background: #f8fafc;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.auth-input-wrap:focus-within {
  border-color: #e11d5a;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(225, 29, 90, .12);
}

.auth-input-wrap > .material-icons-round {
  flex: 0 0 2.8rem;
  padding-left: .95rem;
  color: #94a3b8;
  font-size: 1.15rem;
}

.auth-input-wrap input {
  width: 100%;
  min-width: 0;
  height: 3.35rem;
  padding: .65rem .8rem .65rem 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172033;
  font: inherit;
  font-size: .92rem;
  box-shadow: none;
}

.auth-input-wrap input::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.auth-password-toggle {
  display: inline-flex;
  flex: 0 0 2.7rem;
  width: 2.7rem;
  height: 2.7rem;
  align-items: center;
  justify-content: center;
  margin: 0 .3rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
}

.auth-password-toggle:hover {
  background: #f1f5f9;
  color: #475569;
}

.auth-password-toggle .password-eye-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-forgot-link {
  display: flex;
  justify-content: flex-end;
  margin-top: .45rem;
}

.auth-forgot-link a,
.auth-login-card__assistance a {
  color: #2563eb;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}

.auth-forgot-link a:hover,
.auth-login-card__assistance a:hover {
  color: #be185d;
  text-decoration: underline;
}

.auth-popup-launch {
  padding: 0;
  border: 0;
  background: transparent;
  color: #2563eb;
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
}

.auth-popup-launch:hover {
  color: #be185d;
  text-decoration: underline;
}

.auth-login-submit {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  margin-top: .35rem;
  border: 0;
  border-radius: .7rem;
  background: linear-gradient(105deg, #151b31, #32183d 48%, #be123c);
  color: #fff;
  font-size: .98rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(91, 18, 61, .22);
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}

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

.auth-login-submit .material-icons-round {
  font-size: 1.2rem;
}

.auth-login-card__assistance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: .8rem;
}

.auth-form-errors,
.auth-field-error {
  color: #b91c1c;
  font-size: .8rem;
}

.auth-form-errors {
  padding: .65rem .8rem;
  border: 1px solid #fecaca;
  border-radius: .5rem;
  background: #fef2f2;
}

.auth-field-error {
  margin-top: .35rem;
}

/* Compact login is the alternate, centered modal presentation. */
.auth-login-page--compact {
  position: relative;
  background: #090e20;
}

.auth-compact-stage {
  position: relative;
  display: flex;
  flex: 1 0 auto;
  min-height: calc(100vh - 8.2rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(20, 31, 57, .35), transparent 44%),
    linear-gradient(120deg, #090e20, #0a1020 55%, #0b111a);
}

.auth-compact-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .36;
  filter: blur(16px);
}

.auth-ambient-glow {
  position: absolute;
  width: 17rem;
  height: 17rem;
  border-radius: 50%;
  background: rgba(219, 39, 119, .25);
}

.auth-ambient-glow--one {
  top: 18%;
  left: 12%;
}

.auth-ambient-glow--two {
  right: 12%;
  bottom: 8%;
  background: rgba(59, 130, 246, .18);
}

.auth-ambient-copy {
  position: absolute;
  top: 42%;
  left: 12%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(24rem, 30vw);
  color: #64748b;
}

.auth-ambient-copy span {
  font-size: .8rem;
  letter-spacing: .12em;
}

.auth-ambient-copy strong {
  font-size: 2rem;
}

.auth-ambient-copy div {
  height: .8rem;
  border-radius: 1rem;
  background: rgba(148, 163, 184, .3);
}

.auth-ambient-copy div:nth-of-type(1) { width: 90%; }
.auth-ambient-copy div:nth-of-type(2) { width: 68%; }
.auth-ambient-copy div:nth-of-type(3) { width: 78%; }

.auth-ambient-map {
  position: absolute;
  right: 12%;
  bottom: 15%;
  width: min(19rem, 25vw);
  height: 9rem;
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: .9rem;
  background:
    linear-gradient(33deg, transparent 46%, rgba(148, 163, 184, .18) 47%, rgba(148, 163, 184, .18) 48%, transparent 49%),
    linear-gradient(145deg, transparent 35%, rgba(148, 163, 184, .16) 36%, rgba(148, 163, 184, .16) 37%, transparent 38%),
    radial-gradient(rgba(148, 163, 184, .22) 1.5px, transparent 1.5px), #152033;
  background-size: auto, auto, 16px 16px, auto;
}

.auth-compact-reopen {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: .7rem;
  background: linear-gradient(105deg, #151b31, #32183d 48%, #be123c);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .32);
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.auth-compact-reopen .material-icons-round { font-size: 1.15rem; }

.auth-compact-body .modal-backdrop.show {
  opacity: 1;
  background: rgba(3, 7, 18, .68);
  backdrop-filter: blur(9px);
}

.auth-login-popup-open .modal-backdrop.show {
  opacity: 1;
  background: rgba(3, 7, 18, .72);
  backdrop-filter: blur(9px);
}

.auth-login-popup-open #loginRequiredModal .modal-dialog {
  width: calc(100% - 2rem);
  max-width: 38rem;
  margin: 1rem auto;
}

.auth-compact-body #loginRequiredModal .modal-dialog {
  max-width: 27.5rem;
}

.auth-compact-body #loginRequiredModal .login-popup-theme-header {
  min-height: 8rem !important;
  padding: 1.55rem 2.75rem 1.55rem 1.55rem !important;
}

.auth-compact-body #loginRequiredModal .login-popup-brand-icon {
  flex-basis: 3.25rem !important;
  width: 3.25rem !important;
  height: 3.25rem !important;
}

.auth-compact-body #loginRequiredModal .modal-body {
  padding: 1.45rem !important;
}

.auth-compact-body #loginRequiredModal .login-compact-switch {
  display: block;
  margin-top: .8rem;
  color: #64748b;
  font-size: .75rem;
  text-align: center;
  text-decoration: underline;
}

/* Reset password page: familiar nav, softened background and a focused form dialog. */
.auth-reset-page {
  position: relative;
  background: #080d1b;
}

.auth-reset-main {
  position: relative;
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 8.2rem);
  padding: clamp(1.5rem, 5vh, 3.5rem) 1.25rem;
  overflow: hidden;
  isolation: isolate;
}

.auth-reset-dashboard {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(15rem, .8fr) minmax(0, 1.2fr);
  gap: 1.5rem;
  padding: clamp(1.25rem, 5vw, 4.5rem);
  opacity: .38;
  filter: blur(4px);
  background:
    radial-gradient(ellipse at 60% 45%, rgba(37, 57, 91, .45), transparent 60%),
    #090e20;
}

.auth-reset-dashboard__column {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.auth-reset-dashboard__card {
  min-height: 7rem;
  padding: 1.2rem;
  border: 1px solid #27344b;
  border-radius: .8rem;
  background: rgba(20, 30, 50, .88);
}

.auth-reset-dashboard__card--large {
  flex: 1;
  min-height: 18rem;
  background:
    linear-gradient(33deg, transparent 46%, rgba(148, 163, 184, .13) 47%, rgba(148, 163, 184, .13) 48%, transparent 49%),
    linear-gradient(145deg, transparent 35%, rgba(148, 163, 184, .12) 36%, rgba(148, 163, 184, .12) 37%, transparent 38%),
    radial-gradient(rgba(148, 163, 184, .18) 1.5px, transparent 1.5px), rgba(20, 30, 50, .9);
  background-size: auto, auto, 18px 18px, auto;
}

.auth-reset-dashboard__line {
  width: 55%;
  height: .6rem;
  margin: .6rem 0;
  border-radius: 1rem;
  background: #53627a;
}

.auth-reset-dashboard__line:last-child { width: 82%; }

.auth-reset-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(6, 11, 25, .63);
  backdrop-filter: blur(8px);
}

.auth-reset-dialog {
  width: min(100%, 51rem);
  max-height: calc(100vh - 10rem);
  overflow: auto;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 28px 75px rgba(0, 0, 0, .42);
  color: #111827;
}

.auth-reset-dialog__header {
  position: relative;
  padding: 1.55rem 4rem 1.55rem 1.65rem;
  background: linear-gradient(110deg, #111a30 0%, #251a3b 51%, #bd185b 100%);
  color: #fff;
}

.auth-reset-brandline {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #f8b4cc;
  font-size: .78rem;
  font-weight: 600;
}

.auth-reset-brandline .material-icons-round {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: .55rem;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.15rem;
}

.auth-reset-dialog__heading {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-top: 1rem;
}

.auth-reset-dialog__icon {
  display: inline-flex;
  flex: 0 0 2.8rem;
  width: 2.8rem;
  height: 2.8rem;
  align-items: center;
  justify-content: center;
  border-radius: .65rem;
  background: linear-gradient(135deg, #e11d5a, #ec4899);
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .23);
}

.auth-reset-dialog__heading h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.025em;
}

.auth-reset-dialog__heading p {
  max-width: 40rem;
  margin: .35rem 0 0;
  color: #d4dbe8;
  font-size: .9rem;
  line-height: 1.5;
}

.auth-reset-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: .55rem;
  color: #e2e8f0;
  text-decoration: none;
}

.auth-reset-close:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.auth-reset-dialog__body {
  padding: 1.5rem 1.7rem 1.6rem;
}

.auth-reset-notice {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.35rem;
  padding: 1rem;
  border: 1px solid #c9e4fb;
  border-radius: .7rem;
  background: #eff8ff;
  color: #164e7a;
  font-size: .9rem;
  line-height: 1.55;
}

.auth-reset-notice .material-icons-round {
  flex: 0 0 auto;
  color: #0284c7;
  font-size: 1.3rem;
}

.auth-reset-notice p { margin: 0; }

.auth-reset-form label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  margin-bottom: .5rem;
  color: #273449;
  font-size: .9rem;
  font-weight: 600;
}

.auth-reset-form .auth-reset-field {
  position: relative;
}

.auth-reset-form .auth-reset-field > .material-icons-round {
  position: absolute;
  top: 50%;
  left: .85rem;
  z-index: 1;
  color: #94a3b8;
  transform: translateY(-50%);
}

.auth-reset-form input {
  width: 100%;
  min-height: 3.4rem;
  padding: .75rem 1rem .75rem 2.9rem;
  border: 1px solid #cbd5e1;
  border-radius: .55rem;
  background: #f8fafc;
  color: #172033;
  font: inherit;
  font-size: .93rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}

.auth-reset-form input:focus {
  border-color: #d52967;
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(217, 39, 94, .13);
}

.auth-reset-help,
.auth-reset-errors {
  display: block;
  margin-top: .45rem;
  font-size: .78rem;
  line-height: 1.45;
}

.auth-reset-help { color: #64748b; }
.auth-reset-errors { color: #b91c1c; }

.auth-reset-errors ul {
  margin: 0;
  padding-left: 1.1rem;
}

.auth-reset-message {
  margin-bottom: 1rem;
  padding: .75rem .9rem;
  border: 1px solid #fecaca;
  border-radius: .5rem;
  background: #fef2f2;
  color: #991b1b;
}

.auth-reset-actions {
  display: flex;
  justify-content: flex-end;
  gap: .65rem;
  margin-top: 1.35rem;
}

.auth-reset-button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .65rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: .5rem;
  background: #fff;
  color: #334155;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.auth-reset-button:hover {
  background: #f8fafc;
  color: #0f172a;
}

.auth-reset-button--primary {
  border-color: #be185d;
  background: linear-gradient(105deg, #be185d, #db2777);
  color: #fff;
  box-shadow: 0 7px 15px rgba(190, 24, 93, .2);
}

.auth-reset-button--primary:hover {
  background: linear-gradient(105deg, #a81750, #be185d);
  color: #fff;
}

.auth-reset-dialog__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding-top: .9rem;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: .75rem;
}

.auth-reset-dialog__footer span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.auth-reset-dialog__footer .material-icons-round {
  color: #059669;
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .auth-login-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
    gap: 2rem;
  }

  .auth-login-intro h1 { font-size: clamp(2.35rem, 5vw, 3.2rem); }
  .auth-workshop-card { margin-top: 1.5rem; }
}

@media (max-width: 767.98px) {
  .auth-page .fullscreen-auth-navbar,
  .auth-page .fullscreen-auth-navbar .container-fluid { min-height: 4.4rem; }
  .auth-page .fullscreen-auth-navbar .container-fluid { padding: .5rem 1rem !important; }
  .auth-page .fullscreen-auth-logo { left: 1rem; width: 2.5rem; height: 2.5rem; }
  .auth-page .fullscreen-auth-brand { font-size: .9rem; }
  .auth-login-page .fullscreen-auth-brand { max-width: calc(100% - 11rem); gap: .55rem; padding: 0 !important; }
  .auth-login-page .fullscreen-auth-brand > .fullscreen-auth-logo { flex-basis: 2.5rem; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; }
  .auth-login-page .fullscreen-auth-brand-copy::after { font-size: .67rem; }
  .auth-page .fullscreen-auth-navbar .language-switcher-form { padding: .38rem .5rem; }
  .auth-page .fullscreen-auth-navbar .language-switcher-select { min-width: 6.6rem; font-size: .72rem; }
  .auth-page .fullscreen-auth-navbar .language-switcher-icon { font-size: 1rem; }

  .auth-login-main { padding: 2.1rem 1rem; }
  .auth-login-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; max-width: 38rem; }
  .auth-login-hero { padding: 0; }
  .auth-login-intro h1 { font-size: clamp(2.15rem, 8vw, 3.2rem); }
  .auth-workshop-card { width: 100%; margin-top: 1.25rem; }
  .auth-workshop-card__map { height: 10rem; }
  .auth-login-card { justify-self: stretch; }
  .auth-login-card__header { min-height: auto; padding: 1.3rem; }
  .auth-login-card__body { padding: 1.25rem; }
  .auth-reset-main { min-height: calc(100vh - 7.6rem); padding: 1rem; }
  .auth-reset-dialog { max-height: calc(100vh - 7.5rem); }
  .auth-reset-dashboard { grid-template-columns: 1fr; padding: 1.2rem; }
  .auth-reset-dashboard__column:nth-child(2) { display: none; }
  .auth-page-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: .75rem 1rem; font-size: .68rem; }
}

@media (max-width: 480px) {
  .auth-login-page .fullscreen-auth-brand { max-width: calc(100% - 9rem); }
  .auth-page .fullscreen-auth-navbar .d-flex.align-items-center.ms-auto { gap: .25rem; }
  .auth-page .footer .copyright { font-size: .68rem; }
  .auth-login-main { padding: 1.5rem .85rem; }
  .auth-login-card__icon { flex-basis: 2.8rem; width: 2.8rem; height: 2.8rem; }
  .auth-login-card__header h2 { font-size: 1.2rem; }
  .auth-login-card__header p { font-size: .78rem; }
  .auth-login-card__assistance { align-items: flex-start; flex-direction: column; }
  .auth-ambient-copy { left: 7%; width: 70vw; }
  .auth-ambient-map { right: 6%; bottom: 10%; width: 66vw; }
  .auth-reset-dialog__header { padding: 1.25rem 3.2rem 1.25rem 1.1rem; }
  .auth-reset-dialog__heading { gap: .65rem; }
  .auth-reset-dialog__icon { flex-basis: 2.4rem; width: 2.4rem; height: 2.4rem; }
  .auth-reset-dialog__heading p { font-size: .8rem; }
  .auth-reset-dialog__body { padding: 1.15rem; }
  .auth-reset-actions { flex-direction: column-reverse; }
  .auth-reset-button { width: 100%; }
  .auth-reset-dialog__footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 575.98px) {
  .auth-login-popup-open #loginRequiredModal .modal-dialog { max-width: 100%; }
}
