/**
 * Social login buttons on /user/login and /user/register.
 * Full-width rectangles matching the Log in submit button.
 */

.social-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  margin: 0 0 1rem;
}

.social-login-divider {
  margin: 0 0 1.5rem;
  color: #4b5563;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

.captcha.captcha-type-challenge--turnstile {
  min-inline-size: 0;
  margin-top: 1.5rem;
  padding: 0;
  border: 0;
}

.captcha.captcha-type-challenge--turnstile > .captcha__title {
  display: none;
}

.captcha.captcha-type-challenge--turnstile > .captcha__description {
  display: none;
}

.login-signup-prompt {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: 2.5rem;
  color: #4b5563;
  line-height: 1.5;
  text-align: center;
}

.login-signup-prompt__link {
  color: var(--gin-color-primary, #c45100);
  font-weight: 600;
  text-decoration: none;
}

.login-signup-prompt__link:hover,
.login-signup-prompt__link:focus {
  color: var(--gin-color-primary-hover, #9e4100);
  text-decoration: underline;
}

body.gin-login .user-form-page .user-login-form .more-links > .link--more {
  width: 100%;
  text-align: center;
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem 1rem;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.social-login-btn:hover,
.social-login-btn:focus {
  background: #f5f7fa;
  color: #1f2937;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.social-login-btn__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
