/**
 * Social login icons — shared by OPC + native /logowanie.
 * Order in templates: shop login form → „lub” → icons.
 */
.iac-social {
  margin: 18px 0 0;
  width: 100%;
}

.iac-social__row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.iac-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #d5dade;
  border-radius: 8px;
  background: #fff;
  color: #18181a !important;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.iac-social__btn:hover {
  background: #f7f7f7;
  border-color: #b8bec0;
}

.iac-social__btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.iac-social__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.iac-social__btn--facebook .iac-social__icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231877F2' d='M24 12.07C24 5.41 18.63 0 12 0S0 5.41 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.04V9.41c0-3.02 1.79-4.7 4.54-4.7 1.31 0 2.68.24 2.68.24v2.97h-1.51c-1.49 0-1.95.93-1.95 1.89v2.26h3.32l-.53 3.49h-2.79V24C19.61 23.1 24 18.1 24 12.07'/%3E%3C/svg%3E");
}

.iac-social__btn--google .iac-social__icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23EA4335' d='M12 10.2v3.6h5.1c-.2 1.2-1.5 3.6-5.1 3.6-3.1 0-5.6-2.5-5.6-5.6S8.9 6.2 12 6.2c1.7 0 2.9.7 3.6 1.4l2.4-2.4C16.7 3.9 14.5 3 12 3 7 3 3 7 3 12s4 9 9 9c5.2 0 8.6-3.6 8.6-8.8 0-.6-.1-1-.1-1.5H12z'/%3E%3Cpath fill='%2334A853' d='M3.9 14.6l3 2.3C7.8 19.3 9.7 21 12 21c2.4 0 4.4-1.1 5.4-2.6l-3.1-2.4c-.8.6-1.8.9-2.9.9-2.2 0-4.1-1.5-4.8-3.5'/%3E%3Cpath fill='%23FBBC05' d='M12 6.2c1.3 0 2.5.5 3.4 1.3l2.5-2.5C16.4 3.7 14.4 3 12 3 9.1 3 6.6 4.7 5.4 7.2l3 2.3C9 7.6 10.4 6.2 12 6.2'/%3E%3Cpath fill='%234285F4' d='M21.6 12.2c0-.6-.1-1-.1-1.5H12v3.6h5.1c-.3 1.3-1.1 2.3-2.2 3l3.1 2.4c1.9-1.7 3.6-4.4 3.6-7.5'/%3E%3C/svg%3E");
}

.iac-social__btn--apple .iac-social__icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M16.4 12.6c0-2.1 1.7-3.1 1.8-3.2-1-1.4-2.5-1.6-3-1.7-1.3-.1-2.5.8-3.1.8-.7 0-1.7-.7-2.8-.7-1.4 0-2.8.9-3.5 2.2-1.5 2.6-.4 6.5 1.1 8.6.7 1 1.6 2.2 2.7 2.1 1.1 0 1.5-.7 2.8-.7s1.7.7 2.8.7c1.2 0 1.9-1 2.6-2 .8-1.2 1.1-2.3 1.1-2.4-.1 0-2.2-.8-2.2-3.7zm-2-5.9c.6-.7 1-1.7.9-2.7-0.9.0-1.9.6-2.5 1.3-.6.6-1.1 1.7-.9 2.6 1 .1 1.9-.5 2.5-1.2z'/%3E%3C/svg%3E");
}

.iac-social__or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 14px;
  color: #8a9095;
  font-size: 12px;
  text-transform: lowercase;
}

.iac-social__or::before,
.iac-social__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e8e8e8;
}

.iac-social__or span {
  flex: 0 0 auto;
}

#authentication .iac-social--standalone {
  margin: 20px 0 0;
}

#authentication .iac-social__or {
  margin: 20px 0 16px;
  color: #9a9a9a;
  text-transform: none;
}

#authentication .iac-social__or::before,
#authentication .iac-social__or::after {
  background: #d0d0d0;
}

#authentication .iac-social__row {
  justify-content: center;
}
