.auth-shell {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px;
    box-sizing: border-box;
    overflow: hidden;
}

.auth-card {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.auth-logo {
  display: block;
  width: min(90vw, 300px);
  max-width: 300px;
  height: auto;
  margin: 0 auto;
}

.auth-footer {
  width: 100%;
  max-width: 380px;
  margin: auto auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  padding-top: 12px;
  font-size: 0.9rem;
}

.auth-btn {
  width: 100%;
  min-height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.auth-btn:hover,
.auth-btn:focus {
  text-decoration: none;
}

.auth-entry-page {
  margin: 0;
  background: #0f0f10;
  color: #ffffff;
  overflow: hidden;
}

.auth-entry-shell {
  padding-top: 56px;
}

.auth-entry-lead {
  margin: clamp(40px, 12vh, 100px);
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.92rem, 4.8vw, 1.05rem);
  white-space: nowrap;
}

.auth-entry-actions {
  display: grid;
  gap: 14px;
}

.auth-btn-light {
  color: #111111;
  background: #f2f2f4;
  border: 1px solid #f2f2f4;
}

.auth-btn-light:hover {
  color: #111111;
  background: #e6e6ea;
  border-color: #e6e6ea;
}

.auth-btn-outline {
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
}

.auth-btn-outline:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.55);
}

.auth-form-page {
  margin: 0;
  background: #ffffff;
  color: #111111;
  overflow-x: hidden;
  overflow-y: auto;
}

.auth-form-page main,
.auth-entry-page main {
  padding-bottom: 0;
}

.auth-form-shell {
  padding-top: 56px;
}

.auth-form-shell .auth-logo {
  margin-bottom: 100px;
}

.auth-form-shell .auth-footer {
  border-top-color: rgba(0, 0, 0, 0.2);
  color: rgba(0, 0, 0, 0.72);
}

/*.auth-logo-black {
  margin-bottom: 36px;
}
*/
.auth-form-title {
  margin: 0 0 26px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
}

.auth-login-lead {
  margin: 0 0 26px;
  text-align: center;
  color: rgba(0, 0, 0, 0.88);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.auth-form .form-label {
  display: none;
}

.ilford-form .form-control {
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.auth-input-group .form-control {
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.auth-input-icon {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-right: 0;
  color: rgba(0, 0, 0, 0.34);
}

.auth-input-group:focus-within .auth-input-icon,
.auth-input-group:focus-within .form-control {
  border-color: rgba(0, 0, 0, 0.62);
}

.auth-input-group .form-control:focus {
  box-shadow: none;
}

.auth-input-group:focus-within {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.ilford-form .form-check-label {
  color: rgba(0, 0, 0, 0.88);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.ilford-form .form-check-input {
  border: 1px solid rgba(0, 0, 0, 0.35);
  background-color: #ffffff;
}

.ilford-form .form-check-input:checked {
  border-color: #111111;
  background-color: #111111;
}

.ilford-form .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}
.ilford-form .form-control:focus {
  border-color: rgba(0, 0, 0, 0.62);
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.1);
}

.auth-form .auth-input-group .form-control:focus {
  box-shadow: none;
}

.auth-login-links {
  margin-top: 14px;
  margin-bottom: 14px;
  display: grid;
  gap: 8px;
}

.auth-login-links a {
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.95rem;
  text-decoration: underline;
}

.auth-login-links a:hover {
  color: #111111;
}

.auth-btn-dark {
  color: #ffffff;
  background: #111111;
  border: 1px solid #111111;
}

.auth-btn-dark:hover {
  color: #ffffff;
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.auth-form .text-danger {
  color: #d8394b !important;
}

@media (min-width: 992px) {
  .auth-shell {
    padding: 40px;
  }

  .auth-logo {
    width: min(70vw, 400px);
    max-width: 460px;
  }

  .auth-card,
  .auth-footer {
    max-width: 420px;
  }

  .auth-form-title {
    font-size: 1.5rem;
  }
}
