main {
  width: 100%;
  max-width: 600px;
  padding: 32px 16px;
  gap: 16px;
  margin: 0 auto;
}

.login-buttons {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  margin-bottom: 24px;
}

.sign-in-button {
  background-color: #1d1d1d;
  color: #f6f6f6;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 42px;
  height: 52px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: opacity 0.2s;
  box-sizing: border-box;
}

.sign-in-button img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.sign-in-button:hover {
  opacity: 0.85;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none;
}

.help-image {
  margin: 24px auto 0;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background-image: url("/images/help_login_sp.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

h1 {
  padding-bottom: 42px;
}

@media (min-width: 769px) {
  main {
    padding: 64px 64px;
    gap: 64px;
  }

  h1 {
    padding-bottom: 0;
  }

  .help-image {
    margin: 128px auto 0;
    background-image: url("/images/help_login.svg");
  }
}
