/* Basic styling for SICH ADHD assessment */

.adhdq-root {
  max-width: 720px;
  margin: 1.5rem auto;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.adhdq-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.adhdq-card + .adhdq-card {
  margin-top: 1rem;
}

.adhdq-heading {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.adhdq-progress {
  margin-bottom: 1rem;
}

.adhdq-progress-bar {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.adhdq-progress-fill {
  height: 100%;
  width: 0%;
  background: #215bc2;
  transition: width 0.2s ease-out;
}

.adhdq-progress-text {
  font-size: 0.9rem;
  color: #555;
}

.adhdq-section {
  font-size: 0.9rem;
  font-weight: 600;
  color: #215bc2;
  margin-bottom: 0.25rem;
}

.adhdq-qtext {
  margin-bottom: 0.75rem;
}

.adhdq-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .adhdq-options {
    grid-template-columns: 1fr;
  }
}

.adhdq-option-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  font-size: 0.95rem;
  background: #fafafa;
  transition: background 0.15s ease-out, border-color 0.15s ease-out, box-shadow 0.15s ease-out, color 0.15s ease-out;
}

.adhdq-option-label:hover {
  background: #f0f4ff;
  border-color: #215bc2;
}

.adhdq-option-label input {
  margin: 0;
}

.adhdq-option-label span.adhdq-option-text {
  flex: 1;
}

.adhdq-option-label.adhdq-selected {
  border-color: #215bc2;
  background: #e4ecff;
  box-shadow: 0 0 0 1px rgba(33,91,194,0.25);
}

.adhdq-nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.adhdq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.adhdq-next {
  margin-top: 0.75rem;
}

.adhdq-btn {
  border-radius: 4px;
  border: 1px solid #215bc2;
  padding: 0.4rem 0.9rem;
  background: #fff;
  color: #215bc2;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.2;
}

.adhdq-btn:hover {
  background: #f0f4ff;
  color: #000000;
}

.adhdq-btn-primary {
  background: #215bc2;
  color: #ffffff;
}

.adhdq-btn-primary:hover {
  background: #1a4a9b;
  color: #ffffff;
}

.adhdq-note {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.adhdq-textarea-wrapper textarea {
  width: 100%;
  min-height: 5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 0.95rem;
}
