/* غلاف العد التنازلي */
.live-countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.live-countdown .count-box {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  padding: 12px 10px;
  width: 110px;
  text-align: center;
  transition: all 0.3s ease;
}

.live-countdown .count-number {
  font-size: 24px;
  font-weight: bold;
  color: #0d6efd;
}

.live-countdown .count-label {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

/* عند انتهاء الوقت */
.live-countdown .ended {
  font-weight: bold;
  color: #dc3545;
  font-size: 15px;
}

/* البطاقة الحالية */
.card-current {
  border: 2px solid #0d6efd !important;
  background-color: #eaf2ff;
}

/* أزرار المشاركة والنسخ */
.countdown-buttons a {
  display: inline-block;
  background: #0d6efd;
  color: #fff;
  padding: 6px 12px;
  margin: 4px 5px 0 0;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}

.countdown-buttons a:hover {
  background: #084298;
}

/* التاريخ أسفل البطاقة */
.countdown-date {
  margin-top: 10px;
  color: #555;
  font-size: 14px;
}

/* الأيقونة */
.countdown-date i {
  margin-left: 5px;
  color: #999;
}

/* الهواتف */
@media (max-width: 600px) {
  .live-countdown {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .live-countdown .count-box {
    min-width: 90px;
    flex-shrink: 0;
  }

  .countdown-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .countdown-buttons a {
    margin: 5px 3px 0 3px;
  }
}
