/* Additional custom styles for results page */
.summary-section {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
}

.detailed-breakdown table {
  margin-top: 20px;
}

.detailed-breakdown .text-success {
  color: #28a745;
}

.detailed-breakdown .text-danger {
  color: #dc3545;
}

/* General Styling */
#result-div {
  font-family: 'Roboto', sans-serif;
}

.circle-bg {
  fill: none;
  stroke: #eee;
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke: #4caf50;
  stroke-width: 3.8;
  stroke-linecap: round;
  transform: rotate(0deg);
  transform-origin: center;
  transition: stroke-dasharray 0.6s ease-out;
}

.circle-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  font-weight: bold;
  color: #333; /* Adjust the color of the text */
  text-align: center;
}

.btn-fixed-width {
  min-width: 150px;
}

#score-chart {
  position: relative;
  width: 100%;
  max-width: 200px; /* Adjust to your desired max size */
  height: auto;
}

.alert {
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 100%;
}

a.btn-primary {
  border: none;
  outline: none;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(45deg, #1976D2, #42A5F5);
  color: white;
  font-family: 'Poppins', Arial, sans-serif !important;
}

a.btn-primary:hover {
  background: linear-gradient(45deg, #42A5F5, #64B5F6);
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

a.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */

@media (max-width: 767.98px) {
  .circular-chart {
    max-width: 100px;
    max-height: 100px;
  }
  .alert {
    font-size: 0.9rem;
  }
  .explore-more-tests, .review-test {
    width: 100%;
    display: block;
  }
}
