.neet-quiz-pro {
  background: #ffffff;
  border: 1px solid #d9dce1;
  border-radius: 6px;
  padding: 20px;
  font-family: Arial, sans-serif;
  color: #1f2937;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.neet-quiz-pro * {
  box-sizing: border-box;
}

.neet-quiz-header,
.neet-quiz-meta,
.neet-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.neet-quiz-header h2,
.neet-question,
.neet-question-progress,
.neet-timer,
.neet-status,
.neet-result,
.neet-result h3,
.neet-result p {
  color: #111827;
}

.neet-quiz-subheading {
  width: 100%;
  margin: 4px 0 0;
  color: #374151;
  font-size: 16px;
}

.neet-quiz-layout {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 18px;
  margin-top: 14px;
}

.neet-quiz-featured-image {
  margin: 8px 0 14px;
}

.neet-quiz-featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.neet-main-panel {
  min-width: 0;
}

.neet-status {
  margin-top: 10px;
  color: #374151;
  font-size: 14px;
}

.neet-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 14px 0;
}

.neet-option,
.neet-actions button,
.neet-palette-btn,
.neet-language-toggle {
  border: 1px solid #9ca3af;
  background: #ffffff;
  color: #111827;
  font-size: 15px;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.neet-option {
  text-align: left;
  min-height: 46px;
}

.neet-option:hover,
.neet-actions button:hover,
.neet-palette-btn:hover,
.neet-language-toggle:hover {
  background: #f9fafb;
  border-color: #6b7280;
}

.neet-option.selected {
  background: #e8f0ff;
  border-color: #1d4ed8;
  color: #0f172a;
}

.neet-palette {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}

.neet-palette-btn {
  min-height: 40px;
  font-weight: 600;
}

.neet-palette-btn.answered {
  background: #dcfce7;
  border-color: #22c55e;
}

.neet-palette-btn.wrong {
  background: #fee2e2;
  border-color: #ef4444;
  color: #7f1d1d;
}

.neet-palette-btn.correct {
  background: #dcfce7;
  border-color: #22c55e;
  color: #14532d;
}

.neet-palette-btn.review {
  background: #fef3c7;
  border-color: #f59e0b;
}

.neet-palette-btn.active {
  outline: 2px solid #1f2937;
  outline-offset: 1px;
}

.neet-actions {
  margin-top: 8px;
  gap: 8px;
}

.neet-actions button {
  min-width: 120px;
}

.neet-result {
  border-top: 1px solid #e5e7eb;
  margin-top: 18px;
  padding-top: 14px;
}

@media (max-width: 992px) {
  .neet-quiz-pro {
    padding: 16px;
  }

  .neet-quiz-layout {
    grid-template-columns: 1fr;
  }

  .neet-palette {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .neet-actions button {
    min-width: 0;
    flex: 1 1 calc(50% - 8px);
  }
}

@media (max-width: 640px) {
  .neet-quiz-pro {
    padding: 12px;
    border-radius: 4px;
  }

  .neet-quiz-header h2 {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 6px;
  }

  .neet-question {
    font-size: 18px;
    line-height: 1.45;
  }

  .neet-quiz-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .neet-option,
  .neet-actions button,
  .neet-language-toggle,
  .neet-palette-btn {
    font-size: 16px;
    min-height: 48px;
  }

  .neet-actions button,
  .neet-language-toggle {
    width: 100%;
    flex: 1 1 100%;
  }

  .neet-palette {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .neet-quiz-pro {
    padding: 10px;
  }

  .neet-quiz-header h2 {
    font-size: 22px;
  }

  .neet-option,
  .neet-actions button,
  .neet-language-toggle,
  .neet-palette-btn {
    font-size: 15px;
    min-height: 46px;
    padding: 9px 10px;
  }

  .neet-palette {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }
}
