/* Botão de alternância */
.toggle-panel-btn {
  background: #d97706;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 12px;
  transition: background 0.2s ease;
}

.toggle-panel-btn:hover {
  background: #b45309;
}

/* Ocultar painel */
.hidden-panel {
  display: none!important;
}

/* Painel principal */
.notice-panel {
  --bg: #f9fafb;
  --border: #e5e7eb;
  --text: #1f2937;
  --muted: #374151;
  --accent: #d97706;

  display: flex;
  gap: 14px;
  align-items: flex-start;

  max-width: 720px;
  padding: 16px 18px;

  background: linear-gradient(180deg, #ffffff, #f3f4f6);
  border: 1px solid var(--border);
  border-left: 6px solid var(--accent);
  border-radius: 14px;

  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);

  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;

  animation: fadeIn 0.25s ease;
}

/* Animação suave */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.notice-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;

  display: grid;
  place-items: center;

  border-radius: 10px;
  background: #fef3c7;
  border: 1px solid #fcd34d;

  color: #92400e;
  font-weight: 800;
  font-size: 18px;
}

.notice-content {
  min-width: 0;
}

.notice-title {
  margin: 0 0 6px 0;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.notice-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}

.notice-text.extra-info {
  margin-top: 10px;
  font-size: 11.5px;
  color: #4b5563;
}

.notice-text.extra-info strong {
  color: #1f2937;
  font-weight: 600;
}

/* Blocos de exemplo */
.example-block {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fff7ed;
  border: 1px solid #fcd34d;
  border-radius: 10px;
}

.example-title {
  margin: 0 0 6px 0;
  font-size: 13px;
  font-weight: 600;
  color: #b45309;
}

.example-code {
  margin: 0;
  padding: 10px;
  background: #fffbeb;
  border-radius: 6px;
  font-size: 11px;
  font-family: "Courier New", monospace;
  color: #92400e;
  white-space: pre-wrap;
  line-height: 1.4;
}

/* Exemplo correto */
.example-block.correct {
  background: #ecfdf5;
  border-color: #6ee7b7;
}

.example-block.correct .example-title {
  color: #047857;
}

.example-block.correct .example-code {
  background: #f0fdf4;
  color: #065f46;
}
/* Bloco poético permitido */
.example-block.poetic {
  background: #eef2ff;
  border-color: #a5b4fc;
}

.example-block.poetic .example-title {
  color: #4338ca;
}

.example-block.poetic .example-code {
  background: #eef2ff;
  color: #3730a3;
}
