/* coach_athletes.css */

#coach-athletes-page {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.coach-athletes-page-section {
  padding-top: 10px;
}

.coach-athletes-card {
  border-top: 4px solid var(--orange);
  padding: 28px;
}

.coach-athletes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.coach-athletes-header-copy {
  max-width: 700px;
}

.coach-athletes-kicker {
  margin: 0 0 8px 0;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.coach-athletes-title {
  margin: 0 0 10px 0;
  color: var(--black);
  font-size: clamp(1.95rem, 4vw, 2.7rem);
  line-height: 1.1;
}

.coach-athletes-subtitle {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.coach-athletes-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.coach-athletes-search-wrap {
  margin-bottom: 12px;
}

.coach-athletes-table-wrap {
  overflow-x: auto;
}

.coach-athletes-name-cell {
  font-weight: 700;
  color: var(--black);
}

.coach-athletes-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.coach-athletes-delete-form {
  display: inline-flex;
  margin: 0;
}

.coach-athletes-empty-state p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}


/* coach_athlete_detail.css */
#coach-athlete-detail-page {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.coach-athlete-detail-page-section {
  padding-top: 10px;
}

.coach-athlete-detail-hero-card,
.coach-athlete-detail-waiver-card,
.coach-athlete-detail-attendance-card {
  border-top: 4px solid var(--orange);
}

.coach-athlete-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.coach-athlete-detail-kicker {
  margin: 0 0 8px 0;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.coach-athlete-detail-title {
  margin: 0;
  color: var(--black);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.coach-athlete-detail-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.coach-athlete-detail-meta-grid,
.coach-athlete-detail-info-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.coach-athlete-detail-meta-grid {
  grid-template-columns: repeat(3, 1fr);
}

.coach-athlete-detail-info-grid {
  grid-template-columns: repeat(2, 1fr);
}

.coach-athlete-detail-meta-item,
.coach-athlete-detail-info-item {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coach-athlete-detail-meta-label,
.coach-athlete-detail-info-label {
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.coach-athlete-detail-meta-value,
.coach-athlete-detail-info-value {
  color: var(--black);
  line-height: 1.6;
  font-weight: 600;
}

.coach-athlete-detail-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.coach-athlete-detail-section-kicker {
  margin: 0 0 6px 0;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.coach-athlete-detail-summary-pill {
  background: #fff0e8;
  color: var(--orange-dark);
  border: 1px solid #ffd1b8;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.coach-athlete-detail-table-wrap {
  overflow-x: auto;
}

.coach-athlete-detail-empty-text {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

/* add_existing_athlete_to_cycle.css */

#add-existing-athlete-page {
  width: min(820px, 92%);
  margin: 0 auto;
}

.add-existing-athlete-page-section {
  padding-top: 10px;
}

.add-existing-athlete-card {
  border-top: 4px solid var(--orange);
  padding: 28px;
}

.add-existing-athlete-header {
  margin-bottom: 24px;
}

.add-existing-athlete-kicker {
  margin: 0 0 8px 0;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.add-existing-athlete-title {
  margin: 0 0 10px 0;
  color: var(--black);
  font-size: clamp(1.95rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.add-existing-athlete-subtitle {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.add-existing-athlete-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.add-existing-athlete-label {
  margin-bottom: 8px;
  color: var(--black);
  font-weight: 700;
  font-size: 0.95rem;
}

.add-existing-athlete-actions {
  margin-top: 8px;
}

.add-existing-athlete-submit-btn {
  min-width: 220px;
}

.add-existing-athlete-empty-state p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

/* edit_athlete.css */

#edit-athlete-page {
  width: min(900px, 92%);
  margin: 0 auto;
}

.edit-athlete-page-section {
  padding-top: 10px;
}

.edit-athlete-card {
  border-top: 4px solid var(--orange);
  padding: 28px;
}

.edit-athlete-header {
  margin-bottom: 22px;
}

.edit-athlete-kicker {
  margin: 0 0 8px 0;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.edit-athlete-title {
  margin: 0 0 10px 0;
  color: var(--black);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  line-height: 1.1;
}

.edit-athlete-subtitle {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.edit-athlete-form {
  margin-top: 10px;
}

.edit-athlete-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.edit-athlete-grid input,
.edit-athlete-grid select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
}

.edit-athlete-grid input:focus,
.edit-athlete-grid select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.15);
}

.edit-athlete-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
}

.edit-athlete-submit-btn {
  min-width: 200px;
}

@media (max-width: 768px) {
  #coach-athletes-page {
    width: min(100%, 94%);
  }

  .coach-athletes-page-section {
    padding-top: 6px;
  }

  .coach-athletes-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .coach-athletes-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
  }

  .coach-athletes-header-copy {
    max-width: 100%;
  }

  .coach-athletes-kicker {
    font-size: 0.76rem;
    margin-bottom: 6px;
  }

  .coach-athletes-title {
    font-size: 1.7rem;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .coach-athletes-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .coach-athletes-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .coach-athletes-export-btn {
    width: 100%;
    text-align: center;
  }

  .coach-athletes-search-wrap {
    margin-bottom: 14px;
  }

  .coach-athletes-search-input {
    width: 100%;
    max-width: 100%;
  }

  .coach-athletes-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
  }

  .coach-athletes-table {
    min-width: 640px;
  }

  .coach-athletes-table th,
  .coach-athletes-table td {
    padding: 10px;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .coach-athletes-name-cell {
    min-width: 160px;
  }

  .coach-athletes-action-group {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 110px;
  }

  .coach-athletes-action-group .btn-small,
  .coach-athletes-delete-form .btn-small {
    width: 100%;
    text-align: center;
  }

  .coach-athletes-delete-form {
    width: 100%;
  }

  .coach-athletes-empty-state {
    padding: 6px 0 2px 0;
  }

  .coach-athletes-empty-state p {
    font-size: 0.96rem;
  }
}

@media (max-width: 768px) {
  #coach-athlete-detail-page {
    width: min(100%, 94%);
  }

  .coach-athlete-detail-page-section {
    padding-top: 6px;
  }

  .coach-athlete-detail-hero-card,
  .coach-athlete-detail-waiver-card,
  .coach-athlete-detail-attendance-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .coach-athlete-detail-header,
  .coach-athlete-detail-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .coach-athlete-detail-kicker,
  .coach-athlete-detail-section-kicker {
    font-size: 0.76rem;
  }

  .coach-athlete-detail-title {
    font-size: 1.7rem;
    line-height: 1.15;
  }

  .coach-athlete-detail-header-actions {
    width: 100%;
  }

  .coach-athlete-detail-header-actions .btn {
    width: 100%;
    text-align: center;
  }

  .coach-athlete-detail-meta-grid,
  .coach-athlete-detail-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .coach-athlete-detail-meta-item,
  .coach-athlete-detail-info-item {
    padding: 14px;
  }

  .coach-athlete-detail-meta-label,
  .coach-athlete-detail-info-label {
    font-size: 0.76rem;
  }

  .coach-athlete-detail-meta-value,
  .coach-athlete-detail-info-value {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .coach-athlete-detail-summary-pill {
    width: 100%;
    text-align: center;
    font-size: 0.88rem;
    padding: 10px 12px;
  }

  .coach-athlete-detail-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
  }

  .coach-athlete-detail-table {
    min-width: 700px;
  }

  .coach-athlete-detail-table th,
  .coach-athlete-detail-table td {
    padding: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .coach-athlete-detail-empty-text {
    font-size: 0.96rem;
  }
}

@media (max-width: 768px) {
  #add-existing-athlete-page {
    width: min(100%, 94%);
  }

  .add-existing-athlete-page-section {
    padding-top: 6px;
  }

  .add-existing-athlete-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .add-existing-athlete-kicker {
    font-size: 0.76rem;
  }

  .add-existing-athlete-title {
    font-size: 1.7rem;
    line-height: 1.15;
  }

  .add-existing-athlete-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .add-existing-athlete-field {
    margin-bottom: 14px;
  }

  .add-existing-athlete-label {
    font-size: 0.92rem;
  }

  .add-existing-athlete-submit-btn {
    width: 100%;
    text-align: center;
  }

  .add-existing-athlete-empty-state p {
    font-size: 0.96rem;
  }
}

@media (max-width: 768px) {
  #edit-athlete-page {
    width: min(100%, 94%);
  }

  .edit-athlete-page-section {
    padding-top: 6px;
  }

  .edit-athlete-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .edit-athlete-kicker {
    font-size: 0.76rem;
  }

  .edit-athlete-title {
    font-size: 1.7rem;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .edit-athlete-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .edit-athlete-form {
    margin-top: 8px;
  }

  .edit-athlete-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .edit-athlete-grid input,
  .edit-athlete-grid select {
    padding: 11px 12px;
    font-size: 0.96rem;
  }

  .edit-athlete-actions {
    margin-top: 16px;
  }

  .edit-athlete-submit-btn {
    width: 100%;
    text-align: center;
  }
}