.custom-width {
  width: 100%;
  min-height: 1000px;
}

@media (min-width: 768px) {
  .custom-width {
    width: 50%;
  }
}

.sidebar {
  font-size: 14px;
}

.question-container {
  margin-top: 10px;
}

/* Align options horizontally */
.option {
  display: flex;
  align-items: center;
}

.option input[type="checkbox"] {
  margin-right: 10px;
}

.navigation {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

button {
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

button:disabled {
  background-color: #cccccc;
}

/* Explanation Drawer */
.explanation-drawer {
  margin-top: 20px;
  padding: 15px;
  border-top: 2px solid #ccc;
  background-color: #eeedec;
  word-wrap: break-word;
}

/* Option highlighting */
label {
  display: inline;
  padding: 10px;
  margin-top: 5px;
  border-radius: 4px;
}

input[type="radio"]:checked+label {
  font-weight: bold;
}

.questionDescription {
  color: #233672;
  font-family: "Roboto Condensed", "Roboto", sans-serif;
}

.correct-ans {
  background: #dff6dd;
  border: 1px solid #107c10;
}

.incorrect-ans {
  background: #fde7e9;
  border: 1px solid #a80000;
}


/*Radio and checkbox customization*/
.custom-radio,
.custom-checkbox {
  display: none;
}

/* Common styles for both custom radio buttons and checkboxes */
.custom-radio+label,
.custom-checkbox+label {
  position: relative;
  cursor: pointer;
  display: inline-block;
  padding-left: 40px;
  line-height: 20px;
}

.custom-radio+label::before,
.custom-checkbox+label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 30px;
  background-color: #f1eeee;
  border: 2px solid #333;
  transform: translateY(-50%);
}

.custom-radio:disabled+label::before,
.custom-checkbox:disabled+label::before {
  border: 2px solid #fcfcfc;
}

/* Specific styles for custom radio buttons */
.custom-radio+label::before {
  border-radius: 50%;
}

.custom-radio:checked+label::before {
  background-color: #007bff;
  border-color: #007bff;
}

.custom-radio:checked+label::after {
  font-family: Arial, sans-serif;
  content: '\2714';
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translate(-50%, -50%);
}

/* Specific styles for custom checkboxes */
.custom-checkbox+label::before {
  border-radius: 4px;
}

.custom-checkbox:checked+label::before {
  background-color: #007bff;
  border-color: #007bff;
}

.custom-checkbox:checked+label::after {
  font-family: Arial, sans-serif;
  content: '\2714';
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translate(-50%, -50%);
}

/* For incorrect answer X sign */
.custom-checkbox.incorrect+label::after {
  content: '\2716';
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.disabled-btn {
  pointer-events: none; /* Prevents click events */
  opacity: 0.5; /* Makes it look disabled */
}

#questionStatusContainer span{
  width: 30px;
  font-size: small;
  text-align: center;
}

#questionStatusContainer{
  gap: 5px;
}
