.tests-results {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

.tests-results-header {
  background: linear-gradient(135deg, #1c3faa, #15357f);
  color: #fff;
  padding: 28px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 12px 24px rgba(28, 63, 170, 0.25);
}

.tests-results-header h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.tests-results-header p {
  margin: 0;
  font-size: 15px;
  opacity: 0.9;
}

.tests-results-panel {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.tests-results-summary {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  margin-bottom: 20px;
  color: #1f2937;
}

.tests-results-summary div {
  background: #f8fafc;
  padding: 12px 18px;
  border-radius: 12px;
  min-width: 140px;
  text-align: center;
}

.tests-results-summary strong {
  display: block;
  font-size: 20px;
}

.tests-results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tests-result-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}

.tests-result-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #1f2937;
}

.tests-result-card p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.tests-result-score {
  font-weight: 700;
  color: #1c3faa;
}

@media (max-width: 640px) {
  .tests-result-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
