/* توقيع بذرة التقنية في نهاية كل صفحة — حركة البذرة فقط، مقتبسة بهدوء من tech.bithrah.sa. */
.bithrah-signature-host {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 16px 18px;
}

.bithrah-signature {
  --bithrah-mint: #35d9a0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-block-size: 44px;
  padding-inline: 5px;
  unicode-bidi: isolate;
  color: #d5deea;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.4;
  touch-action: manipulation;
}

.bithrah-signature:hover,
.bithrah-signature:focus { text-decoration: none; }

.bithrah-signature:focus-visible {
  outline: 2px solid var(--bithrah-mint);
  outline-offset: 3px;
  border-radius: 4px;
}

.bithrah-signature__mark {
  display: grid;
  place-items: center;
  inline-size: 24px;
  block-size: 30px;
  flex: 0 0 auto;
}

.bithrah-signature__mark img {
  display: block;
  inline-size: 22px;
  block-size: 27px;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(53, 217, 160, .15));
  animation: bithrah-seed-float 5.5s ease-in-out infinite;
  transition: filter .2s ease;
}

.bithrah-signature__powered {
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.bithrah-signature strong {
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease;
}

.bithrah-signature:hover strong { color: var(--bithrah-mint); }
.bithrah-signature:hover .bithrah-signature__mark img {
  filter: drop-shadow(0 2px 7px rgba(53, 217, 160, .34));
}

.bithrah-signature-host--light .bithrah-signature { color: #5b6475; }
.bithrah-signature-host--light .bithrah-signature strong { color: #102044; }
.bithrah-signature-host--light .bithrah-signature:hover strong { color: #087f5b; }

/* داخل تذييل من عمودين (بوابة الشركاء): يحاذي طرف السطر على الشاشات العريضة */
@media (min-width: 768px) {
  .bithrah-signature-host--end { justify-content: flex-end; padding-block: 0; }
}

@keyframes bithrah-seed-float {
  0%, 100% { transform: translateY(1px) rotate(-.6deg); }
  50% { transform: translateY(-2px) rotate(.8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bithrah-signature__mark img {
    animation: none;
    transition: none;
  }
}

@media print {
  .bithrah-signature-host { display: none !important; }
}
