/* Layout Geral do Lab */
.lab-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 100px;
  box-sizing: border-box;
}

.preview-box {
  background: #0d0f10;
  border: 1px solid var(--input-stroke);
  border-radius: var(--radius-lg);
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.intro h2 {
  color: var(--brand-light);
  margin-bottom: 8px;
  font-size: 24px;
}

.intro p {
  color: var(--text-body);
  font-size: 15px;
  margin-bottom: 32px;
}

/* Componente Flexbox */
.flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color: var(--input-base);
  border: 1px solid var(--input-stroke);
  border-radius: var(--radius-lg);
  padding: 30px;
  width: 100%;
  max-width: 600px;
  min-height: 200px;
}

.item {
  width: 80px;
  height: 80px;
  background-color: #212427;
  border: 2px solid var(--brand-light);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: var(--text-heading);
}

/* Cards de Documentação */
.code-card {
  background: var(--input-base);
  border: 1px solid var(--input-stroke);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  overflow: hidden;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #292d31;
  border-bottom: 1px solid var(--input-stroke);
  font-size: 12px;
  color: var(--brand-light);
}

.code-header button {
  background: var(--brand-light);
  border: none;
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  color: #131516;
  font-weight: bold;
  cursor: pointer;
}

pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  background: #131516;
}

code {
  font-family: "Consolas", monospace;
  font-size: 14px;
  color: #c8cdd0;
  line-height: 1.6;
}
