/* ===================================
   تحديث الأخبار التلقائي
   Auto News Refresh Notification
   =================================== */

.new-news-notification {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 10000;
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.new-news-content {
  background: linear-gradient(135deg, #608f90 0%, #4a7071 100%);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(96, 143, 144, 0.4);
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 300px;
}

.new-news-content i.fa-newspaper {
  font-size: 24px;
  color: #d4af37;
}

.new-news-content span {
  font-weight: 600;
  font-size: 15px;
  flex: 1;
}

.btn-load-news {
  background: white;
  color: #608f90;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.btn-load-news:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.btn-close-notification {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-close-notification:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* أخبار جديدة - تأثير */
.news-card.new-item {
  opacity: 0;
  transform: translateY(-20px);
}

.news-card.new-item.fade-in {
  animation: fadeInDown 0.5s ease-out forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .new-news-notification {
    right: 10px;
    left: 10px;
    top: 70px;
  }
  
  .new-news-content {
    min-width: auto;
    flex-wrap: wrap;
    padding: 14px 18px;
  }
  
  .btn-load-news {
    width: 100%;
    margin-top: 10px;
  }
}
