/* Closed notification overlay for abstract submission dates */

.closed-wrap {
  position: relative;
  display: inline-block;
}

.closed-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  background: rgba(180, 30, 30, 0.92);
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35em 0.9em;
  border-radius: 0.25em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
  backdrop-filter: blur(2px);
  animation: closed-pulse 2.2s ease-in-out infinite;
}

/* Dim the struck dates so the CLOSED badge stands out */
.closed-wrap .date-struck {
  opacity: 0.55;
}

@keyframes closed-pulse {
  0%, 100% {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  }
  50% {
    box-shadow: 0 6px 22px rgba(180, 30, 30, 0.55);
  }
}
