/* Events page styles */
.clinic-card {
  border-left: 3px solid #1e88e5;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.2s;
}
.clinic-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.clinic-card .card-body {
  padding: 0.75rem 1rem;
}
.clinic-card-past {
  border-left-color: #adb5bd;
  opacity: 0.6;
}
.clinic-card-soon {
  border-left-color: #e53935;
}
.event-sessions {
  font-size: 0.8rem;
  color: var(--tblr-muted);
  margin-top: 0.25rem;
}
.session-line {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.month-section:first-child .month-header { margin-top: 0; }
.month-header {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tblr-muted);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--tblr-border-color);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.month-header:hover {
  color: var(--tblr-body-color);
}
.month-header .month-chevron {
  font-size: 0.7rem;
  transition: transform 0.2s;
}
.month-section.collapsed .month-chevron {
  transform: rotate(-90deg);
}
.month-section.collapsed .month-body {
  display: none;
}
.clinic-date-display {
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 70px;
}
.clinic-school {
  font-weight: 600;
}
.clinic-meta {
  font-size: 0.85rem;
  color: var(--tblr-muted);
}
.event-link-icon {
  color: #999;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 0.4rem;
  opacity: 0.6;
  transition: opacity 0.15s;
}
.event-link-icon:hover {
  opacity: 1;
  color: #555;
}
.tbd-section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 2px dashed var(--tblr-border-color);
}
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
}
.empty-state-icon {
  font-size: 3rem;
  color: var(--tblr-muted);
  margin-bottom: 1rem;
}
.loading-spinner {
  text-align: center;
  padding: 3rem;
}
/* Event Directory filter rows */
.event-filter-rows {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.event-filter-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 28px;
}
.event-filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  min-width: 52px;
  flex-shrink: 0;
  text-align: right;
}
.event-filter-items {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.event-filter-items .form-check {
  margin-bottom: 0;
  padding-left: 1.5em;
}
.event-filter-items .form-check-label {
  font-size: 0.85rem;
  cursor: pointer;
}
.event-filter-divider {
  border-left: 1px solid var(--tblr-border-color);
  height: 1.2rem;
  margin: 0 0.25rem;
  flex-shrink: 0;
}
/* Month pill styling */
.month-pill {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  border: 1px solid #adb5bd;
  background: #e9ecef;
  color: #495057;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.month-pill:hover {
  background: #dee2e6;
}
.month-pill.active {
  background: #5b9bd5;
  color: white;
  border-color: #5b9bd5;
}
.month-pill.inactive {
  opacity: 0.35;
  background: #f8f9fa;
  color: #6c757d;
}
#month-filter-group .month-all {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 1rem;
  border: 1px solid #adb5bd;
  background: #fff;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.15s;
}
#month-filter-group .month-all:hover {
  background: #e9ecef;
}
@media (max-width: 767px) {
  .event-filter-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .event-filter-label {
    text-align: left;
    min-width: auto;
  }
}
/* Compact pill overrides for level filter buttons */
#level-filter-group .filter-toggle {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 1rem;
  min-width: auto;
}
#level-filter-group .level-all {
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 1rem;
  border: 1px solid #adb5bd;
  background: #fff;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.15s;
}
#level-filter-group .level-all:hover {
  background: #e9ecef;
}
/* Big recruiting events */
.event-card {
  border-left: 3px solid #e8910c;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.2s;
  background: linear-gradient(135deg, #fffbf0 0%, #ffffff 30%);
}
.event-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.event-card .card-body {
  padding: 0.75rem 1rem;
}
.event-card-past {
  border-left-color: #adb5bd;
  opacity: 0.6;
  background: none;
}
.event-card-soon {
  border-left-color: #e53935;
}
.event-badge-tag {
  display: inline-block;
  background: #e8910c;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  vertical-align: middle;
  margin-right: 0.4rem;
}
.event-card-past .event-badge-tag {
  background: #adb5bd;
}
.event-logo {
  height: 28px;
  vertical-align: middle;
  margin-right: 0.4rem;
}
.coaches-attending {
  font-size: 0.8rem;
  color: #e8910c;
  font-weight: 600;
}
.coaches-attending-list {
  font-weight: 400;
  color: var(--tblr-muted);
}

/* Engagement icons */
.engagement-icons {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-right: 0.5rem;
}
.engagement-icon {
  cursor: pointer;
  font-size: 1.15rem;
  color: var(--tblr-muted);
  transition: color 0.15s;
  opacity: 0.5;
  padding: 0.4rem;
}
.engagement-icon:hover {
  opacity: 1;
}
.engagement-icon.active {
  opacity: 1;
}
.engagement-icon.active.interested {
  color: #1e88e5;
}
.engagement-icon.active.registered {
  color: #2e7d32;
}
.engagement-icon.active.attended {
  color: #e8910c;
}

/* My Events section */
.my-events-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--tblr-border-color);
}
.my-events-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.my-events-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--tblr-body-color);
}
.my-events-count {
  font-size: 0.85rem;
  padding: 0.3em 0.55em;
  background: #e8910c !important;
  color: white !important;
}

/* My Events grid */
.my-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.5rem;
}
.my-events-month-header {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--tblr-muted);
  margin-top: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--tblr-border-color);
}
.my-events-month-header:first-child { margin-top: 0; }
.my-event-tile {
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  background: white;
  border: 1px solid var(--tblr-border-color);
  border-left: 3px solid #1e88e5;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.my-event-tile.tile-showcase {
  border-left-color: #e8910c;
}
.my-event-tile.tile-past {
  opacity: 0.5;
  border-left-color: #adb5bd;
}
.my-event-tile-date {
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}
.my-event-tile-name {
  font-weight: 600;
  font-size: 0.85rem;
}
.my-event-tile-school {
  color: var(--tblr-muted);
  font-size: 0.8rem;
}
.my-event-tile-icons {
  display: grid;
  grid-template-columns: repeat(var(--icon-cols, 2), 1.4rem);
  gap: 0.15rem;
  justify-items: center;
  align-items: center;
}
.my-event-tile-icons .engagement-icons {
  display: contents;
}
.my-event-tile-icons .engagement-icon {
  font-size: 0.95rem;
  padding: 0;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.my-event-tile-links {
  display: contents;
}
.my-event-tile-icons .event-link-icon {
  font-size: 0.9rem;
  padding: 0;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
