.login-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.login-shell {
  width: min(420px, 100%);
}

.login-card {
  background: #f8fbff;
  border: 1px solid #cfdbe8;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(10, 66, 125, 0.12);
  padding: 30px 22px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  text-align: center;
}

.login-card:hover {
  transform: translateY(-3px);
  border-color: #9cb9d4;
  box-shadow: 0 18px 40px rgba(10, 66, 125, 0.2);
}

.login-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}

.brand-logo {
  width: 168px;
  height: auto;
  object-fit: contain;
}

.login-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #0a427d;
  text-align: center;
}

.login-subtitle {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.35;
  color: #4f667f;
  text-align: center;
}

.social-button {
  width: 100%;
  max-width: 360px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #0b69b4 0%, #0a8a49 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
  box-shadow: 0 10px 22px rgba(0, 102, 179, 0.24);
  line-height: 1;
}

.social-button > span:last-child {
  display: inline-flex;
  align-items: center;
}

.social-button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.social-mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.social-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.login-error {
  min-height: 20px;
  margin: 2px 0;
  font-size: 12px;
  color: #c94668;
  text-align: center;
}

.login-footer {
  text-align: center;
  margin-top: 2px;
  color: #597088;
  font-size: 11px;
}

@media (max-width: 520px) {
  .login-page {
    padding: 16px;
  }

  .login-card {
    padding: 24px 16px 18px;
  }

  .brand-logo {
    width: 132px;
  }

  .login-title {
    font-size: 21px;
  }

  .login-subtitle {
    font-size: 12px;
  }

  .social-button {
    font-size: 13px;
    height: 42px;
  }

  .social-mark {
    width: 24px;
    height: 24px;
  }

  .login-footer {
    font-size: 11px;
  }
}
