.nxsl {
  --nxsl-border: #d9dde5;
  --nxsl-text: #15171b;
  --nxsl-muted: #6b7280;
  --nxsl-bg: #fff;
  width: 100%;
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--nxsl-text);
  font: inherit;
}

.nxsl-context-checkout,
.nxsl-context-checkout-block {
  max-width: none;
  padding: 22px;
  border: 1px solid var(--nxsl-border);
  background: var(--nxsl-bg);
  box-sizing: border-box;
}

.nxsl__heading {
  margin: 0 0 13px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.nxsl__buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.nxsl-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, background-color .15s ease, opacity .15s ease;
}

.nxsl-button:hover { transform: translateY(-1px); opacity: .94; }
.nxsl-button:focus-visible { outline: 3px solid rgba(39, 107, 255, .28); outline-offset: 2px; }
.nxsl-button__icon { width: 20px; height: 20px; flex: 0 0 20px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.nxsl-button__icon svg { width: 20px; height: 20px; display: block; }

.nxsl__separator {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px 0 0;
  color: var(--nxsl-muted);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}
.nxsl__separator::before,
.nxsl__separator::after { content: ""; height: 1px; flex: 1; background: var(--nxsl-border); }
.nxsl__separator span { white-space: nowrap; }

/* Szablon 1: pełne kolory marek */
.nxsl--brand .nxsl-button--google { background: #fff; color: #202124; border-color: #dadce0; }
.nxsl--brand .nxsl-button--facebook { background: #1877f2; color: #fff; }
.nxsl--brand .nxsl-button--apple { background: #000; color: #fff; }
.nxsl--brand .nxsl-button--microsoft { background: #fff; color: #2f2f2f; border-color: #8c8c8c; }

/* Szablon 2: neutralny outline */
.nxsl--outline .nxsl-button { background: #fff; color: #1b1e24; border-color: #cbd0d8; }
.nxsl--outline .nxsl-button--facebook .nxsl-button__icon { color: #1877f2; }
.nxsl--outline .nxsl-button--apple .nxsl-button__icon { color: #111; }
.nxsl--outline .nxsl-button:hover { border-color: #8d96a5; background: #f8f9fb; }

/* Szablon 3: same ikony */
.nxsl--icons .nxsl__buttons { display: flex; flex-wrap: wrap; }
.nxsl--icons .nxsl-button { width: 48px; min-height: 48px; padding: 0; border-radius: 8px; background: #fff; border-color: #d5d9e0; color: #111; }
.nxsl--icons .nxsl-button__label { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.nxsl--icons .nxsl-button--facebook { background: #1877f2; color: #fff; border-color: #1877f2; }
.nxsl--icons .nxsl-button--apple { background: #000; color: #fff; border-color: #000; }

/* Szablon 4: monochromatyczny */
.nxsl--mono .nxsl-button { background: #111; color: #fff; border-color: #111; }
.nxsl--mono .nxsl-button__icon svg path { fill: currentColor; }
.nxsl--mono .nxsl-button:hover { background: #303238; border-color: #303238; }

.nxsl-notice {
  margin: 0 0 15px;
  padding: 12px 14px;
  border-left: 4px solid #c9252d;
  background: #fff4f4;
  color: #76171c;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 600px) {
  .nxsl__buttons { grid-template-columns: 1fr; }
  .nxsl-context-checkout,
  .nxsl-context-checkout-block { padding: 16px; }
  .nxsl--icons .nxsl__buttons { display: flex; }
}
