/* Sign-in pages: brand panel beside a clean form, in the same language as the team's panel. */
body.auth {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  background: #fff;
  color: #2b1216;
  font-family: Inter, 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
}
.auth-brand {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2rem;
  padding: 3rem 2rem;
  background: var(--wine-deep);
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}
.auth-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/brand/pattern-wine.webp') 0 0 / 30rem 30rem;
  opacity: 0.6;
}
.auth-brand > * {
  position: relative;
}
.auth-brand img {
  display: block;
  width: clamp(11rem, 20vw, 16rem);
  height: auto;
}
.auth-brand p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.2;
}
.auth-main {
  display: grid;
  place-items: center;
  align-content: center;
  padding: 3rem clamp(1.25rem, 5vw, 4rem);
}
.auth-box {
  display: grid;
  gap: 1rem;
  width: min(100%, 24rem);
}
.auth-box h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
}
.auth-box > p {
  color: #75625f;
}
.auth-box form {
  display: grid;
  gap: 1rem;
  margin-top: 0.5rem;
}
.auth-box label {
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 500;
}
.auth-box input[type='email'] {
  padding: 0.75rem 0.85rem;
  border: 1px solid rgb(54 19 25 / 0.18);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-box input[type='email']:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgb(176 141 87 / 0.2);
  outline: none;
}
.auth-box .btn {
  justify-self: stretch;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--wine-deep);
  border-radius: 10px;
  background: var(--wine-deep);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  transition: background 0.15s, border-color 0.15s;
}
.auth-box .btn:hover {
  border-color: var(--wine);
  background: var(--wine);
}
@media (max-width: 760px) {
  body.auth {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }
  .auth-brand {
    gap: 0.9rem;
    padding: 2rem 1.25rem;
  }
  .auth-brand img {
    width: 8.5rem;
  }
  .auth-brand p {
    font-size: 1.15rem;
  }
  .auth-main {
    align-content: start;
    padding-top: 2.25rem;
  }
}
