/* Page 2 (auth/login) styles */
.auth-page {
  position: relative;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #ffffff;
  isolation: isolate;
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #F6F5F8;
  -webkit-mask-image: url("/page2/Cloud.png");
  -webkit-mask-repeat: repeat;
  -webkit-mask-size: 120px auto;
  -webkit-mask-position: 0 0;
  mask-image: url("/page2/Cloud.png");
  mask-repeat: repeat;
  mask-size: 120px auto;
  mask-position: 0 0;
  opacity: 0.09;
  pointer-events: none;
}

.auth-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #F6F5F8;
  -webkit-mask-image: url("/page2/Cloud.png");
  -webkit-mask-repeat: repeat;
  -webkit-mask-size: 180px auto;
  -webkit-mask-position: 60px 40px;
  mask-image: url("/page2/Cloud.png");
  mask-repeat: repeat;
  mask-size: 180px auto;
  mask-position: 60px 40px;
  opacity: 0.05;
  pointer-events: none;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 350px;
  height: 350px;
  border-radius: 44px;
  background: #1f8fe8;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 28px 28px 26px;
}

.auth-card__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
}

.auth-card__brand-icon {
  display: block;
  width: 58px;
  height: 42px;
  background-color: #F6F5F8;
  -webkit-mask-image: url("/page1/Vector.png");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
  mask-image: url("/page1/Vector.png");
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  opacity: 0.98;
}

.auth-card__brand-text {
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 44px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.auth-form {
  width: 100%;
  display: grid;
  gap: 18px;
}

.auth-input {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0 18px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  outline: none;
}

.auth-input::placeholder {
  color: rgba(0, 0, 0, 0.28);
}

.auth-input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.auth-submit {
  width: 170px;
  height: 52px;
  justify-self: center;
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #1f8fe8;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.auth-submit:hover {
  filter: brightness(1.02);
}

.auth-error {
  margin-top: 6px;
  margin-bottom: -6px;
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 12px;
  text-align: center;
}

