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

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

.provider-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;
}

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

.provider-button:hover {
  opacity: 0.85;
}

.login-section {
  margin: 32px 0;
  text-align: center;
}

.login-divider {
  position: relative;
  margin: 48px 0 24px 0;
}

.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #1d1d1d;
  z-index: 1;
}

.login-divider span {
  position: relative;
  background-color: #f6f6f6;
  padding: 0 20px;
  font-size: 14px;
  color: #1d1d1d;
  z-index: 2;
  display: inline-block;
  max-width: 80%;
}

.login-link {
  display: inline-block;
  color: #1d1d1d;
  text-decoration: underline;
  font-size: 16px;
  font-weight: bold;
}

.login-link:hover {
  opacity: 0.8;
}

.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;
}

h1 {
  padding-bottom: 42px;
  text-align: center;
}

p {
  text-align: center;
  line-height: 1.6;
  margin-bottom: 16px;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


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

  h1 {
    padding-bottom: 28px;
  }
}
