:root {
  --login-bg: #faf9f4;
  --login-text: #0a0a0a;
  --login-button-bg: #f3f7fd;
  --login-border: #0a0a0a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

.login-page {
  align-items: center;
  background: var(--login-bg);
  color: var(--login-text);
  display: flex;
  font-family: "Uncut Sans", sans-serif;
  justify-content: center;
  min-height: 100vh;
  padding: 32px;
}

.login-shell {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: center;
  max-width: 1240px;
  width: 100%;
}

.login-brand {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 463px;
  width: 469px;
}

.login-logo {
  display: block;
  height: auto;
  max-width: 100%;
  width: 469px;
}

.login-panel {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 674px;
  min-height: 463px;
  width: 100%;
}

.login-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 34px;
}

.login-form {
  width: 100%;
}

.google-btn {
  align-items: center;
  background: var(--login-button-bg);
  border: 1px solid var(--login-border);
  border-radius: 10px;
  color: var(--login-text);
  cursor: pointer;
  display: flex;
  font-family: "Uncut Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  gap: 8px;
  height: 36px;
  justify-content: center;
  margin: 0 auto;
  max-width: 387px;
  width: 100%;
}

.google-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.75;
}

.google-btn:hover {
  filter: brightness(0.98);
}

.google-btn:focus-visible {
  outline: 2px solid #005fcc;
  outline-offset: 2px;
}

.google-icon {
  -webkit-mask-image: url("/login-google-mask.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  background-image: url("/login-google-fill.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 16px;
  mask-image: url("/login-google-mask.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 16px;
}

.login-error {
  color: #b10000;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin: 14px 0 0;
  max-width: 387px;
  text-align: center;
}

@media (max-width: 900px) {
  .login-page {
    align-items: flex-start;
    padding: 16px;
  }

  .login-shell {
    flex-direction: column;
    gap: 44px;
    padding-top: 200px;
  }

  .login-brand {
    min-height: 200px;
    width: 200px;
  }

  .login-logo {
    width: 200px;
  }

  .login-panel {
    min-height: auto;
    width: 100%;
  }

  .login-title {
    font-size: 32px;
    line-height: 1;
    margin: 0 0 36px;
  }

  .google-btn {
    height: 36px;
    max-width: 203px;
  }

  .login-error {
    max-width: 260px;
  }
}
