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

/* Coach Feedback layout helpers */
.coach-feedback-layout {
  display: grid;
  gap: 0.75rem;
}

/* Keep the feedback form visible while data below scrolls */
.feedback-form-sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg, #fff);
  padding-top: 0.25rem;
  padding-bottom: 0.5rem;
  /* optional subtle separation */
  border-bottom: 1px solid var(--border, #e5e7eb);
}

/* Make the included data area scroll independently when long */
.feedback-included-scroll {
  max-height: 60vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* Section cards to differentiate tables on coach feedback index */
.section-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.section-card h1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
}
.section-help {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #6b7280; /* muted */
  font-size: 0.925rem;
}
/* Emphasis variants */
.section-warning {
  background: #fffaf0; /* light amber */
  border-left: 4px solid #f59e0b; /* amber */
}
.section-neutral {
  background: #f8fafc; /* light slate */
  border-left: 4px solid #94a3b8; /* slate */
}
