/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Event Card Styles */

.event-card {
  position: relative;
}

.event-card-actions {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.event-card-content {
  height: 170px;
}

.event-card-banner {
  height: 80px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 6px 6px 0 0;
}

.event-card-info {
  height: 90px;
}

.event-card-tags {
  gap: 0.5rem;
}

/* Event Name Link */
.event-name-link {
  text-decoration: none;
  display: block;
}

.event-name-link h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s;
}

.event-name-link:hover h2 {
  color: #3273dc !important;
  text-decoration: underline;
}

/* Message List Styles */

.message {
  word-break: break-word;
}

/* Keep spotlight button inline with text */
.message .is-flex-grow-1 form {
  display: inline;
}

/* Spotlight Tag Pulse Animation */
.spotlight-active {
  animation: pulse-star 1.5s ease-in-out infinite;
}

@keyframes pulse-star {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

