.aias-heading {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--primary);
}

.aias-subheading {
  margin-bottom: 24px;
}

.aias-list {
  margin-left: 20px;
}

.aias-list li {
  margin-bottom: 8px;
}

.aias-list-plain {
  list-style-type: none;
  padding: 0;
}

.aias-list-plain li {
  margin-bottom: 12px;
}

.aias-list-plain-lg {
  list-style-type: none;
  padding: 0;
}

.aias-list-plain-lg li {
  margin-bottom: 16px;
}

.aias-card-highlight {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
  border-left: 4px solid var(--primary);
}

.aias-card-spaced {
  margin-top: 40px;
}

.aias-muted {
  font-size: 0.9rem;
  color: var(--muted);
}

.aias-refs {
  font-size: 0.9rem;
  line-height: 1.8;
}

.aias-ref {
  margin-left: 20px;
  margin-bottom: 12px;
}

.aias-ref-compact {
  font-size: 0.85rem;
  line-height: 1.8;
}

.aias-ref-compact .aias-ref {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.quiz-next-btn {
  margin-top: 20px;
}

.quiz-progress-fill {
  width: 0%;
}

.hidden {
  display: none;
}

.question-text {
  font-size: 1.1rem;
  margin: 16px 0;
}

.warning-box {
  background: rgba(245, 158, 11, 0.12);
  border-left: 4px solid var(--warning);
  padding: 12px;
  border-radius: 8px;
  margin-top: 16px;
  color: var(--text);
}

.score-success {
  color: var(--success);
}

.score-warning {
  color: var(--warning);
}

.score-danger {
  color: var(--danger);
}

.aias-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  min-width: 300px;
}

.aias-divider {
  margin: 16px 0;
}

.aias-note-box {
  margin-top: 16px;
  padding: 12px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 8px;
}

.aias-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.aias-modal-content {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}

.aias-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.aias-modal-close:hover {
  opacity: 0.75;
}

.aias-modal-title {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.aias-modal-description {
  margin-bottom: 20px;
  line-height: 1.6;
}

.aias-modal-section {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.aias-modal-section h4 {
  margin-bottom: 8px;
}

.aias-modal-list {
  margin-left: 20px;
}

.aias-modal-list li {
  margin-bottom: 4px;
}

.aias-modal-allowed {
  background: rgba(34, 197, 94, 0.12);
  border-left: 4px solid var(--success);
  color: var(--text);
}

.aias-modal-blocked {
  background: rgba(239, 68, 68, 0.12);
  border-left: 4px solid var(--danger);
  color: var(--text);
}

.aias-modal-tip {
  background: rgba(59, 130, 246, 0.14);
  border-left: 4px solid var(--primary);
  color: var(--text);
}

[data-theme="dark"] .aias-modal-overlay {
  background: rgba(2, 6, 23, 0.78);
}

[data-theme="dark"] .aias-modal-allowed {
  background: rgba(34, 197, 94, 0.12);
  border-left-color: var(--success);
  color: var(--text);
}

[data-theme="dark"] .aias-modal-blocked {
  background: rgba(239, 68, 68, 0.12);
  border-left-color: var(--danger);
  color: var(--text);
}

[data-theme="dark"] .aias-modal-tip {
  background: rgba(59, 130, 246, 0.14);
  border-left-color: var(--primary);
  color: var(--text);
}
