.wallet-sso-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.wallet-sso-btn:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.wallet-sso-logo {
  height: 24px;
  width: auto;
  display: block;
}

.wallet-sso-modal[aria-hidden="true"] {
  display: none;
}
.wallet-sso-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallet-sso-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.wallet-sso-box {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  max-width: 420px;
  width: 95%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  font-family: inherit;
}
.wallet-sso-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.wallet-sso-head {
  margin-bottom: 1rem;
}
.wallet-sso-logo-lg {
  height: 48px;
  margin-bottom: 1rem;
}
.wallet-sso-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.wallet-sso-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}
.wallet-sso-dots {
  width: 60px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #999 0 6px,
    transparent 6px 12px
  );
}
.wallet-sso-data-list {
  list-style: disc;
  margin: 0 0 1.5rem 1.2rem;
  text-align: left;
  font-size: 0.9rem;
}
.wallet-sso-confirm {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border: none;
  border-radius: 6px;
  background: #2d7df6;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.wallet-sso-confirm:hover {
  opacity: 0.9;
}

/* --- Wallet SSO kártya --- */
.wallet-sso-card {
  --card-bg: #fff;
  --card-fg: #0a0a0a;
  --card-border: #e5e7eb;
  --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  --mainfont: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    "Noto Sans", "Helvetica Neue", sans-serif;
  --btn-bg: #08a159;
  --btn-shadow-strong: 0 6px 16px rgba(8, 161, 89, 0.28);
  --btn-shadow-weak: 0 4px 12px rgba(8, 161, 89, 0.24);

  font-family: var(--mainfont);
  max-width: 420px;
  margin: 16px auto;
  background: var(--card-bg);
  color: var(--card-fg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 20px 20px 18px;
  box-shadow: var(--card-shadow);
  display: grid;
  gap: 14px;
}

.wallet-sso-card__header {
  text-align: center;
}

.wallet-sso-card__logo {
  width: 250px;
  height: auto;
  display: block;
  margin: 4px auto 6px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.wallet-sso-card__title {
  margin: 8px 0 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.wallet-sso-card__text {
  margin: 6px 0 0;
  line-height: 1.45;
}

.wallet-sso-card__scope {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 0.95rem;
  color: #374151;
}

.wallet-sso-card__footer {
  margin-top: 6px;
}

.wallet-sso-card__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--btn-bg);
  color: #fff;
  cursor: pointer;
  transition: transform 0.06s ease, box-shadow 0.12s ease, background 0.2s ease;
  box-shadow: var(--btn-shadow-strong);
}

.wallet-sso-card__button:hover {
  transform: translateY(-1px);
}

.wallet-sso-card__button:active {
  transform: translateY(0);
  box-shadow: var(--btn-shadow-weak);
}

.wallet-sso-card__button:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.wallet-sso-btn__lock {
  font-size: 1.1em;
  line-height: 1;
}

.wallet-sso-card__smallprint {
  margin: 10px 2px 0;
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}
