/* ==========================================================================
   OSZ Player Season Filter — assets/css/osz-player-season-filter.css
   Loads only on /players/{slug}/?profile=full
   ========================================================================== */

@keyframes osz-sf-spin {
  to {
    transform: rotate(360deg);
  }
}

#ajax-season-filter {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
  border: 4px solid #c33d2d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
}

#season-select {
  padding: 10px 20px;
  font-size: 16px;
  border: 2px solid #c33d2d;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  min-width: 200px;
  font-weight: 500;
  transition: all 0.3s;
}

#season-select:hover {
  border-color: #8b0000;
  box-shadow: 0 2px 6px rgba(200, 16, 46, 0.2);
}

#season-select:focus {
  outline: none;
  border-color: #c8102e;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

#ajax-season-filter label {
  font-weight: bold;
  margin-right: 10px;
  font-size: 16px;
  margin-bottom: 10px;
}

#filter-loading {
  display: none;
  margin-left: 15px;
  color: #666;
  font-style: italic;
}

.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-top-color: #c8102e;
  border-radius: 50%;
  animation: osz-sf-spin 0.6s linear infinite;
  margin-right: 5px;
  vertical-align: middle;
}

/* Fade effect for table updates */
.jet-listing-grid.updating {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s;
}
