/*
 * 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.
 */

/* Highlight animation for newly added rows */
@keyframes row-highlight {
  0% {
    background-color: rgba(10, 179, 156, 0.15);
  }
  100% {
    background-color: transparent;
  }
}

.animate-highlight {
  animation: row-highlight 2s ease-out;
}

/* Hide scrollbar utility */
.scrollbar-hide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}

/* Event type badge */
.event-type-badge {
  display: inline-block;
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 500;
  color: white;
  margin-right: 4px;
}

/* Milestone year badge */
.event-badge {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  background: linear-gradient(to right, #f59e0b, #d97706) !important;
  color: white !important;
  margin-left: 4px;
}

/* FullCalendar milestone event badge - ensure gradient is applied */
.fc-event .event-badge,
.fc-event-main .event-badge {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  background: linear-gradient(to right, #f59e0b, #d97706) !important;
  color: white !important;
  margin-left: 4px;
}

