.academia-shell .section-sa {
  background: #f8fafc;
}

.academia-box {
  background: #fff;
  border: 1px solid #e5edf7;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 26, 61, 0.06);
  padding: 24px;
}

.academia-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.academia-head--stack {
  align-items: flex-start;
}

.academia-title {
  margin: 0 0 8px;
  color: #001a3d;
  font-size: 1.6rem;
  font-weight: 800;
}

.academia-subtitle {
  color: #5c6b82;
  margin: 0;
}

.academia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.academia-card {
  border: 1px solid #e5edf7;
  border-radius: 16px;
  padding: 18px;
  background: #ffffff;
  transition: transform .15s ease, box-shadow .15s ease;
}

.academia-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 26, 61, .08);
}

.academia-card h3 {
  color: #001a3d;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 8px;
}

.academia-card p {
  color: #5c6b82;
  margin-bottom: 16px;
}

.academia-alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0;
  font-size: .95rem;
}

.academia-alert-info {
  background: #e8f3ff;
  color: #003b75;
  border: 1px solid #cfe6ff;
}

.academia-alert-success {
  background: #e9f8f1;
  color: #0b6338;
  border: 1px solid #cdeedc;
}

.academia-alert-warning {
  background: #fff7e6;
  color: #815100;
  border: 1px solid #ffe0a3;
}

.academia-alert-danger {
  background: #fdecec;
  color: #842029;
  border: 1px solid #facaca;
}

.qd-question {
  border: 1px solid #e5edf7;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 16px;
  background: #fff;
}

.qd-question-title {
  font-weight: 750;
  color: #001a3d;
  margin-bottom: 12px;
  line-height: 1.45;
}

.qd-options {
  display: grid;
  gap: 8px;
}

.qd-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #edf2f8;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  line-height: 1.45;
}

.qd-option:hover {
  background: #f7fbff;
}

.qd-option input[type="radio"] {
  flex: 0 0 auto;
  margin-top: 4px;
}

.qd-option-text {
  display: block;
}

.qd-option.correct {
  background: #e9f7ef;
  border-color: #8fd5ad;
  border-left: 5px solid #198754;
}

.qd-option.wrong {
  background: #fdecea;
  border-color: #f0a6ad;
  border-left: 5px solid #dc3545;
}

.qd-respondida-correta {
  background: #f5fff9;
  border-color: #7bd6a1;
}

.qd-respondida-errada {
  background: #fff7f6;
  border-color: #ef9ca5;
}

.qd-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.qd-btn-blue,
.qd-btn-red,
.qd-btn-success {
  border: 0;
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 800;
  cursor: pointer;
}

.qd-btn-blue {
  background: #002b5c;
  color: #fff;
}

.qd-btn-blue:disabled {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
}

.qd-btn-red {
  background: #dc3545;
  color: #fff;
}

.qd-btn-success {
  background: #198754;
  color: #fff;
  cursor: not-allowed;
}

.qd-fundamentacao {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
  color: #40516a;
  font-size: .95rem;
  line-height: 1.55;
}

.qd-lock-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.qd-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.qd-page-current {
  color: #40516a;
  font-weight: 700;
}

@media (max-width: 768px) {
  .academia-box {
    padding: 18px;
  }

  .academia-head {
    display: block;
  }

  .academia-user-actions {
    margin-top: 14px;
  }
}


.qd-fundamentacao-text {
  display: block;
  margin-top: 8px;
}

.qd-fundamentacao-text p {
  margin: 0 0 10px;
}

.qd-fundamentacao-text p:last-child {
  margin-bottom: 0;
}

.academia-shell-aluno .academia-box {
  margin-top: 0;
}

.academia-aluno-content {
  width: 100%;
}
