.auth-page {
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 132, 61, 0.08), transparent 32%),
    radial-gradient(circle at 82% 82%, rgba(185, 29, 43, 0.07), transparent 30%),
    #f5faf7;
  color: #101d18;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
}

.auth-brand-panel {
  background: linear-gradient(160deg, #071f17 0%, #0d2f24 55%, #181516 100%);
  color: #ffffff;
  padding: 48px 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 6px solid #b91d2b;
}

.auth-mak-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.auth-mak-card img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 16px;
  padding: 8px;
  flex: 0 0 auto;
}

.auth-mak-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.auth-mak-text .line-1,
.auth-mak-text .line-2 {
  font-size: 1.02rem;
  font-weight: 800;
}

.auth-project-name {
  margin-top: 36px;
}

.auth-project-name h1 {
  margin: 0 0 14px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.auth-project-name p {
  margin: 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  font-size: 1.05rem;
}

.auth-collab {
  margin-top: 42px;
}

.auth-collab-label {
  color: #f2c75c;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.auth-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.auth-logo-tile {
  min-width: 74px;
  height: 56px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}

.auth-logo-tile img {
  max-height: 42px;
  max-width: 190px;
  object-fit: contain;
}

.auth-footer-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.45;
  margin-top: 40px;
}

.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 34px;
}

.auth-card {
  width: min(100%, 540px);
  background: #ffffff;
  border: 1px solid #dce5dc;
  border-radius: 28px;
  padding: 38px 40px 34px;
  box-shadow: 0 24px 70px rgba(8, 38, 24, 0.12);
}

.auth-card-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.auth-card-logo img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid #e2e8e2;
  border-radius: 16px;
  padding: 7px;
  flex: 0 0 auto;
}

.auth-card-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.auth-card-logo-text .line-1,
.auth-card-logo-text .line-2 {
  color: #00843d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-card h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #101d18;
}

.auth-card p {
  margin: 0 0 22px;
  color: #516158;
  font-size: 1rem;
  line-height: 1.5;
}

.auth-account {
  margin-bottom: 22px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f5faf7;
  border: 1px solid #dbe8df;
  color: #26352d;
}

.auth-card form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.auth-card label {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4c5b53;
  margin-top: 8px;
}

.auth-card input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #d7dfd7;
  border-radius: 15px;
  padding: 0 15px;
  font-size: 1rem;
  color: #101d18;
  background: #ffffff;
  box-sizing: border-box;
}

.auth-card input:focus {
  outline: none;
  border-color: #00843d;
  box-shadow: 0 0 0 4px rgba(0, 132, 61, 0.13);
}

.auth-card button {
  min-height: 54px;
  margin-top: 12px;
  border: 0;
  border-radius: 15px;
  background: #00843d;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

.auth-card button:hover {
  background: #006f34;
}

.auth-links {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.auth-links a {
  color: #006f34;
  font-weight: 700;
  text-decoration: none;
}

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

.auth-flash,
.auth-card .flash {
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 14px;
  background: #fff5f5;
  border: 1px solid #f0c6c6;
  color: #b42318;
  line-height: 1.45;
}

.auth-mini-note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e7eee7;
  color: #69766d;
  font-size: 0.86rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    padding: 28px 24px;
    border-right: 0;
    border-bottom: 5px solid #b91d2b;
  }

  .auth-project-name {
    margin-top: 26px;
  }

  .auth-project-name h1 {
    font-size: 2.4rem;
  }

  .auth-footer-note {
    margin-top: 24px;
  }

  .auth-form-panel {
    padding: 32px 18px;
  }
}

@media (max-width: 560px) {
  .auth-card {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .auth-logo-tile {
    width: 100%;
    justify-content: flex-start;
  }
}
