/* Nebula Social Login - minimal styles, theme-friendly */

.nsl-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 12px 0;
}

.nsl-sep::before,
.nsl-sep::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(148, 163, 184, 0.35);
}

.nsl-sep > span {
  font-size: 12px;
  font-weight: 700;
  color: rgba(100, 116, 139, 0.95);
}

.nsl-sep--tight {
  margin-top: 18px;
}

.nsl-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nsl-buttons--stack {
  flex-direction: column;
}

.nsl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 1);
  background: rgba(255, 255, 255, 0.85);
  color: #0f172a;
  text-decoration: none;
  font-weight: 750;
  min-width: 180px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

/* Client login page: match staff button layout (full-width, stacked, left-aligned) */
.login-form .nsl-buttons {
  flex-direction: column;
  flex-wrap: nowrap;
}

.login-form .nsl-btn {
  width: 100%;
  min-width: 0;
  justify-content: flex-start;
  padding: 12px 14px;
}

.login-form .nsl-ico {
  width: 32px;
  height: 32px;
  border-radius: 12px;
}

/* Register page: same stacked layout */
#register-form .nsl-buttons {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}

#register-form .nsl-btn {
  width: 380px;
  min-width: 0;
  justify-content: flex-start;
  padding: 12px 14px;
  max-width: 100%;
}

#register-form .nsl-ico {
  width: 32px;
  height: 32px;
  border-radius: 12px;
}

/* Register page: when more than 2 providers, use a 2-column grid */
#register-form .nsl-buttons.nsl-buttons--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 12px 14px;
  align-items: stretch;
}

#register-form .nsl-buttons.nsl-buttons--grid .nsl-btn {
  width: 100%;
}

@media (max-width: 900px) {
  #register-form .nsl-buttons.nsl-buttons--grid {
    grid-template-columns: minmax(0, 380px);
  }
}

.nsl-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
  border-color: rgba(79, 70, 229, 0.25);
}

.nsl-ico {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.7);
}

.nsl-btn--google .nsl-ico {
  background: rgba(234, 67, 53, 0.12);
  color: rgba(234, 67, 53, 0.95);
}

.nsl-btn--facebook .nsl-ico {
  background: rgba(24, 119, 242, 0.12);
  color: rgba(24, 119, 242, 0.95);
}

/* Better spacing in staff auth form */
.login_admin .nsl-staff {
  margin-top: 10px;
}
