/* public/css/documentation.css */
.documentation-content {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
}

.doc-header {
  text-align: center;
  margin-bottom: 30px;
}

.doc-header h1 {
  color: #66d9ff;
  font-size: 2.5rem;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.doc-header p {
  color: #e0e0e0;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

h2 {
  color: #66d9ff;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 15px;
  margin: 15px 0;
  border-radius: 8px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  font-size: 1.8rem;
  text-align: left;
  transition: background 0.3s ease;
}

h2:hover {
  background: rgba(0, 0, 0, 0.8);
}

h3 {
  color: #f8d57e;
  margin: 10px 0 10px 20px;
  font-size: 1.4rem;
  text-align: left;
}

.section {
  display: none;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.section.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

p {
  color: #e0e0e0;
  margin: 10px 0 10px 40px;
  font-size: 1rem;
  line-height: 1.8;
}

ul, ol {
  color: #e0e0e0;
  margin: 10px 0 10px 40px;
  padding-left: 20px;
  font-size: 1rem;
  line-height: 1.8;
}

ul ul, ol ol, ul ol, ol ul {
  margin-left: 20px;
}

/* Nuevos estilos para <dl>, <dt>, <dd> */
dl {
  margin: 0 0 20px 20px;
  padding: 0;
}

dt {
  color: #66d9ff; /* Azul claro para preguntas */
  font-size: 1.25rem;
  font-weight: 600;
  margin: 25px 0 10px 0;
  padding-left: 15px;
  border-left: 3px solid #f8d57e; /* Línea dorada para destacar */
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

dd {
  color: #e0e0e0; /* Gris claro para respuestas */
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 20px 30px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.03); /* Fondo sutil */
  border-radius: 6px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

code {
  background: #2a2a2a;
  color: #00ff00;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95rem;
}

.highlight {
  background: rgba(255, 215, 0, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
}

.error {
  color: #ff4e50;
  font-weight: bold;
}

a {
  color: #66d9ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #f8d57e;
  text-decoration: underline;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}