/* ============================================
   Countdown Timer - European Style
   Refined, elegant display for registration deadline
   ============================================ */

.countdown-european {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}

.countdown-european .countdown-segment {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.25rem;
  padding: 0.25rem 0.4rem;
  background: linear-gradient(180deg, #fafaf9 0%, #f5f5f4 100%);
  border: 1px solid #e7e5e4;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.countdown-european .countdown-value {
  font-size: 1rem;
  font-weight: 600;
  color: #44403c !important;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.countdown-european .countdown-label {
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #78716c;
  margin-top: 0.125rem;
}

.countdown-european .countdown-sep {
  color: #d6d3d1;
  font-weight: 300;
  font-size: 0.875rem;
  align-self: flex-end;
  margin-bottom: 0.35rem;
  padding: 0 0.15rem;
}

.countdown-european-wrapper {
  padding: 0.5rem 0.75rem;
  background: linear-gradient(180deg, #fafaf9 0%, #f5f5f4 100%);
  border: 1px solid #e7e5e4;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.countdown-european-wrapper .countdown-heading {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #78716c;
  margin-bottom: 0.5rem;
}

/* Compact variant for inline use (e.g. events list) */
.countdown-european-wrapper--compact {
  padding: 0.35rem 0.5rem;
}

.countdown-european-wrapper--compact .countdown-heading {
  font-size: 0.6rem;
  margin-bottom: 0.35rem;
}

.countdown-european--compact .countdown-segment {
  min-width: 1.75rem;
  padding: 0.15rem 0.25rem;
}

.countdown-european--compact .countdown-value {
  font-size: 0.875rem;
}

.countdown-european--compact .countdown-label {
  font-size: 0.5rem;
}

.countdown-european--compact .countdown-sep {
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
}

/* Hover state when inside a group-hover parent (e.g. event card) */
.group:hover .countdown-european-wrapper {
  background: linear-gradient(180deg, #fef2f2 0%, #fce7f3 100%);
  border-color: #fecdd3;
}

.group:hover .countdown-european .countdown-segment {
  background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
  border-color: #fecdd3;
}

.group:hover .countdown-european .countdown-value {
  color: #9f1239 !important;
}

.group:hover .countdown-european-wrapper .countdown-heading {
  color: #be123c;
}
