/* ============================================
   فایل استایل‌های اضافی مدرن
   ============================================ */

/* انیمیشن بارگذاری */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* انیمیشن درخشش */
@keyframes glowing {
  0% {
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  }
  100% {
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
  }
}

/* اسکرول هموار */
html {
  scroll-behavior: smooth;
}

/* جدول بهتر */
.table tr {
  animation: slideInUp 0.5s ease-out;
}

.table tr:nth-child(1) {
  animation-delay: 0.1s;
}
.table tr:nth-child(2) {
  animation-delay: 0.2s;
}
.table tr:nth-child(3) {
  animation-delay: 0.3s;
}

/* دکمه‌ها */
.btn-lg:active,
.btn-lg:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* لیست آیتم‌ها */
li {
  transition: all 0.2s ease;
}

li:hover {
  margin-right: 5px;
}

/* اسپینر لود */
.loader {
  border: 4px solid rgba(212, 175, 55, 0.1);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ScrollBar شخصی‌سازی شده */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(212, 175, 55, 0.05);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}
