.loginWrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.08), transparent 32%),
    linear-gradient(315deg, rgba(59, 130, 246, 0.1), transparent 34%),
    var(--bg);
}

.loginShell {
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  align-items: stretch;
}

.loginIntro,
.loginCard {
  min-height: 520px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
}

.loginIntro {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(17, 24, 39, 0.98), rgba(41, 52, 77, 0.92)),
    radial-gradient(circle at 72% 18%, rgba(126, 227, 210, 0.22), transparent 34%);
}

.loginIntro::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 290px;
  height: 290px;
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(18deg);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.32), rgba(126, 227, 210, 0.18));
}

.loginBrand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #fff;
  text-decoration: none;
}

.loginBrand:hover {
  text-decoration: none;
}

.loginBrand__mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}

.loginBrand__text {
  font-size: 15px;
  font-weight: 750;
}

.loginIntro__copy {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.loginEyebrow,
.loginCard__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.loginEyebrow {
  color: #7ee3d2;
}

.loginIntro h1 {
  margin: 0;
  max-width: 440px;
  font-size: 40px;
  line-height: 1.05;
}

.loginIntro p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  line-height: 1.7;
}

.loginCard {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 30px;
}

.loginCard__header {
  margin-bottom: 20px;
}

.loginCard__kicker {
  color: var(--primary);
}

.loginCard h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 25px;
  line-height: 1.2;
}

.loginCard p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.authSwitch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 22px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f3f4f6;
}

.authSwitch__tab {
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.authSwitch__tab:hover {
  color: var(--text);
}

.authSwitch__tab.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
}

.googleAuthPanel {
  display: grid;
  gap: 12px;
}

.googleButtonWrap {
  min-height: 44px;
  display: grid;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.googleButtonWrap > div {
  max-width: 100%;
}

.authHint {
  padding: 12px 14px;
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.07);
}

.error {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.45;
}
