/* Auth screens — informative split, quiet authority */

.auth-page {
  min-height: 100%;
  display: grid;
  background:
    radial-gradient(ellipse 90% 60% at 0% 0%, rgba(23, 107, 103, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 100%, rgba(23, 32, 42, 0.05), transparent 50%),
    linear-gradient(180deg, #f3f0e8 0%, #f7f5f0 45%, #faf9f6 100%);
}

@media (min-width: 960px) {
  .auth-page {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    min-height: 100vh;
  }
}

.auth-aside {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 3rem;
  border-right: 1px solid rgba(23, 32, 42, 0.08);
  background:
    linear-gradient(165deg, rgba(238, 248, 247, 0.75) 0%, rgba(255, 255, 255, 0.35) 55%, transparent 100%);
}

@media (min-width: 960px) {
  .auth-aside { display: flex; }
}

.auth-aside-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #17202a;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.auth-aside-brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.45rem;
  object-fit: contain;
}

.auth-aside-body { max-width: 26rem; margin: 3rem 0; }

.auth-aside-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #176b67;
}

.auth-aside-title {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: #17202a;
}

.auth-aside-lead {
  margin: 1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #52606d;
}

.auth-points {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.auth-points li {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(23, 107, 103, 0.22);
}

.auth-points strong {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #17202a;
  letter-spacing: -0.015em;
}

.auth-points span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #52606d;
}

.auth-aside-foot {
  font-size: 0.8rem;
  color: #52606d;
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
}

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

.auth-mobile-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 960px) {
  .auth-mobile-brand { display: none; }
}

.auth-mobile-brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #17202a;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
}

.auth-mobile-brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  object-fit: contain;
}

.auth-mobile-brand p {
  margin: 0;
  font-size: 0.9rem;
  color: #52606d;
  line-height: 1.45;
}

.auth-card-title {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #17202a;
}

.auth-card-sub {
  margin: 0.4rem 0 1.5rem;
  font-size: 0.92rem;
  color: #52606d;
  line-height: 1.45;
}

.auth-panel {
  border-radius: 0.85rem;
  border: 1px solid rgba(23, 32, 42, 0.1);
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(23, 32, 42, 0.06);
  backdrop-filter: blur(6px);
}

.auth-panel .fp-form { /* reuse spacing */ }

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

.auth-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 550;
  margin-bottom: 0.35rem;
  color: #1f2933;
}

.auth-field input {
  width: 100%;
  border: 1px solid rgba(23, 32, 42, 0.15);
  border-radius: 0.4rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  background: #fff;
  color: #1f2933;
}

.auth-field input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(42, 140, 134, 0.35);
  border-color: rgba(23, 107, 103, 0.45);
}

.auth-password {
  position: relative;
}

.auth-password input {
  padding-right: 4.25rem;
}

.auth-password-toggle {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #52606d;
  font-size: 0.75rem;
  font-weight: 650;
  padding: 0.35rem 0.5rem;
  border-radius: 0.3rem;
  cursor: pointer;
}

.auth-password-toggle:hover {
  color: #176b67;
  background: #eef8f7;
}

.auth-errors {
  color: #9b3c3c;
  font-size: 0.8rem;
  margin: 0 0 0.35rem;
  list-style: none;
  padding: 0;
}

.auth-error-banner {
  margin-bottom: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.4rem;
  background: #f8e5e5;
  border: 1px solid rgba(155, 60, 60, 0.16);
  color: #9b3c3c;
  font-size: 0.875rem;
}

.auth-submit {
  width: 100%;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 0.45rem;
  background: #176b67;
  color: #fff;
  font-size: 0.925rem;
  font-weight: 650;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

.auth-submit:hover { background: #0f4f4c; }

.auth-foot {
  margin-top: 1.15rem;
  font-size: 0.875rem;
  color: #52606d;
  text-align: center;
}

.auth-foot a {
  color: #176b67;
  font-weight: 600;
  text-decoration: none;
}

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

.auth-hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #52606d;
}
