#coach-cycles-page {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.coach-cycles-page-section {
  padding-top: 10px;
}

.coach-cycles-card {
  border-top: 4px solid var(--orange);
  padding: 28px;
}

.coach-cycles-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.coach-cycles-header-copy {
  max-width: 700px;
}

.coach-cycles-kicker {
  margin: 0 0 8px 0;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.coach-cycles-title {
  margin: 0 0 10px 0;
  color: var(--black);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.coach-cycles-subtitle {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.coach-cycles-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.coach-cycles-create-btn {
  white-space: nowrap;
}

.coach-cycles-table-wrap {
  overflow-x: auto;
}

.coach-cycles-table {
  margin-top: 4px;
}

.coach-cycles-row td {
  vertical-align: middle;
}

.coach-cycles-name-cell {
  font-weight: 700;
  color: var(--black);
}

.coach-cycles-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
}

.coach-cycles-status-open {
  background: #fff0e8;
  color: var(--orange-dark);
  border: 1px solid #ffd1b8;
}

.coach-cycles-status-closed {
  background: #f3f4f6;
  color: #4b5563;
  border: 1px solid #dde1e6;
}

.coach-cycles-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.coach-cycles-delete-form {
  display: inline-flex;
  margin: 0;
}

.coach-cycles-empty-state {
  padding-top: 4px;
}

.coach-cycles-empty-state p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

@media (max-width: 780px) {
  .coach-cycles-card {
    padding: 22px 18px;
  }

  .coach-cycles-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .coach-cycles-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .coach-cycles-create-btn {
    width: 100%;
    text-align: center;
  }

  .coach-cycles-action-group {
    flex-direction: column;
    align-items: stretch;
  }

  .coach-cycles-action-group .btn-small,
  .coach-cycles-delete-form .btn-small {
    width: 100%;
    text-align: center;
  }
}