/* Login / registration pages — the consolidated sign-in experience.
   Built to match the live auth screens: a centred card on a white page,
   labels above inputs, a purple primary button, magenta text links. */

.auth-page {
  background: #ffffff;
  padding: 3.5rem 1.25rem 4.5rem;
}

.auth-intro {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 2.5rem;
}

.auth-intro__title {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #282937;
  margin: 0 0 1rem;
}

.auth-intro__title sup {
  font-size: 0.6em;
}

.auth-intro__text {
  font-size: 1rem;
  color: #282937;
  margin: 0;
}

.auth-card {
  max-width: 30rem;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e5e6;
  border-radius: 8px;
  overflow: hidden;
}

.auth-card__logo {
  display: flex;
  justify-content: center;
  padding: 1.75rem 1.5rem;
  border-bottom: 1px solid #e5e5e6;
}

.auth-card__logo img {
  height: 1.9rem;
  width: auto;
}

.auth-card__body {
  padding: 2rem 2.25rem 2.5rem;
}

.auth-card__title {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #282937;
  margin: 0 0 1.5rem;
}

.auth-card__hint {
  font-size: 0.9375rem;
  color: #5c5c66;
  margin: 0 0 1.5rem;
}

.auth-field {
  margin-bottom: 1.25rem;
}

.auth-field__label {
  display: block;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #282937;
  margin-bottom: 0.4rem;
}

.auth-field__label .auth-field__optional {
  float: right;
  font-weight: 400;
  color: #6c6c76;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input {
  width: 100%;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #282937;
  padding: 0.75rem 0.875rem;
  border: 1px solid #767676;
  border-radius: 4px;
  background: #ffffff;
}

.auth-input:focus {
  outline: 2px solid #0091bd;
  outline-offset: -1px;
  border-color: #0091bd;
}

.auth-input.has-error {
  border-color: #a4103c;
}

.auth-input--select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath fill='%23282937' d='M8.8.2L5 4 1.2.2 0 1.3l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.25rem;
  color: #5c5c66;
}

.auth-toggle {
  position: absolute;
  right: 0.5rem;
  background: none;
  border: 0;
  padding: 0.35rem;
  cursor: pointer;
  color: #5c5c66;
  display: inline-flex;
}

.auth-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.auth-btn {
  display: block;
  width: 100%;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  color: #ffffff;
  background: #8e4585;
  border: 1px solid #8e4585;
  border-radius: 4px;
  padding: 0.85rem 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.auth-btn:hover,
.auth-btn:focus {
  background: #72246c;
  border-color: #72246c;
}

.auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-links {
  margin-top: 1.5rem;
}

.auth-links a,
.auth-link {
  display: inline-block;
  color: #8e4585;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.auth-links a:hover,
.auth-link:hover {
  text-decoration: underline;
  color: #72246c;
}

.auth-links--stacked a {
  display: block;
}

.auth-divider {
  border: 0;
  border-top: 1px solid #e5e5e6;
  margin: 0.5rem 0 1.25rem;
}

.auth-alt {
  font-size: 1rem;
  color: #282937;
}

.auth-alt a {
  color: #8e4585;
  text-decoration: none;
}

.auth-alt a:hover {
  text-decoration: underline;
}

/* Radio / checkbox groups */

.auth-group__legend {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #282937;
  margin: 1.25rem 0 0.625rem;
}

.auth-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: #282937;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.auth-choice input {
  margin-top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #72246c;
  flex: 0 0 auto;
}

.auth-consent {
  font-size: 0.9375rem;
  color: #282937;
  margin: 0.5rem 0 1rem;
}

.auth-consent a {
  color: #8e4585;
}

/* Live password requirement checklist */

.auth-reqs__title {
  font-size: 0.9375rem;
  color: #282937;
  margin: 1rem 0 0.5rem;
}

.auth-reqs {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.auth-reqs li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: #5c5c66;
  margin-bottom: 0.35rem;
}

.auth-reqs li::before {
  content: "\00d7";
  display: inline-flex;
  justify-content: center;
  width: 1.1rem;
  color: #a4103c;
  font-weight: 700;
}

.auth-reqs li.met {
  color: #1f7a3d;
}

.auth-reqs li.met::before {
  content: "\2713";
  color: #1f7a3d;
}

/* Inline form feedback */

.auth-message {
  display: none;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.auth-message.is-shown {
  display: block;
}

.auth-message--error {
  background: #fdeaee;
  color: #a4103c;
  border: 1px solid #f3c6d0;
}

.auth-message--success {
  background: #e9f7ee;
  color: #1f7a3d;
  border: 1px solid #bfe5cd;
}

.auth-field__error {
  display: none;
  font-size: 0.8125rem;
  color: #a4103c;
  margin-top: 0.3rem;
}

.auth-field__error.is-shown {
  display: block;
}

/* Steps + guarantees below the card */

.auth-steps {
  text-align: center;
  max-width: 40rem;
  margin: 2rem auto 0;
  color: #282937;
}

.auth-steps p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.auth-assurances {
  background: #f8f8f8;
  border-top: 1px solid #e5e5e6;
  margin-top: 3.5rem;
}

.auth-assurances__inner {
  max-width: 1127px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.auth-assurance {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.auth-assurance svg {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  fill: #282937;
  margin-top: 0.15rem;
}

.auth-assurance h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #282937;
}

.auth-assurance p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #5c5c66;
  margin: 0;
}

.auth-assurance a {
  color: #8e4585;
}

@media only screen and (max-width: 768px) {
  .auth-assurances__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media only screen and (max-width: 560px) {
  .auth-card__body {
    padding: 1.5rem 1.25rem 2rem;
  }
}

/* Auth footer matching existing dark footer */
.auth-footer {
  background: #282937;
  color: #ffffff;
  padding: 2.5rem 1.5rem;
  margin-top: 0;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

.auth-footer__inner {
  max-width: 1127px;
  margin: 0 auto;
}

.auth-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.auth-footer__text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #ffffff;
  margin: 0;
}

.auth-footer__link-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-footer__link-row a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8125rem;
}

.auth-footer__link-row a:hover {
  text-decoration: underline;
}

.auth-footer__sep {
  color: #6c6c76;
  font-size: 0.75rem;
}

.auth-footer__ca a {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.auth-footer__ca a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 768px) {
  .auth-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


