/* Programme Section Styles */

/* Back-to-top button */
.btn-back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: none;
  z-index: 2000;
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  transition: all 0.3s ease;
}

.btn-back-to-top:focus,
.btn-back-to-top:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transform: translateY(-2px);
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* Programme item styles */
.programme-item {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  transition: box-shadow 0.2s ease;
}

.programme-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.programme-item:focus-within {
  outline: 2px solid #7B13D6;
  outline-offset: 2px;
}

/* Tag badge colors */
.bg-purple {
  background-color: var(--color-primary) !important;
  color: #ffffff !important;
}

.bg-orange {
  background-color: #ff7a00 !important;
  color: #ffffff !important;
}

.bg-teal {
  background-color: #20c997 !important;
  color: #ffffff !important;
}

.bg-dark {
  background-color: #343a40 !important;
  color: #ffffff !important;
}

.bg-lime {
  background-color: #84cc16 !important;
  color: #000000 !important;
}

.bg-olive {
  background-color: #556B2F !important;
  color: #ffffff !important;
}

/* Tag badge improvements */
.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
  font-size: 0.875em;
}

/* Filter section */
.form-check-label {
  user-select: none;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(123, 19, 214, 0.25);
}

/* Responsive programme items */
@media (max-width: 768px) {
  .programme-item .d-flex {
    flex-direction: column !important;
  }
  
  .programme-item .admin-actions {
    width: 100% !important;
    min-width: unset !important;
    margin-top: 1rem;
  }
  
  .programme-item .admin-actions .d-flex {
    flex-direction: row !important;
    justify-content: flex-start !important;
  }
}
