/* NFT Studio — purple auth modal theme (Explorer parity, purple accent). */
@import url("unara-auth-modal.base.css");

#unara-auth-modal.unara-auth {
  --wallet-teal: #8b5cf6;
  --wallet-teal-bright: #a78bfa;
  --wallet-teal-line: rgba(139, 92, 246, 0.34);
  --wallet-teal-soft: rgba(124, 58, 237, 0.14);
  --wallet-section-border: rgba(124, 58, 237, 0.24);
  --wallet-glass-glow-hero: 0 0 72px rgba(124, 58, 237, 0.18);
  --wallet-glass-overlay-soft: linear-gradient(165deg, rgba(26, 16, 48, 0.55), transparent 58%);
}

#unara-auth-modal .unara-auth-dialog {
  background:
    linear-gradient(165deg, rgba(36, 20, 62, 0.55) 0%, transparent 52%),
    linear-gradient(180deg, rgba(18, 14, 28, 0.97) 0%, rgba(10, 10, 18, 0.99) 100%);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 64px rgba(124, 58, 237, 0.16);
}

#unara-auth-modal .unara-auth-title-accent,
#unara-auth-modal .unara-auth-tab[aria-selected="true"] {
  color: #c4b5fd;
}

#unara-auth-modal .unara-auth-provider-icon--accent,
#unara-auth-modal .unara-auth-provider-icon--teal {
  color: #a78bfa;
  border-color: rgba(139, 92, 246, 0.35);
  background: rgba(124, 58, 237, 0.12);
}

#unara-auth-modal .unara-auth-badge {
  background: rgba(124, 58, 237, 0.18);
  color: #ddd6fe;
  border-color: rgba(139, 92, 246, 0.28);
}

#unara-auth-modal .unara-auth-email-submit,
#unara-auth-modal .unara-auth-provider:hover:not(:disabled) {
  border-color: rgba(139, 92, 246, 0.42);
}

#unara-auth-modal .unara-auth-email-submit {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.92), rgba(91, 33, 182, 0.88));
  border-color: rgba(167, 139, 250, 0.35);
}

#unara-auth-modal .unara-auth-orbit-glow {
  background: radial-gradient(circle, rgba(139, 92, 246, 0.34) 0%, rgba(124, 58, 237, 0.08) 42%, transparent 68%);
}

#unara-auth-modal .unara-auth-orbit-path {
  stroke: rgba(167, 139, 250, 0.28);
}

#unara-auth-modal .unara-auth-orbit-sat {
  border-color: rgba(139, 92, 246, 0.32);
  background: rgba(20, 14, 36, 0.88);
  color: #c4b5fd;
}

#unara-auth-modal .unara-auth-feature-icon {
  color: #a78bfa;
  border-color: rgba(139, 92, 246, 0.28);
  background: rgba(124, 58, 237, 0.1);
}

#unara-auth-modal .unara-auth-switch-btn,
#unara-auth-modal .unara-auth-legal a {
  color: #c4b5fd;
}

#unara-auth-modal .unara-auth-close:hover {
  border-color: rgba(139, 92, 246, 0.38);
  color: #c4b5fd;
}

/* Wallet picker — NFT Studio purple theme */
#unara-wallet-picker {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#unara-wallet-picker[hidden] {
  display: none !important;
}

.unara-wallet-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 12, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.unara-wallet-picker-panel {
  position: relative;
  min-width: 300px;
  max-width: 400px;
  width: 100%;
  padding: 22px 22px 18px;
  border-radius: 18px;
  border: 1px solid rgba(124, 58, 237, 0.28);
  background:
    linear-gradient(158deg, rgba(124, 58, 237, 0.12) 0%, transparent 42%),
    linear-gradient(180deg, rgba(22, 18, 34, 0.96) 0%, rgba(12, 10, 20, 0.98) 100%);
  color: rgba(245, 245, 247, 0.96);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 48px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(124, 58, 237, 0.12);
}

.unara-wallet-picker-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #fff;
}

.unara-wallet-picker-subtitle {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(221, 214, 254, 0.72);
}

.unara-wallet-picker-note {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(196, 181, 253, 0.58);
}

.unara-wallet-picker-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.unara-wallet-picker-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.unara-wallet-picker-option:hover:not(:disabled) {
  border-color: rgba(167, 139, 250, 0.42);
  background: rgba(124, 58, 237, 0.1);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.12);
}

.unara-wallet-picker-option.is-primary:not(:disabled) {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(124, 58, 237, 0.14);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.16);
}

.unara-wallet-picker-option:disabled,
.unara-wallet-picker-option.is-unavailable {
  opacity: 0.42;
  cursor: not-allowed;
  filter: grayscale(0.35);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.unara-wallet-picker-option-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.unara-wallet-picker-option-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.unara-wallet-picker-option-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.unara-wallet-picker-option-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.unara-wallet-picker-option-meta {
  font-size: 11px;
  color: rgba(196, 181, 253, 0.55);
}

.unara-wallet-picker-option.is-primary:not(:disabled) .unara-wallet-picker-option-meta {
  color: rgba(167, 139, 250, 0.85);
}

.unara-wallet-picker-cancel {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  background: transparent;
  color: rgba(196, 181, 253, 0.65);
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.unara-wallet-picker-cancel:hover {
  background: rgba(124, 58, 237, 0.08);
  color: rgba(221, 214, 254, 0.9);
}

.connect-wallet.is-wallet-connecting [data-wallet-label]::before,
.connect-wallet.is-wallet-connecting::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -2px;
  animation: nftStudioWalletSpin 0.75s linear infinite;
}

@keyframes nftStudioWalletSpin {
  to { transform: rotate(360deg); }
}

.brand--home {
  cursor: pointer;
  border: 0;
  text-align: center;
  font: inherit;
  color: inherit;
}

.brand--home:hover .brand-word-unara {
  color: var(--purple-2);
}

.brand--home:focus-visible {
  outline: 2px solid var(--purple-2);
  outline-offset: 4px;
  border-radius: 10px;
}
