/*
 * Tabby on-site messaging (see js/components/tabby-promo.js).
 * Kept quiet on purpose: one small muted line + small green badge,
 * separated from the content above by a hairline.
 */
.tabby-promo {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-pale-sky, #6b7280);
  text-align: right;
}

.tabby-promo__text {
  margin-inline-end: 4px;
}

.tabby-promo__link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  color: var(--color-primary, #636eb2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
}

/* "اعرف المزيد" pop-up — title on the right, close button on the left (RTL) */
.tabby-promo-modal .modal__header {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.tabby-promo-modal .modal__title-wrap {
  flex: 1;
  text-align: right;
}

.tabby-promo-modal .modal__body {
  padding: 0;
}

.tabby-promo-modal__frame {
  display: block;
  width: 100%;
  /* whole sheet (handle + title + frame) ≈ 75% of the screen */
  height: calc(75dvh - 80px);
  min-height: 280px;
  border: 0;
}
