body.yooadmin-access-denied {
  min-height: 100vh;
  margin: 0;
  padding: 24px 16px;
  box-sizing: border-box;
  --yp-yoo-btn-primary: var(--yoo-login-primary, var(--yooadmin-primary, #eda934));
  --yp-yoo-btn-primary-top: color-mix(in srgb, var(--yp-yoo-btn-primary) 88%, #fff 12%);
  --yp-yoo-btn-primary-hover: var(--yooadmin-primary-hover, color-mix(in srgb, var(--yp-yoo-btn-primary) 85%, #000 15%));
  --yp-yoo-btn-primary-hover-top: color-mix(in srgb, var(--yp-yoo-btn-primary-hover) 88%, #fff 12%);
  --yp-yoo-btn-soft-ring: color-mix(in srgb, var(--yp-yoo-btn-primary) 20%, rgba(0, 0, 0, 0.06));
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(237, 169, 52, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(15, 23, 42, 0.04), transparent 50%),
    #f1f5f9;
  color: var(--yoo-login-text, #334155);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.yooadmin-access-denied .yoo-ad-shell {
  width: 100%;
  max-width: 640px;
}

body.yooadmin-access-denied .yoo-ad-card {
  position: relative;
  background: var(--yoo-login-panel-bg, #fff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 48px -20px rgba(15, 23, 42, 0.18);
  padding: clamp(28px, 5vw, 40px) clamp(22px, 4vw, 36px) 32px;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
}

body.yooadmin-access-denied .yoo-ad-card-bg {
  position: absolute;
  right: -36px;
  bottom: -32px;
  width: clamp(140px, 30vw, 188px);
  height: clamp(140px, 30vw, 188px);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  transform: rotate(-20deg);
  transform-origin: center center;
}

body.yooadmin-access-denied .yoo-ad-lock-deco.dashicons {
  width: 1em;
  height: 1em;
  font-size: clamp(140px, 30vw, 188px);
  line-height: 1;
  color: var(--yoo-login-primary, #eda934);
  opacity: 0.18;
}

body.yooadmin-access-denied .yoo-ad-header,
body.yooadmin-access-denied .yoo-ad-body,
body.yooadmin-access-denied .yoo-ad-sites {
  position: relative;
  z-index: 1;
}

body.yooadmin-access-denied .yoo-ad-header {
  text-align: center;
  margin-bottom: 24px;
}

body.yooadmin-access-denied .yoo-ad-logo {
  display: inline-block;
  width: auto;
  max-width: min(var(--yoo-login-logo-max-w, 220px), 100%);
  height: auto;
  max-height: 84px;
  object-fit: contain;
}

body.yooadmin-access-denied.yoo-ad--no-logo .yoo-ad-logo-text {
  color: var(--yoo-login-primary, #eda934);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

body.yooadmin-access-denied .yoo-ad-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
}

body.yooadmin-access-denied .yoo-ad-body-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

body.yooadmin-access-denied .yoo-ad-title {
  margin: 0 0 12px;
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  color: #64748b;
}

body.yooadmin-access-denied .yoo-ad-lead {
  margin: 0 0 10px;
  max-width: 36em;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: #64748b;
}

body.yooadmin-access-denied .yoo-ad-help {
  margin: 0 0 8px;
  max-width: 34em;
  font-size: 14px;
  line-height: 1.65;
  color: #94a3b8;
}

body.yooadmin-access-denied .yoo-ad-sites {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body.yooadmin-access-denied .yoo-ad-sites-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

body.yooadmin-access-denied .yoo-ad-sites-intro {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #64748b;
  text-align: center;
}

body.yooadmin-access-denied .yoo-ad-sites-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.yooadmin-access-denied .yoo-ad-site {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--yoo-login-input-border, #e2e8f0);
  background: #f8fafc;
}

body.yooadmin-access-denied .yoo-ad-site-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

body.yooadmin-access-denied .yoo-ad-site-icon {
  color: var(--yoo-login-primary, #eda934);
  flex: 0 0 auto;
}

body.yooadmin-access-denied .yoo-ad-site-name {
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.yooadmin-access-denied .yoo-ad-site-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

body.yooadmin-access-denied .yoo-ad-site-actions .yp-yoo-btn {
  flex: 0 0 auto;
  white-space: nowrap;
  min-width: 0;
}

@media (max-width: 560px) {
  body.yooadmin-access-denied .yoo-ad-site {
    flex-direction: column;
    align-items: stretch;
  }

  body.yooadmin-access-denied .yoo-ad-site-actions {
    width: 100%;
  }

  body.yooadmin-access-denied .yoo-ad-site-actions .yp-yoo-btn {
    flex: 1 1 auto;
  }
}
