/* Question card */
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .question-container {
  padding: 10px;
  border-bottom: 1px solid rgb(180 191 255);
  border-radius: 20px;
  margin-bottom: 20px;
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .question { font-size:17px; line-height:25px; color:#000; }

/* Line break in MathJax Latex Questions & Explanations*/
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .question,
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .option-text,
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .explanation > div {
  white-space: pre-line;
}
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .question mjx-container[jax="CHTML"],
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .option-text mjx-container[jax="CHTML"],
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .explanation mjx-container[jax="CHTML"] {
  white-space: normal !important;
  max-width: 100%;
  font-size: 100% !important;
}
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .explanation mjx-utext[variant="-explicitFont"],
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .question mjx-utext[variant="-explicitFont"],
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .option-text mjx-utext[variant="-explicitFont"] {
  width: auto !important;
  min-width: max-content !important;
  display: inline-block !important;
  overflow: visible !important;
}

:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) mjx-container[jax="CHTML"][display="true"] {
    display: block;
    text-align: left !important;
    margin: 1px 6px 3px 6px !important;
}


/* Options */
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .option {
  margin: 0 0 2px 22px;
  position: relative;
  padding: 3px;
  border-radius: 5px;
  font-size: 15px;
  line-height: 22px;
}
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .correct { color:#000; font-weight:400; }
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .incorrect { color:#bababa; }
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .option-text { cursor:pointer; }

/* Tick mark */
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .tick-mark {
  display:none;
  position:absolute;
  left:-20px;
  top:50%;
  transform:translateY(-50%);
  width:15px;
  height:15px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  pointer-events:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><defs><radialGradient id='g' cx='30%25' cy='30%25' r='75%25'><stop offset='0' stop-color='%2328D928'/><stop offset='.55' stop-color='%230FA80F'/><stop offset='1' stop-color='%23076E07'/></radialGradient><filter id='s' x='-20%25' y='-20%25' width='140%25' height='140%25'><feDropShadow dx='0' dy='1' stdDeviation='1' flood-color='%23000' flood-opacity='.25'/></filter></defs><circle cx='32' cy='32' r='29' fill='url(%23g)'/><circle cx='32' cy='32' r='29' fill='none' stroke='%23065306' stroke-opacity='.25' stroke-width='2'/><circle cx='32' cy='32' r='31' fill='none' stroke='%23fff' stroke-width='2.5'/><path d='M18 34l9 9 19-20' fill='none' stroke='%23000' stroke-opacity='.18' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'/><path d='M18 34l9 9 19-20' fill='none' stroke='%23fff' stroke-width='7' stroke-linecap='round' stroke-linejoin='round' filter='url(%23s)'/></svg>"); 
}
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .tick-mark::before { content:none !important; }
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .tick-mark-incorrect,
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .tick-mark-incorrect::before { display:none !important; content:none !important; }

  

/* Explanation*/
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .explanation {
  background:#f5f5f5;
  color:#000;
  padding:10px;
  border-radius:10px;
  font-size:14px;
  line-height:22px;
}
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .explanation p { margin:8px 0; }
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .correct-answer-title,
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .explanation-title { color:green; }

/* MCQ format styling*/
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .gkaim-mcq-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 15px;
}

:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .gkaim-mcq-table th,
:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .gkaim-mcq-table td {
  border: 1px solid #d9d9d9;
  padding: 7px 9px;
  text-align: left;
  vertical-align: top;
}

:where(.gkaim-mcq-root,.gkaim-saved-items,.gkaim-edit-preview) .gkaim-mcq-table th {
  background: #f3f7fb;
  font-weight: 700;
}

