
body {
  background-color: #f8f9fa;
  color: #343a40;
}

body > #body-container {
  margin-top: 3rem !important;
}

.container {
  margin-bottom: 20px;
}

.container > h2 {
  padding-top: 2rem;
}

.form-check-label {
  margin-bottom: 0;
  width: 80%;
}

.question {
  margin-top: 10px;
}

#questionnaire {
  margin: auto;
  max-width: 800px !important;
}

.navigation-buttons {
  max-width: 100%;
  padding: 10px;
  margin: auto;
  position: sticky;
  bottom: 0px;
  background-color: #f8f9fa;
  height: 60px;  
  border-top: #bbb solid 1pt;
}

.growth-section {
  background-color: #E1EBE3; /* Background color */
  padding: 30px;
  margin-top: 20px;
  border-radius: 8px;
  margin-bottom: 20px; /* Ensures separation between sections */
}

.growth-section h5 {
  color: #333;
  font-weight: bold;
  margin-bottom: 15px;
}

.growth-section ul {
  padding-left: 20px;
}

.growth-section ul li {
  margin-bottom: 10px;
}


.card-header {
  background-color: #E1EBE3;
  /* font-weight: bold; */
  font-size: 1.2rem;
  text-transform: uppercase;
  font-family: 'FreeSpirited', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

#page-results .card-body {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

#rad-der-reife {
  display: none;
}

/* Container for each option with better alignment */
.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* Spacing between each option */
}

/* Styling for the radio button to adjust alignment */
.form-check-input {
  margin-right: 10px; /* Space between radio button and number */  
  visibility: hidden; /* Hide the radio button */
}

/* Styling for the label to align it properly */
.form-check-label {
  margin-left: 10px; /* Space between number and label */
  font-size: 16px; /* Adjust for readability */
}


.form-check-input:before {
  content: '';
  display: none !important;
  width: 8px;
  height: 8px;
  background-color: #4b4b4b; /* Dark gray color for checked state */
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

input[type='radio']:after {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top:  -6px;
  left: 0px;
  position: relative;
  background-color: #e1ebe3;
  content: '';
  display: inline-block;
  visibility: visible;
  cursor: pointer;
  outline: 1px solid #e1ebe3;
}

input[type='radio']:checked:after {
    width: 10px;
    height: 10px;
    border-radius: 15px;
  top:  -8px;
    left: 2px;
    position: relative;
    background-color: #132f18;
    content: '';
    display: inline-block;
    visibility: visible;
  cursor: pointer;
    outline: 4px solid #9dcaa6;
    /* border: 1pt #333 solid; */
}

.form-check-label {
  cursor: pointer; /* Change cursor to pointer when hovering over label */
}

#show-result {
  margin: auto;
}

.growth-section a {
  color: #1c892e;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 10px 36px 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  font-size: 16px;
  color: #333;
  width: 100%;
  max-width: 300px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

select:hover {
  background-color: #f1f1f1;
  cursor: pointer;
}

select:focus {
  border-color: #7c7c7c;
  box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
  outline: none;
}

.question .form-select {
  margin-left: 10px;
  /* margin-top: 1.5em; */
  display: block;
}

.question > label {
  font-weight: 400;
  margin-top: 1.2em;
  margin-bottom: 1em;
}


@media (max-width: 420px) {

  .question > label {
    font-weight: 400;
    font-size: 0.91rem;
  }

  .card-header {
    font-size: 1.15rem;
  }  
}



/* Container styling for the numbers */
.number-container {
  display: flex;
  justify-content: space-around; /* Evenly space the items */
  align-items: center;
  padding: 10px 0;
  border-bottom: 3px solid #0066cc; /* Blue underline */
}

/* Styling for individual number blocks */
.number {  
  background-color: #e1ebe3; /* Blue color */
  color: black; /* White text color */
  border-radius: 5px; /* Rounded corners */
  padding: 3px; /* Padding for uniform size */
  margin-left: 5px;
  font-size: 15px; /* Adjust font size for visibility */
  font-weight: bold; /* Make the numbers bold */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  cursor: pointer; /* Make it look like a button */
  transition: background-color 0.3s, transform 0.2s;
}

/* Add a hover effect for better interactivity */
.number:hover {
  background-color: #e1ebe3; /* Darker shade on hover */
  transform: scale(1.1); /* Slight scaling effect on hover */
}

.card-body {
  padding-top: 0em;
}


.progress-container {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: white;
  margin-top: 0;
}

.progress {
  height: 25px;
}

.progress-bar {
  /* background-color: #86d394;  */
  background-color: #a2c6aa; /* Green color */
  height: 25px;
  transition: width 0.5s;
  position: relative;
  z-index: 1;
}

/* Center the percentage inside the progress bar */
#progress-percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 17px;
  /* font-weight: bold; */
  color: black;
  z-index: 2;
}

.sticky-header {
  position: sticky;
  top: 25px; /* This places it below the progress bar */
  z-index: 1000;
  background-color: #f8f9fa; /* Keep the header background solid */
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  margin-top: 0px !important;
  border-bottom: 1pt solid #61926b;
}

.container {
  margin-top: 20px; /* Add some margin to make space below the sticky header */
}

#backToReview {
  margin-left: 1.4em;
}

#downloadRadarChart {
  display: none;
  margin-right: 1.4em;
}

.hide-question {
  visibility: hidden !important;

  height: 50px;

  input {
    display: none;
  }
}

.growth-section p {
  margin-bottom: 0px;
}

.growth-section ul{
  margin-bottom: 0px; /* Remove bottom margin if needed */

  li:last-child {
    margin-bottom: 0px; /* Remove bottom margin if needed */
  }
}

.needs-to-be-checked {
  color: red;
}

.dein-score-text {
  font-style:italic; 
  margin-bottom: 12px;
}