.exam-page,
.exam-detail-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.exam-toolbar,
.exam-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.exam-detail-header h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0;
}

.exam-card {
  height: 100%;
  border-radius: 8px;
}

.exam-card .ant-card-head-title {
  min-width: 0;
}

.exam-card .ant-card-head-title > .ant-space {
  max-width: 100%;
}

.exam-card .ant-card-head-title span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.exam-meta,
.exam-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.exam-meta span,
.exam-progress span {
  color: rgba(0, 0, 0, 0.55);
}

.exam-progress {
  margin-top: 16px;
}

.exam-empty,
.exam-detail-loading {
  min-height: 360px;
  display: grid;
  place-items: center;
}

.exam-summary {
  border-radius: 8px;
}

@media (max-width: 575px) {
  .exam-toolbar > .ant-space,
  .exam-toolbar .ant-input-affix-wrapper,
  .exam-toolbar .ant-select {
    width: 100% !important;
  }
}
