body.seadocker-human-ui-guardrails {
  margin: 0 !important;
  background: #f7f8fb !important;
  color: #202733 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans SC", sans-serif !important;
}

body.seadocker-human-ui-guardrails .seadocker-friendly-page {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  background: linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
}

body.seadocker-human-ui-guardrails .seadocker-friendly-panel {
  width: min(520px, 100%);
  box-sizing: border-box;
  border: 1px solid #e5e8ef;
  border-radius: 8px;
  background: #fff;
  padding: 28px 30px;
  box-shadow: 0 18px 45px rgba(32, 39, 51, .08);
}

body.seadocker-human-ui-guardrails .seadocker-friendly-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

body.seadocker-human-ui-guardrails .seadocker-friendly-brand {
  display: flex;
  align-items: center;
  min-height: 34px;
}

body.seadocker-human-ui-guardrails .seadocker-friendly-logo {
  display: block;
  width: 158px;
  max-width: 70%;
  height: auto;
}

body.seadocker-human-ui-guardrails .seadocker-friendly-logo-fallback {
  display: none;
  font-weight: 700;
  color: #f33a0f;
  font-size: 18px;
}

body.seadocker-human-ui-guardrails .seadocker-language {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

body.seadocker-human-ui-guardrails .seadocker-language-select {
  box-sizing: border-box;
  min-width: 96px;
  min-height: 32px;
  border: 1px solid #d9dde7;
  border-radius: 6px;
  background: #fff;
  color: #202733;
  font-size: 13px;
  line-height: 32px;
  padding: 0 8px;
  outline: none;
}

body.seadocker-human-ui-guardrails .seadocker-language-select:focus {
  border-color: #f33a0f;
  box-shadow: 0 0 0 2px rgba(243, 58, 15, .12);
}

body.seadocker-forget-enhanced .seadocker-forget-chrome {
  box-sizing: border-box;
  width: min(420px, calc(100vw - 36px));
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 18px;
}

body.seadocker-forget-enhanced .seadocker-forget-logo {
  display: block;
  width: 158px;
  max-width: min(58vw, 210px);
  height: auto;
  object-fit: contain;
}

body.seadocker-forget-enhanced .seadocker-language {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

body.seadocker-forget-enhanced .seadocker-language-select {
  box-sizing: border-box;
  min-width: 96px;
  min-height: 32px;
  border: 1px solid #d9dde7;
  border-radius: 6px;
  background: #fff;
  color: #202733;
  font-size: 13px;
  line-height: 32px;
  padding: 0 8px;
  outline: none;
}

body.seadocker-forget-enhanced .seadocker-language-select:focus {
  border-color: #f33a0f;
  box-shadow: 0 0 0 2px rgba(243, 58, 15, .12);
}

body.seadocker-human-ui-guardrails h1 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  color: #202733;
  letter-spacing: 0;
}

body.seadocker-human-ui-guardrails p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #566070;
}

body.seadocker-human-ui-guardrails a.seadocker-friendly-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  background: #f33a0f;
  color: #fff !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

body.seadocker-human-ui-guardrails .ant-message {
  display: none !important;
}

.seadocker-auth-transition,
.sd-show-success {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  background: #fff;
}

.seadocker-auth-transition[hidden] {
  display: none !important;
}

html.seadocker-oauth-preloading .ant-spin,
html.seadocker-oauth-preloading .ant-spin-dot,
html.seadocker-oauth-preloading .ant-spin-dot-item,
html.seadocker-oauth-preloading .loading,
html.seadocker-oauth-preloading .loader,
html.seadocker-oauth-loading-active .ant-spin,
html.seadocker-oauth-loading-active .ant-spin-dot,
html.seadocker-oauth-loading-active .ant-spin-dot-item,
html.seadocker-oauth-loading-active .loading,
html.seadocker-oauth-loading-active .loader {
  display: none !important;
}

.seadocker-auth-transition-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
}

.seadocker-auth-transition-text {
  color: #64708a;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.seadocker-loading-icon {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.seadocker-callback-status {
  display: grid;
  justify-items: center;
  gap: 10px;
  place-items: center;
  width: min(280px, calc(100vw - 48px));
  min-height: 88px;
  margin: 0 auto;
}

@media (max-width: 540px) {
  body.seadocker-human-ui-guardrails .seadocker-friendly-panel {
    padding: 24px 20px;
  }

  body.seadocker-human-ui-guardrails .seadocker-friendly-head {
    gap: 14px;
  }

  body.seadocker-human-ui-guardrails .seadocker-friendly-logo {
    max-width: 142px;
  }

  body.seadocker-forget-enhanced .seadocker-forget-chrome {
    width: min(100%, calc(100vw - 24px));
    gap: 12px;
  }

  body.seadocker-forget-enhanced .seadocker-forget-logo {
    max-width: 142px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seadocker-loading-icon {
    animation: none !important;
  }
}
