/* Project dashboard (engagements#show) */
.kr-section-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 70px;
  margin-bottom: 30px;
}

.kr-dashboard-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.kr-dashboard-right {
  flex: 1 1 auto;
  min-width: 0;
  max-height: 400px;
  overflow: auto;
}

.kr-dashboard-subheading {
  font-size: 20px;
  margin: 10px 0 16px;
}

.kr-top-five th {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #637480;
  background-color: #f4f6f8;
}

.kr-row-link {
  cursor: pointer;
}

.kr-row-link:hover td {
  background-color: #f4f6f8;
}

.kr-top-five-link {
  color: #1d4c7e;
  text-decoration: none;
}

/* Sections table */
.kr-bootstrap-table .bootstrap-table.bootstrap5 .sections-table-name {
  width: auto;
}

.kr-bootstrap-table .bootstrap-table.bootstrap5 .sections-table-status {
  width: 230px;
  text-align: center;
}

.kr-bootstrap-table .bootstrap-table.bootstrap5 .sections-table-area {
  width: 220px;
}

.kr-bootstrap-table .bootstrap-table.bootstrap5 .sections-table-progress {
  width: 200px;
}

.kr-bootstrap-table .bootstrap-table.bootstrap5 .sections-table-edit-button,
.kr-bootstrap-table .bootstrap-table.bootstrap5 .sections-table-delete-button {
  width: 150px;
}

.kr-bootstrap-table .bootstrap-table.bootstrap5 .detail-icon {
  color: #1d4c7e;
  text-decoration: none;
  font-size: 16px;
}

/* Expanded section row: the action items table (legacy SectionActionItems) */
.kr-row-detail {
  max-width: 1000px;
  max-height: 300px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  padding: 12px 18px;
}

.kr-row-detail-table th {
  font-weight: 500;
  font-size: 12px;
  color: #637480;
  background-color: #f4f6f8;
}

.kr-row-detail-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.kr-row-detail-progress .kr-progress-percentage {
  flex: 1 1 auto;
}

.kr-row-detail-percent {
  font-size: 12px;
  color: #637480;
  min-width: 36px;
  text-align: right;
}

@media (max-width: 992px) {
  .kr-section-container {
    flex-direction: column;
    gap: 24px;
  }
}
