/* Release-specific product boundary; the unique URL bypasses immutable host caches. */
#opa-app #opa-app-title {
  color: #fff;
  font-family: "IRANSansWeb", Tahoma, Arial, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.4;
}

#opa-app #opa-current-framework,
#opa-app .opa-card-title {
  font-family: "IRANSansWeb", Tahoma, Arial, sans-serif;
  font-weight: 400;
  text-transform: none;
}

#opa-app #opa-current-framework { unicode-bidi: plaintext; }

#opa-app .opa-button,
#opa-app .opa-language-button {
  appearance: none;
  background: #fff;
  border: 1px solid var(--opa-primary);
  border-radius: 10px;
  color: var(--opa-primary-dark);
  font-family: "IRANSansWeb", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  min-height: 0;
  text-transform: none;
}

#opa-app .opa-icon-button {
  height: 2.35rem;
  min-height: 0;
  min-width: 2.35rem;
  padding: 0.35rem;
  width: 2.35rem;
}

#opa-app .opa-description-toggle {
  appearance: none;
  background: #eaf2f4;
  border: 1px solid var(--opa-border);
  border-radius: 50%;
  color: var(--opa-primary-dark);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  height: 2rem;
  line-height: 1;
  min-height: 0;
  padding: 0;
  text-transform: none;
  width: 2rem;
}

#opa-app .opa-button-primary {
  background: var(--opa-action);
  border-color: var(--opa-action);
  color: #fff;
}

#opa-app .opa-side-item.opa-button {
  background: linear-gradient(90deg, #1262a3, #0d74c1);
  color: #fff;
  font-weight: 700;
}

body #opa-app .opa-dashboard-card {
  background: #fff;
  border: 1px solid var(--opa-border);
  border-radius: 18px;
  color: #19323c;
  font: inherit;
  min-height: 210px;
  padding: 1.25rem;
  text-transform: none;
}

#opa-app [hidden] { display: none !important; }

#opa-app .opa-loading-overlay {
  align-items: center;
  backdrop-filter: blur(4px);
  background: rgb(234 244 247 / 82%);
  color: var(--opa-primary-dark);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  inset: 0;
  justify-content: center;
  position: fixed;
  z-index: 100000;
}

#opa-app .opa-loading-spinner {
  animation: opa-loading-spin-release-160 0.8s linear infinite;
  border: 4px solid rgb(17 99 122 / 22%);
  border-radius: 50%;
  border-top-color: var(--opa-action);
  height: 3rem;
  width: 3rem;
}

@keyframes opa-loading-spin-release-160 {
  to { transform: rotate(360deg); }
}

#opa-app .opa-user-tree tr.is-drop-target {
  background: #dff3fa;
  box-shadow: inset 0 0 0 3px var(--opa-action);
  transform: translateY(2px);
  transition: background 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}
