html.h-full,
body.h-full {
  min-height: 100%;
}

body.login-auth-page {
  margin: 0;
  background: #ffffff;
  color: #111827;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login-auth-shell {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.login-auth-card {
  width: 100%;
  max-width: 24rem;
}

.login-auth-card > * + * {
  margin-top: 2.5rem;
}

.login-auth-header {
  text-align: center;
}

.login-auth-logo {
  display: block;
  width: auto;
  height: 2.5rem;
  margin: 0 auto;
}

.login-auth-title {
  margin: 2.5rem 0 0;
  color: #111827;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 2.25rem;
  letter-spacing: -0.025em;
  text-align: center;
}

.login-auth-form > * + * {
  margin-top: 1.5rem;
}

.login-auth-fields {
  width: 100%;
}

.login-auth-input {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  outline: 1px solid transparent;
  outline-offset: -1px;
}

.login-auth-input::placeholder {
  color: #9ca3af;
}

.login-auth-input:focus {
  z-index: 2;
  outline: 2px solid #4f46e5;
  outline-offset: -2px;
}

.login-auth-input.is-top {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.login-auth-input.is-bottom {
  margin-top: -1px;
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

.login-auth-input.is-single {
  border-radius: 0.375rem;
}

.login-auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.login-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.login-check-control {
  position: relative;
  display: grid;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.login-check-input {
  appearance: none;
  margin: 0;
  width: 1rem;
  height: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.125rem;
  background: #ffffff;
  grid-area: 1 / 1;
}

.login-check-input:checked {
  border-color: #4f46e5;
  background: #4f46e5;
}

.login-check-input:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

.login-check-icon {
  pointer-events: none;
  grid-area: 1 / 1;
  align-self: center;
  justify-self: center;
  width: 0.875rem;
  height: 0.875rem;
  stroke: #ffffff;
  opacity: 0;
}

.login-check-input:checked + .login-check-icon {
  opacity: 1;
}

.login-check-label,
.login-auth-link-wrap,
.login-auth-footer {
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.login-check-label {
  color: #111827;
}

.login-auth-link-wrap {
  text-align: right;
}

.login-auth-link {
  color: #0273d4;
  font-weight: 600;
  text-decoration: none;
}

.login-auth-link:hover {
  color: #015ca8;
}

.login-auth-submit {
  display: flex;
  width: 100%;
  justify-content: center;
  border: 0;
  border-radius: 0.375rem;
  background: #0273d4;
  color: #ffffff;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.login-auth-submit:hover {
  background: #015ca8;
}

.login-auth-submit:focus-visible {
  outline: 2px solid #0273d4;
  outline-offset: 2px;
}

.login-auth-footer {
  color: #6b7280;
  text-align: center;
}

.cp-flash-stack {
  margin-top: 0;
}

@media (min-width: 640px) {
  .login-auth-shell {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .login-auth-input {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .login-auth-shell {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
