/* MCQ styles */
.edug-wrapper.mcq {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 10px;
    border: solid 3px #111827;
}
.mcq-result {
  margin-top: 10px;
  font-weight: bold;
}
.mcq-success {
  color: #10b981; /* سبز */
}
.mcq-error {
  color: #ef4444; /* قرمز */
}
.mcq-warning {
  color: #f59e0b; /* زرد */
}
.mcq-options label {
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    background: #fff;
    border: solid 1px #efefef;
    font-size: 12px;
}
.mcq-correct {
  background: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
}
.mcq-wrong {
  background: #fef2f2 !important;
  border: 1px solid #ef4444 !important;
}
.mcq-question-block {
    padding: 10px;
}
.mcq-question-block p {
    border-bottom: solid 1px #e1e1e1;
}
.mcq-result-global {
  margin-top: 15px;
  font-weight: bold;
  font-size: 16px;
}
.mcq-result-global {
  margin-top: 15px;
  font-weight: bold;
  font-size: 16px;
}
.mcq-actions {
    margin: 30px 0px 10px 0px;
}

/* Ordering styles */
.ordering-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ordering-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 0px 12px;
  border-radius: 6px;
  margin-bottom: 6px;
  cursor: grab;
  list-style: none !important;
  font-size: 12px !important;
}
.ordering-item:active {
  cursor: grabbing;
}
.ddq-ghost {
  opacity: 0.6;
}
.ordering-result {
  margin-top: 10px;
  font-weight: bold;
}
.edug-wrapper.ordering {
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 10px;
    border: solid 3px #111827;
}

/* Drag & Drop styles */
.ddq-wrapper {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  background: #fff;
}
.ddq-columns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.ddq-col {
    flex: 1;
    min-width: 280px;
    background: #f2f2f2;
    border: 3px solid #111827;
    border-radius: 10px;
}
.ddq-col-head {
  padding: 10px 12px;
  font-weight: 700;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 10px 10px 0 0;
}
.ddq-dropzone {
  list-style: none;
  margin: 0;
  padding: 10px;
  min-height: 180px;
}
.ddq-item {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px;
  margin: 8px 0;
  cursor: grab;
  transition: background 0.2s, border 0.2s;
}
.ddq-item:active {
  cursor: grabbing;
}
.ddq-handle {
  font-size: 18px;
  opacity: 0.5;
  line-height: 20px !important;
}
.ddq-text {
  flex: 1;
  font-size:12px;
  line-height: 20px !important;
}
.ddq-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}
.ddq-btn {
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  cursor: pointer;
}
.ddq-btn:hover {
  opacity: 0.9;
}
.ddq-result {
  margin-top: 10px;
  font-weight: 700;
}
.ddq-correct {
  border: 2px solid #10b981;
  background: #ecfdf5;
}
.ddq-wrong {
  border: 2px solid #ef4444;
  background: #fef2f2;
}
.ddq-ghost {
  opacity: 0.6;
}
