/* Pyrk social signup/login polish - additive only */
.social-login-card {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.06));
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
}

.social-login-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.social-login-heading span {
  font-weight: 850;
  letter-spacing: -.02em;
  color: #fff;
}

.social-login-heading small {
  line-height: 1.45;
  color: rgba(255,255,255,.74);
}

.social-login-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.1);
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(0,0,0,.14);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.social-login-btn:hover,
.social-login-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(0,0,0,.18);
  border-color: rgba(28,124,84,.35);
}

.social-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 15px;
}

.is-google .social-icon {
  color: #fff;
  background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
}

.is-microsoft .social-icon {
  color: #fff;
  background: linear-gradient(135deg, #f25022 0 25%, #7fba00 25% 50%, #00a4ef 50% 75%, #ffb900 75% 100%);
}

.social-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.social-divider::before,
.social-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,.18);
}

.password-field-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.password-field-wrap input {
  width: 100%;
  padding-right: 118px !important;
}

.password-toggle-btn {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 86px !important;
  min-height: 38px !important;
  padding: 0 13px !important;
  border: 1px solid rgba(15,127,85,.18) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #ffffff, #ecfdf3) !important;
  color: #0f7f55 !important;
  font-size: 12px !important;
  font-weight: 1000 !important;
  letter-spacing: .01em !important;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15,23,42,.10) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease !important;
  -webkit-tap-highlight-color: transparent !important;
}

.password-toggle-btn svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  fill: currentColor !important;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
  background: linear-gradient(135deg, #ecfdf3, #ffffff) !important;
  border-color: rgba(15,127,85,.38) !important;
  outline: 3px solid rgba(15,127,85,.16) !important;
}

.password-toggle-btn[aria-pressed="true"] {
  color: #0f5132 !important;
  background: linear-gradient(135deg, #d1fae5, #ffffff) !important;
  border-color: rgba(15,127,85,.36) !important;
}

.password-toggle-btn:active {
  transform: translateY(-50%) scale(.97) !important;
}

.oauth-error-card {
  width: min(520px, calc(100vw - 30px));
  margin: 10vh auto;
  padding: 28px;
  border-radius: 28px;
  color: #0f172a;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15,23,42,.22);
  text-align: center;
}

.oauth-error-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #e9f8f0;
  color: #087f5b;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 12px;
}

.oauth-error-card h1 {
  margin: 16px 0 8px;
  font-size: 28px;
  letter-spacing: -.03em;
}

.oauth-error-card p {
  color: #475569;
  line-height: 1.6;
}

@media (min-width: 560px) {
  .social-login-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .social-login-card {
    padding: 14px;
    border-radius: 18px;
  }

  .social-login-btn {
    justify-content: flex-start;
  }
}
