/* Seba Social Login: Google button blocks. */

.seba-sl {
  margin: 16px 0 0;
  text-align: center;
}

.seba-sl__sep {
  position: relative;
  margin: 0 0 16px;
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
}

.seba-sl__sep::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  border-top: 1px solid #e7e7e7;
}

.seba-sl__sep span {
  position: relative;
  padding: 0 16px;
  background: var(--seba-sl-sep-bg, #fff);
}

.seba-sl__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

/* Room for the Google button (large = 40 px) before it renders: no layout jump. */
.seba-sl__btn--google {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 44px;
}

/* Apple, "white with outline" (Apple Human Interface Guidelines), sized like Google's large button. */
.seba-sl__btn--apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #000;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  box-shadow: none;
}

.seba-sl__btn--apple:hover,
.seba-sl__btn--apple:focus-visible {
  background: #f2f2f2;
  color: #000;
}

.seba-sl__btn--apple:disabled {
  opacity: .5;
  cursor: default;
}

.seba-sl__apple-logo {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: -2px;
}

.seba-sl__btn.is-unavailable {
  display: none;
}

.seba-sl.is-busy .seba-sl__buttons {
  opacity: .5;
  pointer-events: none;
}

.seba-sl__error {
  margin: 8px 0 0;
  color: #b3261e;
  font-size: 13px;
  line-height: 1.4;
}

.seba-sl__note {
  max-width: 400px;
  margin: 8px auto 0;
  color: #6b6b6b;
  font-size: 12px;
  line-height: 1.4;
}

.seba-sl__note a {
  color: inherit;
  text-decoration: underline;
}

/* YITH popup: YITH gives its separator only a bottom margin. */
#yith-welrp .yith-welrp-social-sep {
  margin-top: 24px;
}

/* YITH popup: YITH prints its own button div for every social entry; ours replaces it. */
#yith-welrp #yith-welrp-seba-social-button {
  display: none;
}

#yith-welrp .yith-welrp-social > .seba-sl {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  cursor: default;
}

/* My account > Account details: connected accounts. */
.seba-sl-accounts {
  margin: 40px 0 0;
}

.seba-sl-accounts__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
}

.seba-sl-accounts__provider {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.seba-sl-accounts__status {
  color: #6b6b6b;
}

.seba-sl-accounts__action {
  min-width: 220px;
}

.seba-sl-accounts__provider .seba-sl__apple-logo {
  width: 20px;
  height: 20px;
}

.seba-sl-accounts__action .seba-sl {
  margin: 0;
}

.seba-sl-accounts__hint {
  margin: 12px 0 0;
  color: #6b6b6b;
  font-size: 13px;
}
