/* Estilos generales */
        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            color: #333;
            background-color: #f4f4f9;
        }
        
        .container {
            max-width: 1000px;
            margin: 20px auto;
            padding: 20px;
        }
        
        .content-wrapper {
            background-color: #ffffff;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        
        header {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            margin-bottom: 2.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 2px solid #e0e6ed;
        }

        .header-logo {
            max-width: 100px; /* Reducido para un mejor balance */
            height: auto;
            margin-right: 1.5rem;
        }
        
        h1 {
            margin: 0;
            color: #0056b3;
            font-size: 2.2rem;
        }
        
        .controls {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        #lang-selector {
            padding: 8px 12px;
            margin-left: 8px;
            background-color: #e9ecef;
            border: 1px solid #ced4da;
            border-radius: 5px;
            cursor: pointer;
            font-weight: bold;
            -webkit-appearance: none; /* Remove default arrow */
            -moz-appearance: none;
            appearance: none;
            background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
            background-repeat: no-repeat;
            background-position: right 12px center;
            background-size: 12px;
            padding-right: 35px; /* Make space for arrow */
        }

        #lang-selector:hover {
            background-color: #d1d9e0;
        }

        #lang-selector:focus {
            outline: none;
            border-color: #007bff;
            box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
        }
        
        ol {
            padding-left: 1.8rem;
            list-style-type: none;
            counter-reset: item;
        }
        
        li {
            margin-bottom: 1.5rem;
            counter-increment: item;
            position: relative;
            padding-left: 35px;
        }

        li::before {
            content: counter(item);
            position: absolute;
            left: 0;
            top: 0;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            background-color: #007bff;
            color: white;
            text-align: center;
            font-weight: bold;
            line-height: 25px;
        }
        
        strong {
            font-weight: bold;
            color: #343a40;
        }

        footer {
            text-align: center;
            margin-top: 3rem;
            padding-top: 1.5rem;
            border-top: 1px solid #e0e6ed;
            font-size: 0.9rem;
            color: #6c757d;
        }
        
        .hidden {
            display: none;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }
            .content-wrapper {
                padding: 20px;
            }
            h1 {
                font-size: 1.8rem;
            }
        }
        
        @media (max-width: 576px) {
             header {
                flex-direction: column;
                text-align: center;
            }
            .header-logo {
                margin-right: 0;
                margin-bottom: 1rem;
            }
            .lang-selector {
                flex-direction: column;
            }
            .print-btn {
                margin-right: 0;
                margin-bottom: 10px;
                width: 100%;
            }
            .lang-btn {
                width: 100%;
                margin-left: 0;
                margin-top: 5px;
            }
        }

        @media (max-width: 480px) {
            .content-wrapper {
                padding: 15px;
            }
            h1 {
                font-size: 1.5rem;
            }
            li {
                padding-left: 30px;
            }
        }

        /* Print styles */
        @media print {
            body {
                background-color: #fff;
                color: #000;
                font-family: 'Times New Roman', Times, serif;
                font-size: 11pt; /* Ajuste de fuente base para impresión */
                line-height: 1.3;
            }
            .controls, footer {
                display: none;
            }
            .container {
                max-width: 100%;
                margin: 0;
                padding: 0;
            }
            .content-wrapper {
                box-shadow: none;
                border: none;
                padding: 0;
            }
            header {
                border-bottom: 2px solid #000;
                padding-bottom: 1rem;
                margin-bottom: 1.5rem;
            }
            .header-logo {
                max-width: 75px;
                margin-right: 1rem;
            }
            h1 {
                font-size: 16pt;
                margin: 0;
            }
            ol {
                padding-left: 25px;
            }
            li {
                page-break-inside: avoid;
                margin-bottom: 0.8rem; /* Reducir espacio entre elementos */
                padding-left: 30px;
            }
            li::before {
                width: 22px;
                height: 22px;
                line-height: 22px;
                font-size: 10pt;
            }
            a {
                text-decoration: none;
                color: #000;
            }
        }