.sdev-tool-dq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  margin: 20px auto;
  max-width: 680px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  font-family: inherit;
  color: #1e293b;
  box-sizing: border-box;
}

.sdev-tool-dq-card *,
.sdev-tool-dq-card *::before,
.sdev-tool-dq-card *::after {
  box-sizing: border-box;
}

.sdev-tool-dq-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.sdev-tool-dq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 15px;
  padding: 6px 12px;
  border-radius: 999px;
}

.sdev-tool-dq-date {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
}

.sdev-tool-dq-meta {
  margin-bottom: 10px;
}

.sdev-tool-dq-cat {
  display: inline-block;
  font-size: 12.5px;
  color: #475569;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 10px;
  border-radius: 6px;
}

.sdev-tool-dq-question {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.sdev-tool-dq-image-wrap {
  margin-bottom: 16px;
  text-align: center;
}

.sdev-tool-dq-image {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.sdev-tool-dq-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sdev-tool-dq-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  min-height: 48px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15.5px;
  line-height: 1.45;
  color: #1e293b;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.1s ease;
}

.sdev-tool-dq-option:hover:not(:disabled) {
  background: #eff6ff;
  border-color: #3b82f6;
}

.sdev-tool-dq-option:active:not(:disabled) {
  transform: scale(0.99);
}

.sdev-tool-dq-option:disabled {
  cursor: default;
}

.sdev-tool-dq-opt-label {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #94a3b8;
  color: #334155;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sdev-tool-dq-opt-text {
  flex: 1;
}

.sdev-tool-dq-opt-mark {
  font-size: 16px;
  font-weight: 700;
}

/* सही और गलत उत्तर के रंग */
.sdev-tool-dq-option.is-correct {
  background: #ecfdf5;
  border-color: #16a34a;
  color: #14532d;
}

.sdev-tool-dq-option.is-correct .sdev-tool-dq-opt-label {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.sdev-tool-dq-option.is-wrong {
  background: #fef2f2;
  border-color: #dc2626;
  color: #7f1d1d;
}

.sdev-tool-dq-option.is-wrong .sdev-tool-dq-opt-label {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.sdev-tool-dq-feedback {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}

.sdev-tool-dq-feedback.is-success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.sdev-tool-dq-feedback.is-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.sdev-tool-dq-feedback.is-info {
  background: #e0f2fe;
  color: #075985;
  border: 1px solid #7dd3fc;
}

.sdev-tool-dq-explanation {
  margin-top: 14px;
  padding: 14px;
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  border-radius: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #334155;
}

.sdev-tool-dq-exp-title {
  font-weight: 700;
  color: #b45309;
  margin-bottom: 6px;
}

.sdev-tool-dq-exp-body p:last-child {
  margin-bottom: 0;
}

.sdev-tool-dq-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.sdev-tool-dq-btn-reveal,
.sdev-tool-dq-btn-share {
  flex: 1 1 auto;
  min-height: 42px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s ease;
}

.sdev-tool-dq-btn-reveal {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

.sdev-tool-dq-btn-share {
  background: #16a34a;
  color: #ffffff;
}

.sdev-tool-dq-btn-reveal:hover,
.sdev-tool-dq-btn-share:hover {
  opacity: 0.92;
}

.sdev-tool-dq-empty {
  padding: 16px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  text-align: center;
  color: #64748b;
}

@media (max-width: 480px) {
  .sdev-tool-dq-card {
    padding: 16px;
  }
  .sdev-tool-dq-question {
    font-size: 16.5px;
  }
  .sdev-tool-dq-option {
    font-size: 14.5px;
    padding: 10px 12px;
  }
}
.sdev-tool-dq-option:disabled {
  opacity: 1;
}
