/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Tipografía y fondo general */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f4f6f9;
  color: #333;
  padding: 30px;
}

/* Encabezado principal */
.app-header {
  flex-direction: column;
  text-align: left;
  margin-bottom: 24px;
}

/* Logo o icono */
.app-header img {
  width: 240px;
  height: auto;
  margin-bottom: 12px;
}

/* Título principal */
.app-header h1 {
  font-size: 24px;
  color: #39a934;
  margin-bottom: 8px;
}

/* Texto introductorio */
.intro-text {
  color: #666;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: bold;
  }


/* Secciones (categorías) */
.categories {
    background: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.category {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow: hidden;
}

.category-header {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: bold;
  text-align: left;
  border: none;
  background-color: #666666;
  color: #ffffff;
  cursor: pointer;
}

.category-header:hover {
  background-color: #39a934;
}

.category-header:focus {
  outline: none;
}

.category-content {
  display: none;
  padding: 16px;
}

.category.active .category-content {
  display: block;
}

.category-content ul {  
  list-style: disc;
  padding-left: 20px;

}

.doc-item {
  margin-bottom: 10px;
}

.doc-item a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  font-weight: bold;
}

.doc-item a:hover {
  text-decoration: underline;
}

/* Buscador */
.search-box {
  margin: 16px 0;
}

.search-box input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.search-box input:focus {
  outline: none;
  border-color: #1a237e;
}

/* Caja de bienvenida */
.welcome-box {
  background-color: #ffffff;
  border-left: 4px solid #39a934;
  padding: 14px 16px;
  margin: 16px 0;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.welcome-box p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

/* Banner de instalación PWA */
.install-banner {
  background-color: #e8ebf7;
  border-left: 4px solid #1a237e;
  padding: 14px 16px;
  margin: 16px 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.install-banner p {
  font-size: 14px;
  color: #1a237e;
  margin: 0;
}

.install-banner button {
  background-color: #1a237e;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.install-banner button:hover {
  background-color: #303f9f;
}

/* Nota de compatibilidad */
.compatibility-note {
  font-size: 12px;
  color: #666;
  margin: 24px 0 16px;
  padding-top: 12px;
  border-top: 1px solid #ddd;
}

.compatibility-note strong {
  color: #333;
}
