/**
 * MyChemist+ Countdown Timer – Brand-aligned Clean UI
 */

.dct-countdown-container {
  background: linear-gradient(135deg, #f7f7f7, #f0faff);
  border: 1px solid #30c0f1;
  border-radius: 12px;
  padding: 18px 24px;
  margin: 0 0 10px 0;
  box-shadow: 0 4px 12px rgba(48, 192, 241, 0.15);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
  position: relative;
  overflow: hidden;
}

.dct-countdown-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0b9444, #30c0f1, #0b9444);
  background-size: 200% 100%;
  animation: gradient-shift 6s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.dct-countdown-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-direction: row;     
  flex-wrap: nowrap;    
  width: 100%;
}

.dct-icon {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  flex: 0 0 48px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 72, 124, 0.15);
  transition: transform 0.3s ease;
  border: 1px solid #30c0f1;
}

.dct-icon:hover {
  transform: scale(1.05);
}

.dct-icon svg {
  width: 22px;
  height: 22px;
  fill: #0b9444; /* green icon */
}

.dct-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  flex: 1;
  gap: 6px;
  font-size: 15px;
  color: #00487c;
}

.dct-countdown-text {
  font-weight: 500;
  color: #00487c;
}

.dct-timer {
  color: #0b9444;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  background: rgba(11, 148, 68, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(11, 148, 68, 0.2);
  display: inline-block;
  min-width: 85px;
  text-align: center;
}

.dct-delivery-text {
  color: #00487c;
}

.dct-delivery-text strong {
  color: #30c0f1;
  font-weight: 700;
}

.dct-express-text {
  color: #5a6c7d;
  font-weight: 500;
  font-size: 14px;
  width: 100%;
}

.dct-delivery-date {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .dct-countdown-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .dct-countdown-wrapper {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }

  .dct-content {
    flex-direction: column;
    gap: 4px;
  }

  .dct-icon {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 600px) {
  .dct-countdown-wrapper {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

/* Timer Hover Animation */
.dct-hours, .dct-minutes, .dct-seconds {
  transition: all 0.3s ease;
}

.dct-hours:hover,
.dct-minutes:hover,
.dct-seconds:hover {
  transform: scale(1.1);
  color: #30c0f1;
}