.skyegate-gate {
  margin: 1.5em 0;
}

/* Branded style */
.skyegate-style-branded .skyegate-prompt {
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f6fa 100%);
  border: 1px solid #e7e9f0;
  border-radius: 16px;
  padding: 2.6em 2.2em;
  text-align: center;
  box-shadow: 0 2px 18px rgba(20, 24, 46, 0.06);
}

/* Minimal style */
.skyegate-style-minimal .skyegate-prompt {
  text-align: center;
  padding: 1em 0;
}

.skyegate-message {
  margin: 0 0 1em;
  font-size: 1em;
  color: #495057;
}

.skyegate-connect-btn {
  display: inline-block;
  padding: 0.75em 2em;
  font-size: 1em;
  font-weight: 600;
  color: #fff;
  background: #6c5ce7;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.skyegate-connect-btn:hover {
  background: #5a4bd1;
}

.skyegate-connect-btn:focus {
  outline: 2px solid #6c5ce7;
  outline-offset: 2px;
}

/* Loading state */
.skyegate-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 1em;
  color: #495057;
  font-size: 1em;
}

.skyegate-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #dee2e6;
  border-top-color: #6c5ce7;
  border-radius: 50%;
  animation: skyegate-spin 0.8s linear infinite;
}

@keyframes skyegate-spin {
  to { transform: rotate(360deg); }
}

/* Fail message */
.skyegate-fail {
  color: #dc3545;
  font-size: 1em;
  text-align: center;
  padding: 1em;
  margin: 0;
}

/* Reveal animation */
.skyegate-revealed {
  animation: skyegate-fadein 0.3s ease-in;
}

@keyframes skyegate-fadein {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Detected wallet pills */
.skyegate-detected {
  margin-top: 0.75em;
  font-size: 0.8em;
  color: #6c757d;
}

.skyegate-wallet-pill {
  display: inline-block;
  padding: 0.2em 0.6em;
  margin: 0.15em 0.2em;
  border-radius: 4px;
  background: rgba(108, 92, 231, 0.08);
  border: 1px solid rgba(108, 92, 231, 0.2);
  font-size: 0.9em;
}

/* Admin error (only shown to editors) */
.skyegate-error {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  padding: 0.75em 1em;
  color: #856404;
  font-size: 0.9em;
}


/* "or continue with" divider between the primary connect and the alternatives */
.skyegate-or {
  display: flex;
  align-items: center;
  gap: 0.8em;
  max-width: 300px;
  margin: 1.3em auto 0.6em;
  color: #9aa1b1;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.skyegate-or::before,
.skyegate-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e3e6ee;
}

/* Alternative connect options (membership pass, passkey wallet) */
.skyegate-alt-btn {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0.55em auto 0;
  padding: 0.7em 1.1em;
  font: inherit;
  font-size: 0.93em;
  font-weight: 600;
  color: #5a4bd1;
  background: #fff;
  border: 1px solid #ddd8f5;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.skyegate-alt-btn:hover {
  border-color: #6c5ce7;
  background: #f7f5ff;
}

.skyegate-alt-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.skyegate-alt-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.8em;
  font-weight: 400;
  color: #8b90a0;
}
