.bs-auth-body {
  background: var(--bsuite-bg);
  margin: 0;
  min-height: 100vh;
}

.bs-auth-skip {
  background: var(--bsuite-primary-700);
  color: #fff;
  left: 1rem;
  padding: 0.625rem 0.875rem;
  position: fixed;
  top: -4rem;
  z-index: 1200;
}

.bs-auth-skip:focus {
  color: #fff;
  top: 1rem;
}

.bs-auth-shell {
  display: grid;
  grid-template-columns: minmax(28rem, 0.9fr) minmax(32rem, 1.1fr);
  min-height: 100vh;
}

.bs-auth-brand {
  background: var(--bsuite-sidebar) url("../images/auth/cafe-workspace.png") center / cover no-repeat;
  color: #fff;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.bs-auth-brand__overlay {
  background: linear-gradient(180deg, rgba(12, 28, 34, 0.28), rgba(12, 28, 34, 0.82));
  inset: 0;
  position: absolute;
}

.bs-auth-brand__content {
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: space-between;
  padding: clamp(2rem, 4vw, 4rem);
  position: absolute;
  z-index: 1;
}

.bs-auth-logo {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-size: 1.125rem;
  font-weight: 750;
  gap: 0.75rem;
  text-decoration: none;
}

.bs-auth-logo:hover { color: inherit; }

.bs-auth-logo__mark {
  align-items: center;
  background: var(--bsuite-primary-500);
  border-radius: var(--bsuite-radius-button);
  color: #fff;
  display: inline-flex;
  height: 2.25rem;
  justify-content: center;
  width: 2.25rem;
}

.bs-auth-brand__message { max-width: 32rem; }
.bs-auth-brand__message h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 750;
  line-height: 1.08;
  margin: 0.75rem 0 1rem;
}
.bs-auth-brand__message p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  margin: 0;
  max-width: 28rem;
}
.bs-auth-eyebrow {
  color: #a8dfdb;
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
}
.bs-auth-brand__footer {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  margin: 0;
}

.bs-auth-panel {
  background: var(--bsuite-surface);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  position: relative;
}
.bs-auth-panel__tools {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
}
.bs-auth-mobile-header { display: none; }
.bs-auth-content {
  align-self: center;
  justify-self: center;
  padding: 2rem;
  width: min(100%, 31rem);
}
.bs-auth-header { margin-bottom: 2rem; }
.bs-auth-header h1 {
  color: var(--bsuite-heading);
  font-size: 1.75rem;
  font-weight: 750;
  line-height: 1.2;
  margin: 0;
}
.bs-auth-header p {
  color: var(--bsuite-text-muted);
  margin: 0.625rem 0 0;
}
.bs-auth-form { display: grid; gap: 1.25rem; }
.bs-auth-password { position: relative; }
.bs-auth-password .bs-input { padding-right: 3rem; }
.bs-auth-password .bs-icon-button {
  height: 2.25rem;
  position: absolute;
  right: 0.125rem;
  top: 0.125rem;
  width: 2.25rem;
}
.bs-auth-input-icon{position:relative}.bs-auth-input-icon>.bs-icon{color:var(--bsuite-text-muted);left:.75rem;position:absolute;top:.7rem}.bs-auth-input-icon .bs-input{padding-left:2.4rem}
.bs-password-strength{display:grid;gap:.35rem}.bs-password-strength>span{background:var(--bsuite-surface-subtle);border-radius:var(--bsuite-radius-pill);height:.4rem;overflow:hidden}.bs-password-strength i{background:var(--bsuite-border-strong);display:block;height:100%;transition:width .2s,background .2s;width:0}.bs-password-strength small{color:var(--bsuite-text-muted);font-size:.68rem}.bs-password-strength[data-level="weak"] i{background:var(--bsuite-danger-500);width:33%}.bs-password-strength[data-level="fair"] i{background:var(--bsuite-warning-500);width:66%}.bs-password-strength[data-level="strong"] i{background:var(--bsuite-success-500);width:100%}.bs-password-rule.is-valid{color:var(--bsuite-success-500)}
.bs-auth-confirmation{align-items:center;display:flex;flex-direction:column;text-align:center}.bs-auth-confirmation[hidden]{display:none}.bs-auth-confirmation>span{align-items:center;background:var(--bsuite-status-available-bg);border-radius:50%;color:var(--bsuite-success-500);display:flex;height:4rem;justify-content:center;width:4rem}.bs-auth-confirmation h2{font-size:1.35rem;margin:1rem 0 .4rem}.bs-auth-confirmation p{color:var(--bsuite-text-muted);font-size:.82rem;line-height:1.5}.bs-auth-error__illustration{align-items:center;color:var(--bsuite-primary-700);display:flex;font-size:3.5rem;font-weight:800;gap:.5rem;justify-content:center;margin-bottom:1.25rem}.bs-auth-error__illustration .bs-icon{background:var(--bsuite-primary-600);border-radius:50%;color:#fff;height:4rem;padding:1rem;width:4rem}.bs-auth-error__illustration.is-server{background:var(--bsuite-status-cancelled-bg);border-radius:50%;height:6rem;width:6rem}.bs-auth-error__illustration.is-server .bs-icon{background:transparent;color:var(--bsuite-danger-500);height:3rem;padding:0;width:3rem}.bs-auth-error__code{color:var(--bsuite-text-muted);font-family:var(--bsuite-font-mono);font-size:.62rem;margin-top:1.25rem}
.bs-auth-row {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}
.bs-auth-link {
  color: var(--bsuite-link);
  font-size: 0.8125rem;
  font-weight: 650;
  text-decoration: none;
}
.bs-auth-link:hover { text-decoration: underline; }
.bs-auth-submit { width: 100%; }
.bs-auth-divider {
  align-items: center;
  color: var(--bsuite-text-muted);
  display: grid;
  font-size: 0.75rem;
  gap: 0.75rem;
  grid-template-columns: 1fr auto 1fr;
  margin: 0.25rem 0;
}
.bs-auth-divider::before,
.bs-auth-divider::after {
  background: var(--bsuite-border);
  content: "";
  height: 1px;
}
.bs-auth-support {
  color: var(--bsuite-text-muted);
  font-size: 0.8125rem;
  margin: 1.5rem 0 0;
  text-align: center;
}
.bs-auth-footer {
  align-items: center;
  color: var(--bsuite-text-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75rem;
  gap: 0.5rem;
  justify-content: center;
  padding: 1.5rem;
}
.bs-auth-footer a { color: inherit; text-decoration: none; }
.bs-auth-footer a:hover { color: var(--bsuite-link); }

.bs-auth-status {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.bs-auth-status__icon {
  align-items: center;
  background: var(--bsuite-surface-subtle);
  border: 1px solid var(--bsuite-border);
  border-radius: 50%;
  color: var(--bsuite-primary-600);
  display: flex;
  height: 4rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 4rem;
}
.bs-auth-status__icon .bs-icon { height: 1.75rem; width: 1.75rem; }
.bs-auth-status__icon--warning {
  background: var(--bsuite-status-pending-bg);
  color: var(--bsuite-status-pending-fg);
}
.bs-auth-status__icon--danger {
  background: var(--bsuite-status-cancelled-bg);
  color: var(--bsuite-status-cancelled-fg);
}
.bs-auth-status h1 {
  font-size: 1.75rem;
  font-weight: 750;
  margin: 0;
}
.bs-auth-status > p {
  color: var(--bsuite-text-muted);
  margin: 0.75rem auto 1.75rem;
  max-width: 25rem;
}
.bs-auth-status__actions {
  display: grid;
  gap: 0.75rem;
  width: 100%;
}

.bs-password-rules {
  background: var(--bsuite-surface-subtle);
  border: 1px solid var(--bsuite-border);
  border-radius: var(--bsuite-radius-card);
  display: grid;
  gap: 0.5rem;
  padding: 0.875rem;
}
.bs-password-rule {
  align-items: center;
  color: var(--bsuite-text-muted);
  display: flex;
  font-size: 0.75rem;
  gap: 0.5rem;
}
.bs-password-rule .bs-icon { height: 0.875rem; width: 0.875rem; }

@media (max-width: 1023px) {
  .bs-auth-shell { grid-template-columns: minmax(20rem, 0.75fr) minmax(28rem, 1.25fr); }
  .bs-auth-brand__message h2 { font-size: 2.25rem; }
}

@media (max-width: 767px) {
  .bs-auth-shell { display: block; }
  .bs-auth-brand { display: none; }
  .bs-auth-panel { min-height: 100vh; }
  .bs-auth-panel__tools { display: none; }
  .bs-auth-mobile-header {
    align-items: center;
    border-bottom: 1px solid var(--bsuite-border);
    display: flex;
    justify-content: space-between;
    padding: 0.875rem 1rem;
  }
  .bs-auth-content {
    align-self: start;
    padding: 2.5rem 1.25rem 2rem;
  }
  .bs-auth-footer { padding: 1rem; }
}

@media (max-width: 479px) {
  .bs-auth-header { margin-bottom: 1.5rem; }
  .bs-auth-header h1,
  .bs-auth-status h1 { font-size: 1.5rem; }
  .bs-auth-row { align-items: flex-start; flex-direction: column; gap: 0.5rem; }
}
