.custom-exencion-container {
    max-width: 100%;
    margin: auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

.custom-section {
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 25px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.custom-section h2 {
    color: #4E3B78;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.custom-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background-color: #EFEFFF;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-link span {
    flex-grow: 1;
    margin-left: 10px; /* Espacio entre el icono y el texto */
}

.custom-link:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background-color: #D8D8FF;
}

.custom-icon {
    color: #4E3B78;
    font-size: 22px;
}

.custom-pdf-container {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    background-color: #F4F4F9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-pdf-container.show {
    display: block;
    animation: fadeIn 0.5s;
}

.custom-pdf-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .custom-section {
        padding: 20px;
    }

    .custom-link {
        flex-direction: column;
        align-items: flex-start;
    }

    .custom-icon {
        margin-bottom: 10px;
    }

    .custom-link span {
        margin-left: 0; /* Elimina el margen en móviles */
    }
}


.custom-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}


/* Título Principal */
.custom-title {
    color: #4E3B78;
    font-weight: bold;
    font-size: 24px;
    margin: 0;
}

/* Subtítulos */
.custom-subtitle {
    color: #4E3B78;
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 4px solid #4E3B78;
    padding-left: 10px;
}

/* Listas Personalizadas */
.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    line-height: 1.6;
    padding: 10px 15px;
    border-radius: 8px;
    background: #F9F9F9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.custom-list li:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Botón del ícono de impresión */
.custom-print-icon {
    background: none;
    border: none;
    color: #4E3B78;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.2s, color 0.3s;
}

.custom-print-icon:hover {
    color: #6A50A1;
    transform: scale(1.1);
}

/* Estilos para impresión */
@media print {
    /* Eliminar márgenes y padding de la página */
    body {
        margin: 0;
        padding: 0;
    }

    /* Ocultar elementos innecesarios */
    header, footer {
        display: none !important;
    }

    .custom-print-icon {
        display: none;
    }

    /* Ajustar el contenedor principal */
    .custom-exencion-container {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    /* Optimizar el diseño para impresión */
    .custom-section {
        margin-top: 20px;
        padding: 20px;
    }

    /* Forzar la impresión en una sola página */
    .custom-section {
        page-break-inside: avoid;
    }

    /* Eliminar URL y números de página */
    @page {
        margin: 0;
        size: auto;
    }
}


/* Responsivo */
@media (max-width: 768px) {
    .custom-title {
        font-size: 20px;
    }

    .custom-subtitle {
        font-size: 16px;
    }

    .custom-list li {
        font-size: 14px;
    }
}