body.page-template-assignment-panel {
  background-color: #f5f5f5;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}
body.page-template-assignment-panel .site,
body.page-template-assignment-panel .entry-content,
body.page-template-assignment-panel .container {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.dashboard-header-bar {
  background-color: #972141;
  padding: 1.25rem 0 0.75rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.dashboard-title {
  color: #fff;
  font-size: 2rem;
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
  font-family: 'roboto', 'Courier New', Courier, monospace;
}

.preview-button {
  background: none;
  border: 1px solid #972141;
  color: #972141;
  border-radius: 6px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
}
.preview-options label {
  display: block;
  margin: 6px 0;
}

.preview-answer-input {
  width: 100%;
  padding: 8px;
  margin-top: 10px;
}
.preview-matching {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.preview-matching th, .preview-matching td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}
.upload-box {
  margin-top: 12px;
}
.preview-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 10px;
  text-align: center;
}
.preview-image-wrapper {
  text-align: center;
  margin: 10px 0;
  max-width: 100%;
}
.preview-question img {
  max-height: 180px;
  width: auto;
  display: block;
  margin: 0 auto;
}
.mcq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.mcq-option {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: border 0.2s ease;
}
.mcq-option:hover {
  border-color: #972141; /* Me and Math primary color */
}
.mcq-option input[type="radio"] {
  display: none;
}
.truefalse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.mcq-option {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: border 0.2s ease;
}
.mcq-option:hover {
  border-color: #972141;
}
.mcq-option input[type="radio"] {
  margin-right: 8px;
}
.answer-feedback {
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}
.answer-feedback .correct {
  color: #2d8a44;
}
.answer-feedback .incorrect {
  color: #c62828;
}
.mcq-option {
  display: block;
  padding: 10px 12px;
  border: 2px solid #ccc;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.mcq-option input[type="radio"] {
  display: none;
}
.mcq-option.correct {
  border-color: #2d8a44;
  background-color: #2df766;
}
.mcq-option.incorrect {
  border-color: #c62828;
  background-color: rgba(255, 0, 0, 0.8);
}
.drag-drop-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 20px;
}
.drag-column {
  flex: 1;
}
.drop-zone {
  margin-bottom: 14px;
}
.drop-target {
  display: inline-block;
  min-width: 100px;
  padding: 6px 12px;
  border: 2px dashed #ccc;
  margin-left: 10px;
  background-color: #f9f9f9;
  border-radius: 6px;
}
.drag-over {
  background-color: #fffbe6;
  border-color: #aaa;
}
.draggable-option {
  background-color: #f0f0f0;
  padding: 8px 12px;
  margin-bottom: 10px;
  border: 2px solid #ccc;
  border-radius: 6px;
  cursor: grab;
  text-align: center;
}
.correct-drop {
  background-color: #e6f4ea;
  border-color: #2d8a44;
}
.incorrect-drop {
  background-color: #fbeaea;
  border-color: #c62828;
}
.drop-feedback {
  margin-left: 10px;
  font-size: 1.2rem;
}
.show-work-box {
  margin-top: 16px;
  padding: 12px;
  background-color: #f8f8f8;
  border: 2px dashed #ccc;
  border-radius: 8px;
}
.show-work-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #972141;
}
.show-work-input {
  display: block;
  padding: 6px;
  font-size: 0.95rem;
}
.show-work-note {
  font-size: 0.85rem;
  color: #888;
  margin-top: 6px;
}
.preview-button:hover {
  background-color: #972141;
  color: #fff;
}
/*preview layout ends*/
.subskill-group {
  margin-left: 1rem;
  border-left: 3px solid #eee;
  padding-left: 1rem;
}

