/* ===================================================
   1. إخفاء شريط البحث العلوي الأصلي في الهيدر نهائياً
=================================================== */
header salla-search,
header .header-search,
header [class*="search-btn"],
header [class*="search-input"],
header .search-bar {
  display: none !important;
}

/* ===================================================
   2. تأثيرات الوميض والتوهج (حركات بركات) لشريط البحث
=================================================== */
/* حركة الوميض الداخلي والخارجي للحدود */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(91, 33, 182, 0.3);
    border-color: #5b21b6;
  }
  50% {
    box-shadow: 0 0 20px 4px rgba(168, 85, 247, 0.5);
    border-color: #a855f7;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(91, 33, 182, 0.3);
    border-color: #5b21b6;
  }
}

/* حركة القفز الخفيفة لعدسة البحث */
@keyframes iconBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.15); }
}

/* ===================================================
   3. تطبيق التصميم والتحريك على شريط "ناقصك مقاضي"
=================================================== */
.custom-search-wrapper {
  max-width: 650px;
  margin: 25px auto;
  padding: 0 15px;
  direction: rtl;
}

.custom-search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.custom-search-input {
  width: 100%;
  padding: 14px 50px 14px 20px !important;
  border-radius: 50px !important;
  border: 2px solid #5b21b6 !important;
  background-color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  outline: none !important;
  /* تفعيل الوميض المستمر */
  animation: pulseGlow 2.5s infinite ease-in-out !important;
  transition: all 0.3s ease !important;
}

/* عند ضغط العميل على المربع للكتبابة */
.custom-search-input:focus {
  animation: none !important;
  border-color: #a855f7 !important;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.7) !important;
  background-color: #faf5ff !important;
}

.custom-search-button {
  position: absolute;
  right: 18px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  animation: iconBounce 2s infinite ease-in-out;
}
/* ===================================================
   ترتيب التصنيفات (روابط سريعة) إلى 3 أعمدة مستطيلة
=================================================== */
.s-block-quick-links-files,
.s-block-quick-links .container > div,
salla-quick-links {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 10px !important;
  padding: 10px 0 !important;
  direction: rtl !important;
}

.s-block-quick-links a,
.s-block-quick-links-file,
salla-quick-links a {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 155px !important;
  padding: 10px 6px !important;
  border-radius: 16px !important;
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  box-sizing: border-box !important;
}

.s-block-quick-links span,
.s-block-quick-links .title,
salla-quick-links span {
  order: 1 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  text-align: center !important;
}

.s-block-quick-links img,
salla-quick-links img {
  order: 2 !important;
  width: 100% !important;
  max-height: 80px !important;
  object-fit: contain !important;
}
rder-box !important;
  }
  .app-cat-card {
    background-color: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 12px 6px 8px 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 155px !important;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease-in-out !important;
  }
@keyframes glowingFlash {
  0% {
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.6);
  }
  50% {
    box-shadow: 0 0 20px 2px rgba(16, 185, 129, 0.75), inset 0 0 6px rgba(16, 185, 129, 0.3);
    border-color: #10b981;
  }
  100% {
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.6);
  }
}

.my-flash-card {
  animation: glowingFlash 1.5s infinite ease-in-out !important;
}