/*
 * What an idea offers to take away: its attached file and its outside link
 * (showpages.php, views/partials/download_button.php, link_button.php).
 *
 * One clear look for both: a light green button with a white label naming
 * the idea, an icon (download, or leaving the site), inside a titled box set
 * well apart from the ad above it, so a visitor never mistakes an ad for
 * the download (AdSense also forbids placements that invite that mistake).
 */

.sc-get {
  max-width: 560px; margin: 36px auto 32px; padding: 18px 16px 8px;
  border: 1px solid #cfe9d9; border-radius: 18px; background: #f6fbf8;
  direction: rtl; text-align: center;
}
.sc-get__title {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 0 14px; font-size: 15px; font-weight: 700; color: #1d6b40;
}

.sc-get__item { margin: 0 0 14px; }

/* a.sc-get__btn twice over the site's "a:link { color: inherit }". */
a.sc-get__btn, a.sc-get__btn:link, a.sc-get__btn:visited {
  display: flex; align-items: center; gap: 14px;
  width: 100%; box-sizing: border-box; padding: 14px 18px; min-height: 64px;
  border-radius: 14px; border: 0;
  background: linear-gradient(180deg, #2bb366 0%, #1f9a55 100%);
  color: #fff; text-decoration: none; text-align: start;
  box-shadow: 0 6px 16px rgba(31, 154, 85, .28), inset 0 -2px 0 rgba(0, 0, 0, .08);
  transition: transform .1s ease, box-shadow .15s ease, filter .15s ease;
}
a.sc-get__btn:hover, a.sc-get__btn:focus-visible { color: #fff; filter: brightness(1.05); box-shadow: 0 8px 20px rgba(31, 154, 85, .35); }
a.sc-get__btn:active { transform: scale(.99); }
a.sc-get__btn:focus-visible { outline: 3px solid #e0b25a; outline-offset: 3px; }

.sc-get__icon {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .2); font-size: 19px;
}
.sc-get__label { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.5; }
.sc-get__label b { font-size: 17px; font-weight: 800; }
.sc-get__label small {
  font-size: 14px; line-height: 1.75; opacity: .95;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.sc-get__note { margin: 6px 0 0; font-size: 13px; color: #4a5a50; direction: rtl; }
.sc-get__note bdi { direction: ltr; unicode-bidi: isolate; }

/* The countdown: only after the download button is pressed. */
.sc-download__wait[hidden], .sc-download__fallback[hidden], a.sc-get__btn[hidden] { display: none !important; }
